Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    What ver of suse are you using you can get the latest jvm through yast it will solve all your problem's for you

  3. #3
    Just 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.

  4. #4
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    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

  5. #5
    Just Joined! ironduke's Avatar
    Join Date
    Sep 2006
    Location
    Brisbane Queensland Australia
    Posts
    89
    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.
    Code:
    echo $PATH
    Find where the current java command is running from by typing
    Code:
    which java
    in a terminal window
    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
    Code:
    echo $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.
    You might find it easier just to upgrade to openSuse 10.3 or 11 and install the latest Java SDK from repositories.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...