Results 1 to 5 of 5
Hi everyone,
Last nite I downloaded eclipse SDK for C/C++ and after I've installed it on my Suse , it says " Version 1.4.2_11 of the JVM is not suitable ...
- 07-30-2008 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 14
JVM update on Suse
Hi everyone,
Last nite I downloaded eclipse SDK for C/C++ and after I've installed it on my Suse , it says " Version 1.4.2_11 of the JVM is not suitable for this product. Version: 1.5 or greater is required.". So, I started hitting on the net and downloaded it from sun java website. Here is complete link addresses . Download Java software for Linux from Sun Microsystems ( I download linux self-extracting file ) and Java SE Downloads ( I download get java JDK ). I've installed both and everything went smoothly without appearing any error messages. However, when i type java -version on my Suse, it's still my old version but not my latest one. Can someone point me out what I've missed ?? Thanks in advance.
- 07-30-2008 #2
What ver of suse are you using you can get the latest jvm through yast it will solve all your problem's for you
- 07-30-2008 #3Just Joined!
- Join Date
- Jan 2008
- Posts
- 14
how scrarfussi ?? I didn't know that I can get the latest jvm via yast. I'm using Suse Linux Enterprise Desktop 10. Please help me out of this. Thanks again.
- 07-30-2008 #4
Unfortunately they have stopped support for sled10 So i doubt you gonna get it from there with the newer distro's you can update via yast using the suse repo's
- 07-30-2008 #5
the java rpm package from sun works but it doesn't install java into the same place that Suse does. You get the incorrect java version because it's referring to the java that is installed in your system already which is in your PATH.
Find where the current java command is running from by typingCode:echo $PATH
in a terminal windowCode:which java
on my openSuse 10.3 system it's in /usr/bin/java
this is actually a soft link (to another soft link) to the currently running version.
If you can find where the sun rpm package installed it you can change the soft link in /usr/bin so that it refers to the correct java
you may also need to change the soft link for JAVA_HOME
it can be a long involved process to do this because there are many such links referring to java in my system at least.Code:echo $JAVA_HOME
You might find it easier just to upgrade to openSuse 10.3 or 11 and install the latest Java SDK from repositories.


Reply With Quote