JDK 1.4 on FreeBSD 5.4

JDK 1.4 on FreeBSD 5.4

Post by arvindnaha » Wed, 07 Sep 2005 14:58:51


Hi,

Can someone please point me to the steps to
downloading, installing and using JDK 1.4 on FreeBSD
5.4?

I have been trying to do the same in vain and am
reaching some deadline for it.

Any help, document, will be appreciated.

I read on the site that because of licensing issues, a
binary cannot be shipped and one has to compile/build
one's own JDK. But steps to achieve the same aren't
visibly available.

Please help!

Thanks!




______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://www.yqcomputer.com/
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

JDK 1.4 on FreeBSD 5.4

Post by achil » Wed, 07 Sep 2005 15:47:06

O Arvind Nahata Sep 5, 2005 :


cd /usr/ports/jdk14
make install

Do exactly as the instructions from the above command say to you.
Also useful tip:
make sure you have a kernel compiled with linprocfs, linux
support.
if not kldload the above 2 modules.
Also:
do a mount -t linprocfs on /usr/compat/linux/proc


--
-Achilleus

_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "

 
 
 

JDK 1.4 on FreeBSD 5.4

Post by jonc » Wed, 07 Sep 2005 15:48:50


it's in the ports. This means that you should make sure your ports tree
is up-to-date with cvsup, and then:

# cd /usr/ports/java/jdk14
# make
<Follow instructions>

You may have to do the previous command a couple of times, but once the
build completes, you can then do a:

# make install clean

At which point, I suggest you then remove the linux-jdk, linuxalator ports
which may have been installed as well.

Cheers.
--
Jonathan Chen < XXXX@XXXXX.COM >
----------------------------------------------------------------------
If you're right 90% of the time, why quibble about the remaining 3%?
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

JDK 1.4 on FreeBSD 5.4

Post by arvindnaha » Wed, 07 Sep 2005 15:52:49

Thanks for your quick response Jonathan!

Unfortunately, the FreeBSD installation that I have
doesn't have a /usr/ports directory itself.

Any clues on -
1. Why dosen't my installation have a ports directory?
2. How can I get one and the ports/java/jdk14
directories, content?

Thanks in advance!




----------------------------------------------------------------------





______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://www.yqcomputer.com/
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

JDK 1.4 on FreeBSD 5.4

Post by leafy738 » Wed, 07 Sep 2005 16:10:28


It really depends on how you installed your FreeBSD. Usually the
installation includes the ports collections. You can read about the
ports here:
http://www.yqcomputer.com/

Cheers,

Jiawei
--=20
"Without the userland, the kernel is useless."
--inspired by The Tao of Programming
_______________________________________________
XXXX@XXXXX.COM mailing list
http://www.yqcomputer.com/
To unsubscribe, send any mail to " XXXX@XXXXX.COM "
 
 
 

JDK 1.4 on FreeBSD 5.4

Post by gurdig » Wed, 07 Sep 2005 16:37:02

To install ports and keep them up-to-date, you'll need portnap or
cvsup, I use portsnap.

Download the port from here:
http://www.yqcomputer.com/
, then do:
#tar fxz portsnap.tar.gz
#cd portsnap
#make install clean
#rehash
#portsnap fetch
#portsnap extract

at this point you will have updated ports installed.
Eventually you can check for updates (once per day, for ex.) like this:

#portsnap fetch
#portsnap update

Good luck!

Vladd