Jump to content
Excelsior Forums
Sign in to follow this  

How can I use -server in my java application command line

Recommended Posts

we use Excelsior JET6.5  to create a new project for Plain java

SE application ,but how can I set the Java VM parameters as -server. I

have try to set it in the Command line(java -server -Xmx800m Worker.jar com.server.Launcher),

but it the JET Prompt that "unrecognized option <-server> ignored" !!!

:huh: ??? :huh:

Share this post

Link to post
Share on other sites

"-server" VM option is specific to Sun(Oracle) HotSpot JVM. It enables aggressive on-the-fly optimizations there.

Excelsior JET aggressively optimizes an application ahead-of-time (AOT) by default. So there is no such option for Excelsior JET JVM.

On the other hand, there is so called "Server" runtime in Excelsior JET. It scales well on multi-CPUs servers (so it has very different semantic from "-server" HotSpot vm option). Server runtime is available in Enterprise edition and is enabled by default there. You may check it on the Page Target of Excelsior JET Control Panel.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this