简体   繁体   English

在Mac OS X上,Java 7使Eclipse / GGTS崩溃?

[英]Eclipse/GGTS crash with Java 7 on Mac OS X?

Can anyone help? 有人可以帮忙吗? I'm having a serious problem with GGTS - the variant of Eclipse for Groovy/Grails development. 我在GGTS上遇到了严重的问题-用于Groovy / Grails开发的Eclipse变体。 Many postings have indicated that GGTS works fine with Java 7, but that's not what I'm finding: 许多帖子表明GGTS可在Java 7上正常运行,但这并不是我所发现的:

GGTS bundle ggts-3.5.1.RELEASE (based on Eclipse 4.3.2)

… is apparently incompatible with … ……显然与……不相容

Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

I'm trialling an upgrade to our Groovy/Grails package from Java 6 to Java 7. I don't want to mess up my machine configuration, so I've done it on a separate Virtual Machine under Parallels. 我正在尝试从Java 6到Java 7升级Groovy / Grails软件包。我不想弄乱我的机器配置,所以我在Parallels下的一个单独的虚拟机上完成了它。 This means I've a completely vanilla setup, and all I've done is to install Java 7. 这意味着我已经完成了完全原始的设置,而我所要做的就是安装Java 7。

I found warnings that the GGTS dmg installer doesn't work with Java 7, so I've simply untarred GGTS from the tar.z version. 我发现GGTS dmg安装程序无法在Java 7中运行的警告,因此我只是从tar.z版本中取消了GGTS的保护。 And run it using open GGTS.app . 并使用open GGTS.app运行它。

And GGTS crashes. GGTS崩溃了。 It fires up correctly, displays the main windows and a few pop-ups, and then crashes. 它会正确启动,显示主窗口和一些弹出窗口,然后崩溃。 Every single time. 每一次。 I've tried recreating the VM from scratch twice, and doing the install in several different ways. 我尝试过两次重新创建VM,并以几种不同的方式进行安装。 I had the same problem when I installed Java 7 after installing GGTS. 在安装GGTS之后安装Java 7时,我遇到了同样的问题。 Always the same result. 总是相同的结果。

I've had the same GGTS running in a VM under Java 6, so it's not the VM. 我在Java 6下的VM中运行了相同的GGTS,因此它不是VM。 And I don't see how it could be my configuration, as a clean VM doesn't have any. 而且我不知道这怎么可能是我的配置,因为干净的VM没有任何配置。

The crash report gives: 崩溃报告提供:

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001b

I've found no references to this particular problem anywhere. 我在任何地方都没有找到对此特定问题的参考。

What might I do to solve it? 我该怎么解决?

Many thanks for any help. 非常感谢您的帮助。

  • Charles 查尔斯

Extract from crash report: 崩溃报告摘录:

Process:         GGTS [346]
Path:            /Users/USER/Library/ggts-bundle/*/GGTS.app/Contents/MacOS/GGTS
Identifier:      org.springsource.ggts.ide
Version:         3.5.1 (3.5.1.201405030657-RELEASE-e43)
Code Type:       X86-64 (Native)
Parent Process:  launchd [124]
User ID:         501

Date/Time:       2014-07-05 11:13:16.902 +0100
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10
...
Crashed Thread:  39  Java: QuantumRenderer-0

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000001b

Ah - writing out the problem suggested an answer. 啊-写出问题建议答案。 I didn't expect it to work but it did. 我没想到它会起作用,但它确实起作用。

Using the other version of GGTS 3.5.1, the one based on Eclipse 3.8.2, works fine. 使用GGTS 3.5.1的另一个版本(基于Eclipse 3.8.2的版本)可以正常工作。 They're both at https://spring.io/tools/ggts/all 它们都在https://spring.io/tools/ggts/all

Guess it needs a defect report for the problem: https://issuetracker.springsource.com/browse/STS-3858?filter=-2 猜猜它需要针对该问题的缺陷报告: https : //issuetracker.springsource.com/browse/STS-3858?filter=-2

  • Charles 查尔斯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM