Error in Eclipse

YDL running on the Sony Playstation 3

Moderator: billb

Error in Eclipse

Postby Ragnarok » 08 Aug 2008, 22:47

hello,
I have recently installed Eclipse and it has been working fine(slow, but fine)
well now i am getting this error everytime i start it up

JVM terminated. Exit code=127
/usr/bin/java
-Xms40m
-Xmx256m
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch ppc
-launcher /usr/bin/eclipse
-name Eclipse
-showsplash 600
-exitdata 17800b
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-jar /usr/share/eclipse/startup.jar

Should i just reinstall it or or is there a patch/easy fix for this?

Last thing i did was add ps3bodega repo and update firefox 3 to 3.0.1
which seems to crash more now :(
Ragnarok
ydl newbie
ydl newbie
 
Posts: 4
Joined: 08 Aug 2008, 18:34

Re: Error in Eclipse

Postby CronoCloud » 08 Aug 2008, 23:15

I've not used Eclipse, I am not a coder but since I also run FF 3.0.1 I started it up to see what would happen. This is the error I got:

Code: Select all
/usr/local/bin/java: symbol lookup error: /usr/lib/eclipse/configuration/org.eclipse.osgi/bundles/9/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc


Ron Rogers Jr (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS
Running Fedora 13 on a Compaq Presario CQ5320F
Element 1920B 19" 1080i/720p TV with HDMI, using 1440x900 VGA
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 517
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: Error in Eclipse

Postby billb » 09 Aug 2008, 08:03

I don't have enough free space available to install eclipse-sdk at the moment or I'd check it on my system.

It appears to be a bug in eclipse ... ? Googled it for you ... see here:

http://ubuntuforums.org/showthread.php?t=372061

And here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=174547

And possibly try starting Eclipse the way the say to do it in the above topic on ubuntuforums, in this post. (java -jar startup.jar)
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5222
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Error in Eclipse

Postby Ragnarok » 09 Aug 2008, 17:24

I tried that and it returns:

Failed to load Main-Class manifest attribute from startup.jar

I changed directory to /usr/share/eclipse
tried again and all it does is return to terminal

I will try installing it again and report back

Thanks for your help.
Ragnarok
ydl newbie
ydl newbie
 
Posts: 4
Joined: 08 Aug 2008, 18:34

Re: Error in Eclipse

Postby billb » 09 Aug 2008, 17:30

Paul (ppietro) would surely be more help with this than me ... he's a Java software developer. You might want to send him a PM in case he misses this topic.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5222
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Error in Eclipse

Postby CronoCloud » 10 Aug 2008, 03:23

Try:
Code: Select all
MOZILLA_FIVE_HOME="" eclipse


Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS
Running Fedora 13 on a Compaq Presario CQ5320F
Element 1920B 19" 1080i/720p TV with HDMI, using 1440x900 VGA
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 517
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: Error in Eclipse

Postby Ragnarok » 10 Aug 2008, 07:03

i updated to the latest version from here

http://download.eclipse.org/eclipse/dow ... ppc.tar.gz

no more error and it doesn't seem to hog as much memory as the version that comes with YDL 6


Thank You All For Your Help
Ragnarok
ydl newbie
ydl newbie
 
Posts: 4
Joined: 08 Aug 2008, 18:34

Re: Error in Eclipse

Postby ppietro » 14 Aug 2008, 17:13

Hiya!

I haven't read thru all of this post yet... (I will, I will)

But - I have a suggestion.

If you haven't already, you'll want to use IBM's Java to run eclipse. By default, YDL is set up to use gcc's Java, which is much slower and slightly buggy.

An easy way to do this is to install the IBM Java of your choice, then create a symbolic link to /usr/local/bin.

e.g.
Code: Select all
ln -s /opt/ibm/java2-ppc-50/jre/bin/java /usr/local/bin


You'll have to do this as root, BTW. :)

You can verify that the IBM Java is found first by opening a terminal window and typing which java. You should see something like this:
Code: Select all
[paulp@yurie bin]$ which java
/usr/local/bin/java
[paulp@yurie bin]$


also - java -version is good to look at:
Code: Select all
[paulp@yurie ~]$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxp32devifx-20071025 (SR6b))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20071007 (JIT enabled)
J9VM - 20071004_14218_bHdSMR
JIT  - 20070820_1846ifx1_r8
GC   - 200708_10)
JCL  - 20071025
[paulp@yurie ~]$


Now, start eclipse normally - it should load a lot faster and be much more stable.

NOTE: these instructions are for IBM Java 5.0. The procedure is similar for IBM Java 6.0.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4569
Joined: 13 Sep 2007, 22:18

Re: Error in Eclipse

Postby andrewMerzliakov » 25 Feb 2009, 04:23

installing xulrunner-dev seems to fix this.
andrewMerzliakov
ydl newbie
ydl newbie
 
Posts: 1
Joined: 25 Feb 2009, 04:19

Re: Error in Eclipse

Postby uncholowapo » 25 Feb 2009, 20:46

I think you mean:
Code: Select all
sudo yum installl xulrunner-devel
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA


Return to Playstation 3

Who is online

Users browsing this forum: MSN [Bot] and 10 guests