Thread: FBSD & Java
View Single Post
  #1   (View Single Post)  
Old 4th July 2008
DarkEnergy DarkEnergy is offline
New User
Join Date: May 2008
Posts: 7
Question FBSD & Java

Diablo-JDK is realy not working, thatswhy I want to use the suns's JDK.

which java

lrwxr-xr-x 1 root wheel 21 May 16 03:24 /usr/local/bin/java -> /usr/local/bin/javavm

/usr/local/jdk1.6.0/bin]$ ls -l java
-rwxr-xr-x 1 root wheel 85256 Jun 8 23:04 java

/usr/local/jdk1.6.0/bin]$ ./java -version
java version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_jun_2008_22_29-b00)
Java HotSpot(TM) Client VM (build 1.6.0_03-p4-root_08_jun_2008_22_29-b00, mixed mode)

I want the default to be the JDK-16

PATH=/usr/local/jdk1.6.0/bin /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
What cab I do?
Reply With Quote