LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Eclipse and Slackware-Current (https://www.linuxquestions.org/questions/slackware-14/eclipse-and-slackware-current-787418/)

stormtracknole 02-06-2010 10:15 AM

Eclipse and Slackware-Current
 
Is anyone having problems starting the latest version of Eclipse in Slackware-Current? My first problem was solved by converting the eclipse.ini.new into eclipse.ini. However, when I try starting eclipse, I get an error window which points me to a log file. Here's what the log files says:
Code:

!SESSION Sat Feb 06 10:11:39 CST 2010 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-02-06 10:11:39.506
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Any ideas? My java skills are still in the beginning stage. Thanks ahead of time! :)

AGer 02-06-2010 11:01 AM

Quote:

Originally Posted by stormtracknole (Post 3854808)
Is anyone having problems starting the latest version of Eclipse in Slackware-Current?

I guess nobody has any problems. We all downloaded the old Seamonkey-1.1.18 package, unzipped it next to Eclipse, and pointed to it with MOZILLA_FIVE_HOME. Thus Eclipse uses the old XUL runner. This is a well known problem.

stormtracknole 02-06-2010 11:58 AM

I am well aware of the seamonkey-1.1.18 issue. I've already had the MOZILLA_FIVE_HOME in my .bash_profile. Eclipse was working correctly until the latest version was updated on slackbuilds.org. Ever since that update, it stopped working. Perhaps if you could be so nice to provide where you are linking MOZILLA_FIVE_HOME to so that I can compare what I have. I guess I could always revert back to the previous version, but wanted to see if I was the only one having this problem.

AGer 02-07-2010 04:40 AM

Quote:

Originally Posted by stormtracknole (Post 3854927)
until the latest version was updated on slackbuilds.org.

It looks like you use Slackbuilds to install Eclipse. This may be the problem since I just downloaded Eclipse for PHP developers, added Java Development Tools and Aptana RadRails (do not use all of it) and let it update itself.

Thus, I currently have the largest feature
Code:

Eclipse Platform

Version: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
Build id: M20090917-0800

and the script to run it is

Code:

$ cat eclipse.sh
#!/bin/bash
export ECLIPSE_HOME=/opt/eclipse
export GDK_NATIVE_WINDOWS=true
export MOZILLA_FIVE_HOME=/opt/eclipse/seamonkey-1.1.18
${ECLIPSE_HOME}/eclipse $@
$

I guess native GDK windows do not make any difference and I do not use any parameters with the script.

stormtracknole 02-07-2010 06:46 AM

Quote:

Originally Posted by AGer (Post 3855489)
It looks like you use Slackbuilds to install Eclipse. This may be the problem since I just downloaded Eclipse for PHP developers, added Java Development Tools and Aptana RadRails (do not use all of it) and let it update itself.

Thus, I currently have the largest feature
Code:

Eclipse Platform

Version: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
Build id: M20090917-0800

and the script to run it is

Code:

$ cat eclipse.sh
#!/bin/bash
export ECLIPSE_HOME=/opt/eclipse
export GDK_NATIVE_WINDOWS=true
export MOZILLA_FIVE_HOME=/opt/eclipse/seamonkey-1.1.18
${ECLIPSE_HOME}/eclipse $@
$

I guess native GDK windows do not make any difference and I do not use any parameters with the script.

Thanks for posting this. That's why I was confused by your explanation on your earlier post. I installed mine through slackbuilds and your method was different. I may just have to install it directly from their website, especially since there are no guarantees that slackbuilds will work with Current.


All times are GMT -5. The time now is 02:15 PM.