今天在安装Hitool后,打开hitool后出现了错误:failed to create the java virtual machine。
解决方法如下:
记事本打开HiTool.ini
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-vmargs
-Xverify:none
-Xms40m
-Xmx64m
-XX:PermSize=40m
-XX:MaxPermSize=64m
-Xnoclassgc
-XX:CMSInitiatingOccupancyFraction=85
-XX:DefaultMaxRAMFraction=1
-XX:+UseParallelGC
-XX:NewRatio=8
-XX:SurvivorRatio=8
-XX:TargetSurvivorRatio=90
-XX:MaxTenuringThreshold=31
-XX:+UseBiasedLocking
-XX:CompileCommand=quiet
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,java/text/SimpleDateFormat,subParseZoneString
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
将第五行-vmargs 修改为-vmC:Program Files (x86)Javajre1.8.0_131in (该路径是java安装的路径)。
注:参考了http://blog.sina.com.cn/s/blog_740ccd040101ozpc.html,特此著名谢谢