SAP Knowledge Base Article - Preview

2185842 - AS-JAVA doesn't start, "-X" or "-XX" JVM options are set


If "-X" or "-XX" are set among the additional JVM options without a real parameter, the JVM just prints the available non-standard (starting with -X or -XX) JVM options and exits. In this case, a list like below gets printed into dev_serverX and std_serverX.out:

-Xbootclasspath:<directories and zip/jar files separated by ;>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by ;>
prepend in front of bootstrap class path
-Xcp/a:<path> append path to class path
-Xcp/ad:<dir> append all jars inside a directory to the class path
-Xcp/p:<path> prepend path to class path
-Xcp/pd:<dir> prepend all jars inside a directory to the class path
-Xmn<size> set initial/maximum Java new space size
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set Java thread stack size
-Xps<size> set maximum shared pool size
-Xloggc:<file> log garbage collection status to a file with time stamps
-Xmixed execute methods in mixed (interpreted and compiled) mode
-Xint execute methods in interpreted mode only
ignore unrecognized options when processing VM arguments
-Xcheck:jni perform additional checks for JNI functions
perform class verification for remote classes loaded over
network connections, all loaded classes, or no classes
-Xfuture enable strictest checks, anticipating future default
-Xjvmx enable VM extensions, requires a VM instance number passed
via -XsapSystem
set the VM's instance number
set range for debugger TCP ports
load native agent library <libname>
-XbuildInfo print out detailed build information and exit
-XshowBuildInfo print out detailed build information and continue
-Xtrace<trace> set trace flags, see -Xtrace for details

One can find one of the mentioned options in the configtool:

X or XX.jpg

Or in dev_serverX:

X or XX in dev.jpg


No jvm_serverX.out file gets created and since this is the intended behavior no error can be found in the logs.




All versions of SAP Java Virtual Machine (SAP JVM)


SAP Java Virtual Machine all versions


KBA , BC-JVM , SAP Java Virtual Machine , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.