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?
Don't give me that ask Google BS. I already know that they have a linux specifc search, it doesn't really answer my question though.
"Get them before they get....
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
And I installed it over 6 months ago. Am I missing something here? Or was that stuff alpha to begin with (although I never experienced problems with it, it didn't _feel_ beta anyway)
I'd been running a Freenet server in its own jail, and finally had to abandon it because the various flavors of JDK 1.4 were too unstable, and the native JDK 1.3 was dog slow. If the native 1.4 really works at a reasonable level, I can finally start hosting that service again. Thanks, guys!
Dewey, what part of this looks like authorities should be involved?
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 ----
We've been trying to use this for quite some time (the 1.3 at least on FreeBSD), and have had issues with the threading model implemented. Not sure why whoever decided to port used green threads. Also, the SecureRandom is broken due to the number of threads it instantiates to determine a "random" number. It seems that through our use, extensive use of threads causes the entire system to crash, which meant we had to rework alot of code to specifically work on BSD by limiting the number of java threads we invoked.
Any further thoughts/ideas on this?
Linux's JVMs (and many Unix JVMs) don't properly implement native priority scheduling for Java Thread objects. Can anyone please comment if in the know on the threading library used and if it does indeed support priority scheduling?