我正在Ubuntu 16.04上安装smartgit
.../smartgit_7.1.3-0~eugenesan~xenial1_all.deb ..
显然,smartgit安装正常,但当我启动它时:
J:~$ smartgit
intx MaxJavaStackTraceDepth=-1 is outside the allowed range [ 0 ... 1073741823 ]
Improperly specified VM option 'MaxJavaStackTraceDepth=-1'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.Java sems也没问题
J:~$ java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195526.buildd.src)
OpenJDK Server VM (build 9-internal+0-2016-04-14-195526.buildd.src, mixed mode)
J:~$ 你知道会出什么问题吗?
发布于 2016-06-18 15:49:39
在bin/smartgit.sh中,将以下行从:
_MISC_OPTS="-Xverify:none -XX:MaxJavaStackTraceDepth=-1 -Dsun.io.useCanonCaches=false"至
_MISC_OPTS="-Xverify:none -XX:MaxJavaStackTraceDepth=1000000 -Dsun.io.useCanonCaches=false"此修复已存在于SmartGit 7.2 Preview中。
https://stackoverflow.com/questions/37890043
复制相似问题