问题
I'm trying to use robovm on Eclipse. I have installed the robovm plugin.
But when I create a RoboVM eclipse project, Eclipse gives me an exception:
The selected wizard could not be started.
Plug-in org.robovm.eclipse.ui was unable to load class org.robovm.eclipse.internal.NewCocoaTouchProjectWizard.
An error occurred while automatically activating bundle org.robovm.eclipse.ui (244).
I get a similar message when I try to go to "Settings" > "RoboVM":
Unable to create the selected preference page.
An error occurred while automatically activating bundle org.robovm.eclipse.ui (244).
Can anyone can help me?
Eclipse Standard/SDK
Version: Kepler Service Release 1
Build id: 20130919-0819
回答1:
A moderator has delete my answer - Confusing why (reason: "your post was converted to a comment")!
For future readers, Here is the right answer:
But i've found and solved the Problem today. I had installed Java 6 AND 7. eclipse had use Java 6.
For other peoples there have the same Problem: Go to the Settings App > Java and go to the Java-Tab. Here are all installed Java versions listed. Change the priority for the version otherwise deinstall or disable older Versions.
回答2:
It was fixed by RoboVM.
Show following resources:
Issue #246 on https://github.com/robovm/robovm/issues/246
Commit #1702b68 from https://github.com/robovm/robovm/commit/1702b68ffd362788fab74a8d9cbf2bd6411bcf5f
来源:https://stackoverflow.com/questions/21024474/robovm-plugin-wont-work