DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th July 2008
DarkEnergy DarkEnergy is offline
New User
 
Join Date: May 2008
Posts: 7
Thanked 0 Times in 0 Posts
Question FBSD & Java

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

which java
/usr/local/bin/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
  #2   (View Single Post)  
Old 4th July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Your path is broken: you need a ':' between options, not a space.

One simple way, of course, is to remove diablo-jdk with pkg-delete. If you have got jdk16 built, then diablo has done it's job.

There is a setting mentioned in a recent, similar thread that discusses this.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 4th July 2008
DarkEnergy DarkEnergy is offline
New User
 
Join Date: May 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default

10x,
I fixed the PATH and now its working like expected.
Reply With Quote
Reply

Tags
diablo, java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash in FBSD 7.2 Mantazz FreeBSD Ports and Packages 8 5th October 2009 05:37 AM
fbsd 7.2 and php5 baraboom FreeBSD Ports and Packages 2 9th July 2009 08:33 PM
dvb-t on FBSD? michaelrmgreen FreeBSD General 3 15th May 2009 10:43 AM
Java JDK & JRE binary packages available for FBSD 6.3 & 7.0 J65nko FreeBSD Ports and Packages 3 20th August 2008 08:09 PM
Eta Fbsd 7.1? michaelrmgreen FreeBSD General 7 7th June 2008 05:56 AM


All times are GMT. The time now is 10:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick