Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java ignores unsupported VM options #612

Open
scjtqs2 opened this issue Jan 3, 2025 · 0 comments
Open

Java ignores unsupported VM options #612

scjtqs2 opened this issue Jan 3, 2025 · 0 comments

Comments

@scjtqs2
Copy link

scjtqs2 commented Jan 3, 2025

I use a supermicro x11sri-if motherboard, and I can't open the jnlp of ipmi. I traced the log and found the problem: "Unrecognized VM option 'PermSize=32M'".

This option worked on openjdk@11,but not openjdk@21.

Need to add like '-XX:+IgnoreUnrecognizedVMOptions'
to ignore parameter errors?

java -Xbootclasspath/a:/Applications/OpenWebStart/openwebstart.jar -Xms128M -Xmx128M -XX:PermSize=32M -XX:MaxPermSize=32M -Djnlp.packEnabled=true --add-reads=java.base=ALL-UNNAMED,java.desktop --add-reads=java.desktop=ALL-UNNAMED,java.naming --add-reads=java.naming=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop net.sourceforge.jnlp.runtime.Boot -Xnofork /Users/scjtqs/Downloads/launch.jnlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant