Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have installed sun-java6-jdk on my machine running KUbuntu 8.10 . However , java -version shows the following: Code: java version "1.5.0" gij (GNU libgcj) version 4.3.2 Any way ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    4

    Incorrect java version shown

    Hi,

    I have installed sun-java6-jdk on my machine running KUbuntu 8.10 . However , java -version shows the following:
    Code:
    java version "1.5.0"
    gij (GNU libgcj) version 4.3.2
    Any way to fix this ?

    Thank You.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by jimgee View Post
    Hi,

    I have installed sun-java6-jdk on my machine running KUbuntu 8.10 . However , java -version shows the following:
    Code:
    java version "1.5.0"
    gij (GNU libgcj) version 4.3.2
    Any way to fix this ?

    Thank You.
    One of the nice (irritating) things about Java is that you can have multiple versions on your system, so applications that need older vs. newer versions will not (in theory) fail to run. If you look at /usr/bin/java you will see that it is a soft-link to the Java 1.5 executables in a sub-directory of /usr/java. You will also see 1.6 installed there as well. I leave the solution in your capable hands... though if you get stumped on how to fix this, post another message to this thread.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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