Linked by Thom Holwerda on Wed 5th Apr 2006 23:26 UTC
FreeBSD "The FreeBSD Foundation is pleased to announce the availability of the official Java Runtime Environment and Java Development Kit for FreeBSD. The Foundation negotiated a license with Sun Microsystems to distribute these FreeBSD binaries. The binaries are based on JDK 1.5 and work with the official FreeBSD 5.4 and FreeBSD 6.0 releases on the i386 platform."
Thread beginning with comment 112439
To read all comments associated with this story, please click here.
RE[3]: Still x86 Only...
by molnarcs on Thu 6th Apr 2006 22:18 UTC
molnarcs
Member since:
2005-09-10

Wrong. It is possible to build a native Java on FreeBSD (all platforms) - it is just too involved: Go to sun site, download source, put it in /usr/ports/distfiles then go to eyesbeyond, download FreeBSD patchset (by now you had to click through 2 EULAs) and put it in distfiles again, then build it from source. Oh, and you need a linux binary java installed for "bootstrapping" the java build, forgot that.

This takes half an hour - I don't count the build process itself (which can be several hours depending on the speed of your machine) because you can just leave it, and you can do other things while it builds.

Reply Score: 1

RE[4]: Still x86 Only...
by Dr_J on Thu 6th Apr 2006 22:43 in reply to "RE[3]: Still x86 Only..."
Dr_J Member since:
2005-07-06

> Wrong. It is possible to build a native Java on FreeBSD (all platforms)

No, YOU are wrong. There is no Linux compat layer for SPARC, so you can't do the Linux binary bootstrap on SPARC chips (even if there is the appropriate binary -- I've not checked). There is a version for the Alpha, but not SPARC.

I've done the x86 install many times, so I know the drill. It just does not work on SPARC. You can check the SPARC mailing list -- this is well known. You can also try the SPARC java port, which will inform you that it cannot work on this platform.

Reply Parent Score: 1