MTJ (Mobile Tools For Java, a famous J2ME plugin for Eclipse) 1.1.2 couldn't be installed on Eclipse Juno (4.2). I use the following update url to install the plugin:
Mobile Tools For Java - http://download.eclipse.org/mtj/updates/1.1.2/stable/
But it failed to be installed with dependency error:
Cannot complete the install because one or more required items could not be found. Software being installed: Mobile Tools for Java 1.1.2.201101310801 (org.eclipse.mtj.feature.group 1.1.2.201101310801) Missing requirement: MTJ Core Plug-in 1.2.1.201101310801 (org.eclipse.mtj.core 1.2.1.201101310801) requires 'bundle org.mortbay.jetty.server [6.1.0,7.0.0)' but it could not be found Cannot satisfy dependency: From: Mobile Tools for Java 1.1.2.201101310801 (org.eclipse.mtj.feature.group 1.1.2.201101310801) To: org.eclipse.mtj.core [1.2.1.201101310801]
Does anyone know what's the problem of this?
I try to find a plugin containing the bundle "org.mortbay.jetty.server [6.1.0,7.0.0)", but not found.
If you read these release notes you will find the key:
http://docs.oracle.com/javame/dev-tools/jme-sdk-3.2/release-notes/pdf/release-notes.pdf
Install the MTJ toolkit.
Go to Help > Install New Software.
In the “Work with” field, enter this URL: http://download.eclipse.org/releases/indigo
Click Add. When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java Examples and Mobile Tools for Java SDK. Click Next.On the installation screen select all plugins and click Finish then click OK.
A Juno plugin named org.eclipse.jetty.server_.jar conflicts with the MTJ libraries when the plugin version is higher than 6. If it is you must prevent it from loading by changing its name so the Jar file is not parsed. Locate the file in your Juno installation’s \plugins directory and change the extension from .jar to something else. For example, change it to: org.eclipse.jetty.server_.old
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With