ObjectAid UML不支持的major.minor版本52.0 [英] ObjectAid UML Unsupported major.minor version 52.0
问题描述
我正在尝试为 Eclipse Luna 4.4 安装ObjectAid软件.
I'm trying to install the ObjectAid software for Eclipse Luna 4.4.
Eclipse环境:
- JDK合规性1.8
- 已安装的JRE:jre1.8.0_60
系统环境:
- Java 1.8.0_60
在安装当前版本1.2之后( http://www.objectaid.com/update/current ),然后在尝试添加图表时重新启动Eclipse(文件>新建> ObjectAid UML图>类图),出现以下错误:
After installing the current release 1.2 (http://www.objectaid.com/update/current) and restarting Eclipse when I try to add a diagram ( File > New > ObjectAid UML Diagram > Class Diagram) I get the following error:
The selected wizard could not be started.
Plug-in com.objectaid.uml.cls was unable to load class com.objectaid.uml.cls.editor.NewClassDiagramWizard.
com/objectaid/uml/cls/editor/NewClassDiagramWizard : Unsupported major.minor version 52.0
我知道发生这种情况是因为在编译时使用的Java版本与运行时不匹配.
I know this happens because there's a mismatch between java version used at compile time vs run time.
由于我到处都在使用Java 8,因此我看不到不匹配的地方.我找到了ObjectAid创建的完整错误日志,它的启动过程是这样的:
I don't see the mismatch though since I'm using Java 8 everywhere. I found the full error log that ObjectAid creates and it starts like this:
!SESSION 2017-05-31 14:41:08.722 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
现在的问题是,从哪里获得1.7?而我该如何改变呢?
Now the question is where is picking up 1.7 from? And how do I change this?
(请注意,我的机器上确实安装了Java 7,但未在任何地方将其设置为默认值,甚至在路径中也没有设置.)
(Note that Java 7 is indeed installed on my machine but it's not set as a default anywhere and it's not even in the path.)
一个朋友具有相同的配置,并且一切对他都有效,但是他正在使用 Eclipse Neon 4.6.3 .
A friend has the same config and everything works for him but he's using Eclipse Neon 4.6.3.
有什么想法吗?
推荐答案
可以从Eclipse目录中的'eclipse.ini'配置文件中引用JDK 7.
JDK 7 may be referenced from the 'eclipse.ini' configuration file in your Eclipse directory.
这篇关于ObjectAid UML不支持的major.minor版本52.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!