FreeBSD/Java Native Port Hits Beta
drdink writes "The long awaited FreeBSD/Java port has hit beta. The port was committed yesterday afternoon by Alexey Zelkin. 'This is complete and close to production quality native JDK with both working client and server native JVMs. Local micro benchmarks shown very little difference between Linux and FreeBSD JVMs in speed.' And more importantly, 'we are very close to passing of Sun TCK tests. Currently about 20 of >27000 tests are known to be broken (tests were run at -STABLE).'"
Now maybe Sun can port this to their Solaris platform..
SunOS was originally taken from BSD if I'm correct. Adding Java to FreeBSD, and porting over maybe jboss would be a boost to the FreeBSD platform. BSD stability, java portability, opensource security, makes for a unique combination, and I'm sure some smart IT directors or consultants would recommend it for critical operations. But first, Java on BSD should be stabilized and left out in the sun to mature.
"Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
I'm a little bit unsure of the licensing that surrounds Java ports, but could NetBSD (and Open perhaps) base a native port on this work? Do Sun hold the reins when it comes to Java ports by only releasing the TCK under restrictive terms?
Currently I develop Java stuff on NetBSD using the official Sun JDK and the Linux emulation layer. If I could get a native version of the JDK then it would be quite nice to lose the need for the emulation stuff from my kernel, along with the Linux bits from SuSE.
Chris
If I wanted to get started on BSD where is a good place to begin?
If you want to try NetBSD, then download the ISO image from:
ftp://ftp.xx.netbsd.org/pub/NetBSD/iso/1.6/i386c d.iso
If there's a NetBSD mirror site for your country, then replace the "xx" in the FTP server address with your country code. Failing that, the canonical ftp.netbsd.org server is pretty nippy.
Then burn the ISO to a CD-ROM, straightforward enough, although if you need extra instructions they can be found here:
http://www.netbsd.org/Documentation/bootcd.html# cdrecord
Finally, grab the extremely good NetBSD Guide from:
http://www.netbsd.org/Documentation/
Installation should take little more than 20 minutes on modern hardware. Configure the system (little more than editing /etc/rc.conf) and reboot. Then read up on pkgsrc, which is described in the NetBSD guide. This will allow you to install loads of extra software.
FreeBSD and OpenBSD are equally worth a look, but I find Net just that little bit easier to install and configure.
Chris
This is a native port of JDK 1.4.1, which has indeed been eagerly awaited. High-quality native ports of the JDK 1.3 series have been around for quite some time.
SO we stil need to bootstrap off of linux's jdk binary? When will we have a version that's independent of the linux binaries?
-
ping -f 255.255.255.255 # if only
Hey, I once had the same idea (and I'm still on BSD until now), so here is a big clue: FreeBSD. This is a robust and fast OS, very well organized. It has a straightforward method for updating (you can *easily* compile the entire system by yourself) , also featuring an extremely easy-to-use and powerful ports system (the way you can install apps... it's much simpler than anything like apt-get or so). Also, on their site you can find a complete, up-to-date and freely available BOOK about using, administrating and getting the best of your system. Try it, I'm sure you would like!!!
Get the ISO (assuming you have an i386):
Only first CD is enough
On the Handbook, you find the installation instructions on the second chapter:
Here is the link
Okay, I think it's a good start... Note that if your box is not an i386 you still have options... just search their ftp site
Another thing, on their site, you can find two versions of the system: 4.7 and 5.0. The 4.7 is still the production release, so the link above is for 4.7. But if you want, you could also install 5.0, but be sure to read this before.
Good Luck!
And FYI, 4.8 is at the RC stage and should be released within the month
NetBSD Handbook
OpenBSD FAQ
> I thought FreeBSD already had a native java in ports. It used the Sun Linux java vm to compile the classes on FreeBSD. See /usr/ports/java/jdk13
JDK 1.3 and 1.4 are very different things. Most notable differences from internals point of view that in 1.4 only native threading model is supported. And since green_threads support was dropped -- it become much more difficult to port JDK 1.4 anythere.
Start there, its the largest and best supported ( meaning for getting help, and hardware support ) BSD out there of the 3 main OSS BSD's..
You can grab an ISO ( only need disk 1 ) or just install off floppy direct across the wire.
Plenty of manuals, how-tos, etc.. Plus you dont have to worry about what 'flavor' you are using like with linux.. If it FBSD, its FBSD...
The others are fine too, thats just my preference.
---- Booth was a patriot ----