Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Any pure Java startup of Eclipse?(Can Eclipse be started without using the platform-dependent Equinox module?)
Any pure Java startup of Eclipse? [message #891769] Mon, 25 June 2012 20:25 Go to next message
Christopher Day is currently offline Christopher DayFriend
Messages: 3
Registered: June 2012
Junior Member
There seems to be some older documentation that suggests that Eclipse could be started as a pure Java entity without having to use the platform-dependent Equinox module - reference was made to a jar file in the org.eclipse.equinox.launcher*** plugin. That plugin does not seem to contain any jars in either Indigo or Juno for 32-bit Linux. Unfortunately, I am on an ARM machine - Raspberry Pi - and the 80386 machine code is useless to me. Is there any way I can run without the launcher? Any way to create an ARM launcher? Thanks.

BTW, it seems quite unfortunate to me to have broken the platform independence of Eclipse. Why was this done?

Re: Any pure Java startup of Eclipse? [message #891785 is a reply to message #891769] Mon, 25 June 2012 22:37 Go to previous messageGo to next message
Christopher Day is currently offline Christopher DayFriend
Messages: 3
Registered: June 2012
Junior Member
This download - (Gack. I can't post the link because I haven't posted enough yet. Sheesh. Track down the Eclipse/Downloads/Projects/Equinox/All Of Equinox download page) - seems to contain the Java-based launcher (among MANY others); at least it gives it a try. Can't find swt classes, so I suspect I have my CLASSPATH wrong. More research...
Re: Any pure Java startup of Eclipse? [message #891827 is a reply to message #891769] Tue, 26 June 2012 07:43 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 25.06.2012 22:25, Christopher Day wrote:
> There seems to be some older documentation that suggests that Eclipse
> could be started as a pure Java entity without having to use the
> platform-dependent Equinox module - reference was made to a jar file
> in the org.eclipse.equinox.launcher*** plugin. That plugin does not
> seem to contain any jars in either Indigo or Juno for 32-bit Linux.
> Unfortunately, I am on an ARM machine - Raspberry Pi - and the 80386
> machine code is useless to me. Is there any way I can run without the
> launcher? Any way to create an ARM launcher? Thanks.

Try this:
java -cp plugins\org.eclipse.equinox.launcher_*.jar
org.eclipse.core.launcher.Main -application org.eclipse.ui.ide.workbench

Dani
>
> BTW, it seems quite unfortunate to me to have broken the platform
> independence of Eclipse. Why was this done?
>
>
Re: Any pure Java startup of Eclipse? [message #891920 is a reply to message #891827] Tue, 26 June 2012 15:13 Go to previous messageGo to next message
Christopher Day is currently offline Christopher DayFriend
Messages: 3
Registered: June 2012
Junior Member
$ java -cp plugins\org.eclipse.equinox.launcher_*.jar org.eclipse.core.launcher.Main -application org.eclipse.ui.ide.workbench
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/launcher/Main
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.launcher.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.eclipse.core.launcher.Main. Program will exit.


Didn't get very far, I'm afraid. BTW, it looks like the launcher jar file was included in the distribution, I just couldn't spot it among the huge number of other folders and files. Starting that jar fails because it can't find byte-code SWT library; another one that is compiled to x86.
Re: Any pure Java startup of Eclipse? [message #892129 is a reply to message #891920] Wed, 27 June 2012 07:33 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 26.06.2012 17:13, Christopher Day wrote:
> $ java -cp plugins\org.eclipse.equinox.launcher_*.jar
> org.eclipse.core.launcher.Main -application org.eclipse.ui.ide.workbench
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/eclipse/core/launcher/Main
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.core.launcher.Main
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: org.eclipse.core.launcher.Main. Program
> will exit.
>
>
> Didn't get very far, I'm afraid.
You need to be in the Eclipse home directory when executing this.

Dani
> BTW, it looks like the launcher jar file was included in the
> distribution, I just couldn't spot it among the huge number of other
> folders and files. Starting that jar fails because it can't find
> byte-code SWT library; another one that is compiled to x86.
>
Previous Topic:Edit classpath file in eclipse ?
Next Topic:Oracle WLS fails to start with proxy enabled
Goto Forum:
  


Current Time: Thu Apr 25 21:41:32 GMT 2024

Powered by FUDForum. Page generated in 0.08227 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top