简体   繁体   English

ObjectAid UML不支持的major.minor版本52.0

[英]ObjectAid UML Unsupported major.minor version 52.0

I'm trying to install the ObjectAid software for Eclipse Luna 4.4 . 我正在尝试为Eclipse Luna 4.4安装ObjectAid软件。

Eclipse Environment: Eclipse环境:

  • JDK Compliance 1.8 符合JDK 1.8
  • Installed JREs: jre1.8.0_60 已安装的JRE:jre1.8.0_60

System Environment: 系统环境:

  • Java 1.8.0_60 Java 1.8.0_60

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: 安装当前版本1.2( http://www.objectaid.com/update/current )并在尝试添加图( 文件>新建> ObjectAid UML图>类图 )时重新启动Eclipse之后,出现以下错误:

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 

I know this happens because there's a mismatch between java version used at compile time vs run time. 我知道发生这种情况是因为在编译时使用的Java版本与运行时不匹配。

I don't see the mismatch though since I'm using Java 8 everywhere. 不过,由于我到处都在使用Java 8,因此我看不到不匹配之处。 I found the full error log that ObjectAid creates and it starts like this: 我找到了由ObjectAid创建的完整错误日志,它的启动过程如下:

!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

Now the question is where is picking up 1.7 from? 现在的问题是,从哪里获得1.7? And how do I change this? 我该如何改变呢?

(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.) (请注意,Java 7确实已安装在我的计算机上,但未在任何地方将其设置为默认值,甚至不在路径中。)

A friend has the same config and everything works for him but he's using Eclipse Neon 4.6.3 . 一个朋友具有相同的配置,并且一切对他都适用,但是他正在使用Eclipse Neon 4.6.3

Any ideas? 有任何想法吗?

可以从Eclipse目录中的“ eclipse.ini”配置文件中引用JDK 7。

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

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