Akka startup script has issues with JRockit
From user:
AKKA startup script utilizes JVM arguments that aren't applicable to
all JVM vendors.
There are two JVM arguments present in "akka.bat" as distributed with
the "akka-microkernal-1.1.3" distributable that are incompatible or
irrelevant in regards to the jrockit JVM. The first is
-XX:MaxPermSize=256M which, as I'm sure you're well aware of, limits
the size of the permanent generation space in Suns JVM implementation
(and other JVM's, I'm sure). This JVM option generates the following
warning from jrockit.
[WARN ][jrockit] MaxPermSize=256M ignored: Not a valid option for JRockit
Note: This is in reference to the following jrockit version...
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Oracle JRockit(R) (build
R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32, compiled mode)
Now, this error isn't so severe, but the following issue prevents
starting the AKKA microkernel at all.
Unknown option or illegal argument: -XX:+UseParallelGC.
Please check for incorrect spelling or review documentation of startup options.
Apparently, jrockit doesn't support this experimental JVM flag for
parallelizing the garbage collector. This prevents the JVM (and thus
the microkernel) from starting at all. It's a simple enough fix of
course... just remove the offending JVM arguments from akka.bat and
the microkernel starts just fine. My only problem is that I'm not sure
what impact on performance or w/e there might be from removing these
JVM arguments.
AKKA startup script utilizes JVM arguments that aren't applicable to
all JVM vendors.
There are two JVM arguments present in "akka.bat" as distributed with
the "akka-microkernal-1.1.3" distributable that are incompatible or
irrelevant in regards to the jrockit JVM. The first is
-XX:MaxPermSize=256M which, as I'm sure you're well aware of, limits
the size of the permanent generation space in Suns JVM implementation
(and other JVM's, I'm sure). This JVM option generates the following
warning from jrockit.
[WARN ][jrockit] MaxPermSize=256M ignored: Not a valid option for JRockit
Note: This is in reference to the following jrockit version...
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Oracle JRockit(R) (build
R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32, compiled mode)
Now, this error isn't so severe, but the following issue prevents
starting the AKKA microkernel at all.
Unknown option or illegal argument: -XX:+UseParallelGC.
Please check for incorrect spelling or review documentation of startup options.
Apparently, jrockit doesn't support this experimental JVM flag for
parallelizing the garbage collector. This prevents the JVM (and thus
the microkernel) from starting at all. It's a simple enough fix of
course... just remove the offending JVM arguments from akka.bat and
the microkernel starts just fine. My only problem is that I'm not sure
what impact on performance or w/e there might be from removing these
JVM arguments.
Leave a comment
The solution is to customize the startup script for your jvm