Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Howto suppress JVM errors at startup in VM Options?

843798Feb 9 2009 — edited Feb 10 2009
Hi everybody.

I use the following VM Options
-Xmx1024M
-Xms128M
for my application.

Anyway it may happen on some machines that the jvm could not be started due at these options. ("The JVM could not be started. The main method may have thrown an exception.").
If for example I set " -Xmx 600M " there is no problem at all.
Is there a way to start the application and suppress and ignore the JVM errors when these happen ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2009
Added on Feb 9 2009
15 comments
508 views