Which java binary to use?

Stephen Allen sdafreebsduk at rowyerboat.com
Sun Oct 7 16:54:42 PDT 2007


I installed the Diablo java packages
(http://www.freebsdfoundation.org/downloads/java.shtml), but "which
java" shows "/usr/local/bin/java" which is a link to javavm in the same
directory.

I wondered about changing the link to point to one of these:

      /usr/local/diablo-jre1.5.0/bin/java
      /usr/local/diablo-jdk1.5.0/bin/java
      /usr/local/diablo-jdk1.5.0/jre/bin/java

Should I change the link, and which one of these should it point to...
the JRE?

Many thanks,
Steve



More information about the freebsd-questions mailing list