随笔分类 - Java
摘要:很抑郁的一个问题,让我折腾了好久。1.如果你是单纯的使用tomcat, 可以在tomcat7\bin\catalina.bat里面修改:set JAVA_OPTS=%JAVA_OPTS% -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=512m -XX:+DisableExplicitGC然后在cmd下,运行:catalina.bat run
阅读全文
摘要:Installing servicesThe safest way to manually install the service is to use the providedservice.batscript. Administrator privileges are required to run this script. If necessary, you can use the/userswitch to specify a user to use for the installation of the service.NOTE:On Windows Vista or any othe
阅读全文
摘要:Configure JDKSet theJAVA_HOMEenvironment variable to the root location of the JDK installation directory. The examples below useC:\jdk1.5for Windows and/opt/jdk1.5for UNIX, but be sure to use the actual location on your system. (e.g. The default installation location used by the JDK installer might
阅读全文
浙公网安备 33010602011771号