随笔分类 -  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 阅读全文
posted @ 2011-10-18 12:02 无尽思绪 阅读(856) 评论(2) 推荐(0)
摘要: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 阅读全文
posted @ 2011-10-09 14:18 无尽思绪 阅读(356) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2011-10-09 14:08 无尽思绪 阅读(356) 评论(0) 推荐(0)