On Tuesday 09 October 2001 11:23 am, David Garnier wrote:
In the Pro edition, the java directory in usr/lib/include is actually a symbolic link to the jdk, so you should remove this link using : $ rm java and recreate it using: $ ln -s jdk1.3.1.xx java
Finally, make sure that everything is correct by running: $ java -version
I should add that Yast2 has the nasty habit of recreating (therefore nullifying your work) the link to java because the java package is compulsory and it can't understand that you have installed your own version. If somebody knows how to teach Yast2 out of this habit, please share!
Best regards, David Garnier
I can help! :-) In the file /etc/rc.config, look for the following lines: # # SuSEconfig can automatically create the links /usr/lib/java and /usr/lib/jre # that point to a suitable JDK or JRE respectively if you set CREATE_JAVALINK # to "yes" # If you are not satisfied with the choice it makes, set CREATE_JAVALINK to # "no" and set the link manually. # CREATE_JAVALINK="yes" Change that "yes" to "no" and you should fix the problem. Scott -- -----------------------+------------------------------------------------------ Scott Courtney | "I don't mind Microsoft making money. I mind them courtney@4th.com | having a bad operating system." -- Linus Torvalds http://www.4th.com/ | ("The Rebel Code," NY Times, 21 February 1999)