eclipse与退出代码1一起崩溃

时间:2015-12-14 21:26:48

标签: java eclipse

我一直在学习java一段时间,但这个问题刚刚发生在几天前。

我尝试了以下方法,但没有一种方法有效:

  1. -Xint添加到ini文件

  2. --XX:-UseCompressedOops添加到ini文件

  3. -XX:+UseCompressedOops添加到ini文件

  4. 以管理员身份运行

  5. -vm

  6. c:/wherever/java/jdk1.6.0_21/jre/bin/server/jvm.dll

    我认为这需要阅读很多内容。非常感谢你!!

    以下是错误消息

    Eclipse error

    这是我的eclipse.ini

    中的内容
     -startup
     plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
     --launcher.library
     plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
     -product
     org.eclipse.epp.package.java.product
     --launcher.defaultAction
     openFile
     --launcher.XXMaxPermSize
     256M
     -showsplash
     org.eclipse.platform
     --launcher.XXMaxPermSize
     256m
     --launcher.defaultAction
     openFile
     --launcher.appendVmargs
     -vmargs
     -Dosgi.requiredJavaVersion=1.7
     -Xms256m
     -Xmx1024m
    

    以下是.log

    中的信息
    !SESSION 2015-12-15 09:42:29.142 -----------------------------------------------
    eclipse.buildId=4.5.1.M20150904-0015
    java.version=1.7.0_79
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.java.product
    Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
    
    !ENTRY org.eclipse.core.resources 2 10035 2015-12-15 09:42:34.222
    !MESSAGE The workspace exited with unsaved changes in the previous session;  refreshing workspace to recover changes.
    
    !ENTRY org.eclipse.egit.ui 2 0 2015-12-15 09:42:51.941
    !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
    user global configuration and to define the default location to store repositories: 'C:\Users\WeiLi'. If this is
    not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
    EGit might behave differently since they see different configuration options.
    This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
    

1 个答案:

答案 0 :(得分:0)

好的,所以你要在.ini中指定一个1.6虚拟机(为什么你需要这样做?它已经8年了,只是让系统虚拟机运行)但是有一个Modification错误信息;此外,你有一个C:\ Windows \ System32 \ javaw.exe,它是什么版本?