Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to check MaxPermSize : Unrecognized VM option

Tags:

java

tomcat7

How do I check maxpermsize from command line? Getting error unrecorgnized VM options. Version is below

D:\apps\Tomcat\bin>java -XX:+PrintFlagsFinal
Unrecognized VM option '+PrintFlagsFinal'
Could not create the Java virtual machine.

D:\apps\Tomcat\bin>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)
like image 970
Rahul Avatar asked Dec 16 '14 18:12

Rahul


1 Answers

The VM option is not supported in your current JVM version. From this article, it seems available in Java 6u23.

like image 155
M A Avatar answered Nov 15 '22 00:11

M A