Is it possible to create a wrapper around org.eclipse.equinox.launcher.Main? [message #1690633] |
Mon, 30 March 2015 09:11 |
Al Bundy Messages: 27 Registered: November 2011 |
Junior Member |
|
|
Because I want to replace some placeholders with envrionment variables, I'd like to create a wrapper around org.eclipse.equinox.launcher.Main.
(see https://bugs.eclipse.org/bugs/show_bug.cgi?id=463138)
According to the eclipse help I have to create a jar with a Main-Class attribute.
I've tried this but get this Exception:
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/JNIBridge
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.JNIBridge
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main" java.lang.NoSuchMethodError: run
In my main-method I've called only org.eclipse.equinox.launcher.Main.main(args)
[Updated on: Mon, 30 March 2015 09:12] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03058 seconds