【问题标题】:Eclipse crashesEclipse 崩溃
【发布时间】:2013-12-25 07:18:08
【问题描述】:

我正在使用 64 位 Eclipse 和 64 位 JVM。在 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.

有什么方法可以追踪为什么我的 Eclipse 运行不正常。帮帮我

【问题讨论】:

标签: java eclipse crash


【解决方案1】:

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

【讨论】:

    【解决方案2】:

    设置

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

    在 pom.xml 中修复了我的。

    【讨论】:

      猜你喜欢
      • 2014-11-07
      • 1970-01-01
      • 2011-06-30
      • 2012-09-03
      • 2013-12-10
      • 1970-01-01
      • 1970-01-01
      • 2017-04-24
      • 2013-12-08
      相关资源
      最近更新 更多