Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing JDK in Linux

807600Oct 20 2007 — edited Oct 20 2007
Hi I have managed to install the self extracting binary on Ubuntu 7.10, but when I run "java -version" I get the following message.
gregory@dirge:/usr/java/jdk1.6.0_03$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Does someone know how I can get the SUN JDK working? I have been searching for an answer and one of you guys/gals be of assistance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2007
Added on Oct 20 2007
3 comments
426 views