java 命令启动

/export/servers/jdk1.8.0_20/bin/     

-server -Xms128M -Xmx256M -Xss256K 

-XX:PermSize=32M 

-XX:MaxPermSize=32M 

-XX:+UseAdaptiveSizePolicy 

-XX:+UseParallelGC 

-XX:+UseParallelOldGC 

-XX:GCTimeRatio=39 

-XX:+HeapDumpOnOutOfMemoryError

-XX:ErrorFile=/export/home/tomcat/logs/loghub.360buy.com/jcollector/hs_err.log 

-XX:HeapDumpPath=/export/home/tomcat/logs/loghub.360buy.com/jcollector/heap_dump.hprof 

-classpath /export/servers/jcollector/conf:/export/servers/jcollector/lib/*: 

-Dapp.name=jcollector 

-Dapp.pid=72 

-Dapp.repo=/export/servers/jcollector/lib 

-Dbasedir=/export/servers/jcollector 

com.mycom.log.collect.client.main.Client V3.0.6 2

 

-----

/export/servers/jdk1.8.0_20/bin/java 

-Djava.util.logging.config.file=/export/Instances/kepler-king-worker/server1/conf/logging.properties

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 

-Djava.library.path=/usr/local/lib

-server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+UnlockExperimentalVMOptions 

-Djava.awt.headless=true 

-Dsun.net.client.defaultConnectTimeout=60000 

-Dsun.net.client.defaultReadTimeout=60000 

-Djmagick.systemclassloader=no 

-Dnetworkaddress.cache.ttl=300 

-Dsun.net.inetaddr.ttl=300 

-XX:+HeapDumpOnOutOfMemoryError 

-XX:HeapDumpPath=/export/Instances/kepler-king-worker/server1/logs 

-XX:ErrorFile=/export/Instances/kepler-king-worker/server1/logs/java_error_%p.log 

-Djava.endorsed.dirs=/export/servers/tomcat8.0.30/endorsed 

-classpath /export/servers/tomcat8.0.30/bin/bootstrap.jar:/export/servers/tomcat8.0.30/bin/tomcat-juli.jar -Dcatalina.base=/export/Instances/kepler-king-worker/server1 

-Dcatalina.home=/export/servers/tomcat8.0.30 

-Djava.io.tmpdir=/export/Instances/kepler-king-worker/server1/temp 

org.apache.catalina.startup.Bootstrap 

-config /export/Instances/kepler-king-worker/server1/conf/server.xml #Host 8001 1601端口

start

你可能感兴趣的:(Java)