i’ve downloaded java jdk-6u17-linux-i586.bin
i installed it manually with konsole…
all process run fine…
at the end of instalation i tried to check the java version with this command
#java -version
and i get this error message :
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
can somebody pls help me…
i wanted to install netbeans…but i can’t because the jvm doesn’t start…
Looks like you messed up something seriously.
The bin file from Sun’s site installs in a directory and it doesn’t set up anything else for you. So, if you want to use it, you need to adjust your PATH settings and JAVA_HOME/JDK_HOME.
Instead, you may install JDK using the Yast/zypper as follows:
su
zypper install java-1_6_0-sun-devel
update-alternative --config javac
syampillai wrote:
> if you want to use it, you need to adjust
> your PATH settings and JAVA_HOME/JDK_HOME.
>
> Instead, you may install JDK using the Yast/zypper
my 2 cents: do NOT adjust paths or anything else with that java.bin
install…
if you can figure out how to DELETE all that from your universe, you
should…
if you can’t just leave it for now…and instal correctly
(by using YaST or Zypper the correct Sun Java for your distribution
from the normal openSUSE repo) and most likely all will be well (two
or more Javas may exist happily in Linux–you can delete the unwanted
one when you learn how)…