Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 02-20-2005, 10:13 PM   #1
Registered: May 2004
Distribution: SuSe 10.0
Posts: 154

Rep: Reputation: 30
Having problems with updating java

When I installed my suse 9.2 I installed the java sdk that came with 9.2. I then tried to upgrade to jdk 1.5.0_01. I added it to the path and did everything I normally do when I install a jdk. However when I checked the java version I get:

java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

It should say 1.5.0_01.

As I am writing this now I found the /etc/alternatives directory. In this directory I found all the java related executable files. Now my question is should I remove the soft link from the 1.4.2 version of the Java compiler and create a new sys link to the 1.5 version?

Old 02-21-2005, 04:11 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Maybe you can play with the setJava script. Type 'setJava --help' for more information.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
Java Applet Updating logicdisaster Programming 1 09-01-2004 10:32 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM
Updating Java on RedHat Linux 8.0 sdsouza Linux - Software 0 11-21-2003 12:50 PM
Updating java on linux 8.0 sdsouza Linux - Software 3 11-19-2003 04:39 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration