Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 821099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:35:12+00:00 2026-05-15T02:35:12+00:00

I tried to switch from Java 5 to Java 6 using the update-java-alternatives command

  • 0

I tried to switch from Java 5 to Java 6 using the “update-java-alternatives” command like explained on this page: https://help.ubuntu.com/community/Java

But afterwards I get the following error when I tried to execute java:

root@webserver:~# java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I also tried to reinstall the java binaries using “apt-get” but I didn’t succeed reinstalling it. I would like to post the “apt-get” errors, but unfortunately I don’t know how to print out the error messages in English and not in German.

My system is a Ubuntu 8.04 ROOT server.

Here is the (Google translated) english text tring to install Java 6 again:

root@server:~# apt-get install sun-java6-jdk
Reading package lists ... Ready
Dependency tree
Reading state information ... Ready
sun-java6-jdk is already the newest version.
sun-java6-jdk set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Set up a sun-java6-bin (6-03-0ubuntu2) ...
Could not create the Java virtual machine.
dpkg: error processing sun-java6-bin (- configure):
 Subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sun-java6-bin
E: Sub-process / usr / bin / dpkg returned an error code (1)

I hope that this might help you helping me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:35:13+00:00Added an answer on May 15, 2026 at 2:35 am

    for my own curiosity, what happens when you type df at the command prompt? and when you type top, how much memory do you have?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to download a PNG image from a Flash application using a Java
Background Trying to switch from using Interceptor to Events. I have a ValidationInterceptor that
Since our switch from Visual Studio 6 to Visual Studio 2008, we've been using
I've been trying to switch from using PerlSetEnv to using custom configuration directives .
I need to switch from the installed java 7 at 64bit to the installed
I have a master view and two subviews. I would like to switch from
I'm am having some trouble with conditional formatting in SSRS. I have tried Switch
tried uncommenting pam_limits.so from the pam.d directory but no luck. Basic PAM seems to
Tried to create a mobile navigation using dataview or outline and the view renders
Tried to search for this online and didn't get very far, so I'm asking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.