jvm terminated exit code =
使用VS Code编写代码编辑器:Visual Studio Code教程 #生活技巧# #工作学习技巧# #编程学习资源#
昨天请假, 前天晚上电脑给同事跑测试, 电脑没关, 于是我前天开的Eclipse也没有关.
于是今天早晨我来的时候, 幸福的对着eclipse一顿用~
但好事不长, 在我重启之后再次尝试eclipse 3.4 ee的时候, 他报了下面的错误:
eclipse jvm terminated exit code = -1
......
......
使用[eclipse jvm terminated exit code = -1 启动报错]关键字google, 未果.
恩, 看来是关键字过于严格了? 用[eclipse exit code]来搜, 正解浮出了水面.
解决方法如下:
该文件删掉, 重启eclipse并让他再自动生成一个eclipse.ini即可.
问题解决之后, 我已经无法找到当时准确的原因, 但是可以断定是我的「eclipse.ini」中, 某些配置出了问题.
顺势有大概看了一下其他的一些eclipse的配置文件:
.eclipseproduct
顾名思义, 里面记录的是eclipse的产品信息了.
下面是lomboz3.3版本对应的该文件.
#Eclipse Product File
#Sat Aug 18 12:35:36 EEST 2007
version=3.3.0
name=ObjectWeb Lomboz
id=org.objectweb.lomboz.product.lomboz
eclipse.ini
里面设置的是虚拟机的参数, 以后如果出现类似上面那样的虚拟机报错的场合, 应该到这个文件里找
但同时我还存在一个疑问,参照这篇帖子关于【Eclipse启动配置】小研究 , 似乎splash画面是由这个参数控制的:
“-Dosgi.splashLocation=D:\eclipse-SDK-3.2.2-win32\eclipse\MyEclipseSplash.bmp"
将这一设置与"-Xms40m ... -Xmx512m..."之类的放在一起, 没猜透有什么联系.
下面是lomboz3.3版本对应的该文件.
里面确实有splash信息, 但是与上面那个帖子描述的略有不同.怀疑是版本的问题.
-showsplash
org.objectweb.lomboz.product
--launcher.XXMaxPermSize
256m
-vmargs
-Xms128m
-Xmx512m
configuration/config.ini
应该可以理解为eclipse的启动参数,
还有有一个问题, 也还是在关于【Eclipse启动配置】小研究 这个帖子提到的,
这里面也有控制splash的参数: osgi.splashPath = platform:/base/plugins/org.eclipse.platform
下面是eclipse3.4 ee版本对应的该文件.
可以看出来, config.ini与eclipse.ini中确实都有关于splash, 目前没有细抠这些问题,
怀疑不同版本之间会存在差异, 暂时放一边了(懒一把:))
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Sat Feb 28 13:05:25 CST 2009
osgi.launcherPath=.
org.eclipse.update.reconcile=false
eclipse.p2.profile=PlatformProfile
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins\\org.eclipse.osgi_3.4.0.v20080605-1900.jar
eclipse.buildId=I20080617-2000
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator\\bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath =platform\:/base/plugins/org.eclipse.platform
osgi.launcherIni=eclipse
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
另付:
以前遇到的一个有点类似的问题:
呼呼,MyEclipse的问题终于搞定。
网址:jvm terminated exit code = https://www.yuejiaxmz.com/news/view/405666
相关内容
vsftpd 启动异常 (code=exited, status=2)error (code = 160) executing in command 'se
Application terminated, rc = 0x1;当运行裸机程序时出现
JVM垃圾回收
MATLAB優化工具箱中輸出:exit flag的數字對應意思
G1垃圾回收器参数
[IOController] > Loader error, code =
安装失败 return code=
动态规划问题最少费用问题 C++版本
Hive加载数据报相关权限问题