Could not create the Java Virtual Machine
在启动java的时候也许会报这个错就是因为jdk堆内存不够了。 解决方案:增加一个系统环境变量
用文本编辑器打开/etc/profile,在profile文件末尾加入: 变量名:_JAVA_OPTIONS 变量值:-Xmx512M 保存后,就OK!!
/etc/profile
_JAVA_OPTIONS
-Xmx512M