Do I have to make changes to the Java command line flags?

Short answer: No

Just change JAVA_HOME to /opt/zing/zing-jdk8 or PATH to /opt/zing/zing-jdk8/bin or your application specific setting to point to the Zing java executable at /opt/zing/zing-jdk8/bin/java.

In general Zing implements the entire Java Standard Edition standard. That means all fundamental command line parameters are supported per the relevant Java major level specification.

If an -XX command line parameter has no meaning in Zing (like for instance GC settings for G1 or CMS, which don't exist in Zing) then those variables are silently ignored. Many -XX parameters are implemented by Zing, for example -XX:+UseGCLogFileRotation.

With Zing it isn't expected that you need to tune or optimize any GC settings. The only parameter you might consider to change when switching to Zing is -Xmx as with Zing you are not limited to small heap sizes any more.

For a comprehensive review of Zing command line flags, review the topic Command-Line Options for the Zing Virtual Machine in the online Zing Documentation.


Add Comment


1 comment
  • Zing ignores the flags which belong to Hotspot. So you can leave it there if you wish. But it is recommended to cleanup the java arguments, if it isn't needed.


Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful