An error is reported when starting a Java Standalone program

Solution
Delete the -XX:MaxPermSize=256m parameter from the startup script.

Explanation
According to the official documentation, the Java command line parameters PermSize and MaxPermSize have been removed and ignored. If used in the command line, a corresponding warning will be displayed.
The command line flags PermSize and MaxPermSize have been removed and are ignored. If used on the command line a warning will be emitted for each.

Java HotSpot™ Server VM warning: ignoring option PermSize=32m; support
was removed in 8.0
Java HotSpot™ Server VM warning: ignoring option MaxPermSize=128m; support
was removed in 8.0

Guess you like

Origin blog.csdn.net/weixin_43214644/article/details/114926879