简体   繁体   中英

ObjectAid UML Unsupported major.minor version 52.0

I'm trying to install the ObjectAid software for Eclipse Luna 4.4 .

Eclipse Environment:

  • JDK Compliance 1.8
  • Installed JREs: jre1.8.0_60

System Environment:

  • 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:

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.

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

Now the question is where is picking up 1.7 from? 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.)

A friend has the same config and everything works for him but he's using Eclipse Neon 4.6.3 .

Any ideas?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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