LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-25-2004, 01:57 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
Red face Java installation probz


I been trying to install Java in FBSD 5.1-RELEASE.

So I d.loaded diablo-jdk-1.3 and while installing (pkg_add) it was asking
for Java VmWrapper 1.4. So I went to /usr/ports/java/javavmwrapper and did
a "make install clean".

Now, while installing diablo is asking for libiconv-1.9. Well, libiconv 1.8 is already installed but it need 1.9. Any1 knows where to find 1.9 tgz?

Also, how many more dependencies will it ask for? Any way to get rid of this
dependency hell?

--Noir
 
Old 04-25-2004, 05:03 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
compile from ports...
 
Old 04-25-2004, 06:41 AM   #3
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The ports system is FreeBSD's way of resolving all the 'dependency hell' issues for you. With big programs compiling from source may take time, but it ensures that you get a system where every component works seamlessly with the other components. And compiling in the background doesn't stop you from using your computer to other tasks. In short: use ports.

Due to legal issues, compiling java from ports requires you to download manually two or three files from www.sun.com and place them to /usr/ports/distfiles/. When you build j2sdk from ports, the console messages will tell you which files you need to download. I know it's tough but you can thank Sun for your troubles.
 
Old 04-26-2004, 10:26 AM   #4
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
Well, according to http://www.freebsd.org/doc/en_US.ISO...s/java-tomcat/

I have placed all the three files in /usr/ports/distfiles.

Now, going to /usr/ports/java there is nothing called linux-jdk1.3.1. It's either linux-blackdown-jdk or linux-sun-jdk or linux-ibm jdk. I assumed linux-sun (but have also tried the others) it asks me to d.load the bin file from the server.

But then again when i go to /usr/ports/java/jdk13 and do the "make all install clean" it says that the files exist in the place but due to licensing problem i still need to d.load them.

What's going on in here now? Any help would be greatly appreciated.

It's a Free 5.1-Release.

--Noir.
 
Old 04-26-2004, 12:06 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
read the messages and open your browser
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java installation Prageem Linux - Software 4 09-20-2005 10:48 AM
Installation of Java WiWa Linux - Software 2 12-04-2003 04:37 PM
Java installation shyamlahari Linux - General 6 10-09-2003 04:18 PM
Help in Java installation JIV Programming 6 04-27-2003 11:25 PM
java sdk 1.4 installation steelrose Linux - Newbie 3 03-12-2002 02:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration