I am exploring running Java on FreeBSD x86 (32-bit). I am finding that there is some info, but the FreeBSD Java project (http://www.freebsd.org/java/) is quite thin and out of date.
I have built most of the Java options and given them a try. I have the Sun 1.6 JDK built from source, OpenJDK 6 and 7 and the Linux 1.6_30 JDK running. They all seem to work at some level, although the Linux one has been fussy to set up with all the required compatibility bits.
My little project for now is to run the SPEC JVM2008 benchmark with each of the JDKs I can build, just to see if they all run okay and see which one appears to be faster. My results are about like this:
As things sit, openjdk7 looks like my best bet in terms of simplicity to configure and manage, and performance.
I'm not sure if others have done any specific performance tuning with JVMs on FreeBSD. Does anyone have more detailed ideas about the best JVM to choose relative to any types of applications?
My initial requirement is for a server app -- I would like to run an app server, maybe a servlet engine, but ideally JBoss -- and a database application. I won't be running Java browser plug-ins or swing apps or any of that.
Has anyone had a go at setting up the IBM or WebLogic (JRocket) Linux JVMs on FreeBSD? I may have a crack at that -- I would love to be able to get WebSphere 7 running on 8.2R.
I have built most of the Java options and given them a try. I have the Sun 1.6 JDK built from source, OpenJDK 6 and 7 and the Linux 1.6_30 JDK running. They all seem to work at some level, although the Linux one has been fussy to set up with all the required compatibility bits.
My little project for now is to run the SPEC JVM2008 benchmark with each of the JDKs I can build, just to see if they all run okay and see which one appears to be faster. My results are about like this:
Code:
JVM Score
------------------
jdk1.6.0 18.5
openjdk6 16.3
openjdk7 23.3
Linux jdk1.6 22.1
As things sit, openjdk7 looks like my best bet in terms of simplicity to configure and manage, and performance.
I'm not sure if others have done any specific performance tuning with JVMs on FreeBSD. Does anyone have more detailed ideas about the best JVM to choose relative to any types of applications?
My initial requirement is for a server app -- I would like to run an app server, maybe a servlet engine, but ideally JBoss -- and a database application. I won't be running Java browser plug-ins or swing apps or any of that.
Has anyone had a go at setting up the IBM or WebLogic (JRocket) Linux JVMs on FreeBSD? I may have a crack at that -- I would love to be able to get WebSphere 7 running on 8.2R.