Wednesday, March 30, 2005

Configure Java SDK under Linux

Unpack the rpm.bin
Install the rpm

Change alternatives:

update-alternatives --install /usr/bin/java java /usr/java/j2sdk1.4.2_07/bin/java 100
update-alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
*+ 1 /usr/share/java/
2 /usr/java/j2sdk1.4.2_07/bin/java

Enter to keep the current selection[+], or type selection number: 2

Do the same with javac

No comments: