Eclipse崩溃了

时间:2013-12-25 07:18:09

标签: java eclipse crash

我正在使用带有64位JVM的64位eclipse。在Windows之间进行交换时,我的eclipse会在任何随机时间(不是每次都)崩溃。

这是我的eclipse.ini文件

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

我的工作区的.log文件有一些日志

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:34.935
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:34.943
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:35.118
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:35.129
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:40.085
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

!ENTRY org.eclipse.m2e.logback.appender 2 0 2013-12-25 11:55:40.091
!MESSAGE Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
!SESSION 2013-12-25 12:09:31.862 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_40
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.core.resources 2 10035 2013-12-25 12:09:36.494
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

有什么方法可以追踪为什么我的日食没有正常运行。帮助我

2 个答案:

答案 0 :(得分:0)

尝试将此命令传递给JVM eclipse -vm C:\jdk\jre\bin\javaw.exe这会强制JVM在与Eclipse不同的进程中运行, 如上所述: https://stackoverflow.com/a/1805506/1951298

答案 1 :(得分:0)

设置

 <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 </properties>

在pom.xml中修复了我的。