SO8 does not see installed JRE's

I have blackdown-jdk-1.4.2.0,1blackdown-jdk-1.4.2.02, blackdown-jre-1.4.2.01, and blackdown-jre-1.4.2.02 all installed in /opt, but SO8 doesn't see any of them. I've pointed the dialogue box to nearly every sub-folder, as well as /opt, but it still doesn't see them. I also tried to use the JRE included with SO8, but it wouldn't see that, either.

Anyone know how to force SO8 to use a JRE that it can't see?

[461 byte] By [bertaboy] at [2007-11-25 22:36:29]
# 1
Make sure that you put a link to the executable "java" in the /bin of the java installation in your $PATH..like in /usr/bin or /usr/local/bin...then SO8 should find it...I think it looks in the user's $PATH for an executable...
Bobmeister at 2007-7-5 14:02:51 > top of Java-index,StarOffice,StarSuite...
# 2

<a href="mailto:rob&#64;8400" target="_blank">rob@8400</a> /opt/blackdown-jre-1.4.2.02 $ ls --co bin/

ControlPanel java_vm kinit ktab policytool rmiregistry tnameserv

java keytool klist orbd rmidservertool

and

<a href="mailto:rob&#64;8400" target="_blank">rob@8400</a> /opt/blackdown-jre-1.4.2.02 $ whereis java

java: /opt/blackdown-jdk-1.4.2.02/bin/java /opt/sun-jre-bin-1.4.2.09/bin/java /opt/blackdown-jre-1.4.2.02/bin/java

What's wrong with this picture, if anything?

bertaboy at 2007-7-5 14:02:51 > top of Java-index,StarOffice,StarSuite...
# 3

Nothing, but the executable is still not in your path.

You will need to do this as root:

#ln -s /opt/blackdown-jre-1.4.2.02/bin/java /usr/bin

And you will have a link to "java" in your path. NOW

StarOffice, the system, and other applications will find it.

Bobmeister at 2007-7-5 14:02:51 > top of Java-index,StarOffice,StarSuite...