Page 3 of 4

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 20:39
by Taellik
You'll have to reset Eclipse's setting files then. Luckily, that's easy.

Do this:
rm ~/.eclipse

(Note the .)


When I do this I get the following message ....

[root@localhost ~]# rm ~/.eclipse
rm : cannot remove directory '/root/.eclipse': Is a directory
[root@localhost ~]#


Taellik
http://www.geocities.com/chainpunch

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 20:57
by billb
[jumps in]

I'm guessing that Paul didn't mean for you to do that as root, just under your regular account.

So, under your regular username, use:

Code: Select all
rm -rf ~/.eclipse


And be careful when using those switches! See below:

-f, --force
ignore nonexistent files, never prompt
-r, -R, --recursive
remove the contents of directories recursively

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 21:09
by Taellik
Hiya Billb,

Still no love with your approach.

Eclipse still crashes on start-up.

Taellik
http://www.geocities.com/chainpunch

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 21:21
by billb
You're starting Eclipse while logged in to your regular user account, not root, right?

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 21:28
by Taellik
Yep..regular account...not root

Taellik
http://www.geocities.com/chainpunch

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 22:37
by ppietro
Taellik wrote:Hiya Billb,

Still no love with your approach.

Eclipse still crashes on start-up.


Yes - sorry - I was distracted by my daughter this morning and goofed up the syntax. Mea culpa :(

So:
1. With your regular login - non-root account - type:
rm -rf ~/.eclipse

2. After you do that, uninstall and re-install Eclipse. Eclipse doesn't care about which java is in place during install/uninstall - only when you try to run it.

3. After you re-install Eclipse, verify that GCJ Java is loaded by default - that's the one that "which java" shows in /usr/bin . Also - the "java -version" command should show 1.4.2 The symbolic link should be deleted in the /usr/local/bin directory.

4. Start Eclipse.

Let us know if it doesn't start. It should - computers aren't that mystical.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 22:42
by ppietro
Oh - one other thing. There's a possibility that the home directory account may have been created by root. You might have to be root to remove it.

You can tell this by this command. As non-root user - regular account - type:
cd
la -al|grep eclipse

You should see something like this:
Code: Select all
[paulp@yurie ~]$ cd
[paulp@yurie ~]$ ls -al|grep eclipse
drwxrwxr-x  3 paulp paulp 4096 Jan  3 12:13 .eclipse
[paulp@yurie ~]$


Instead of "paulp" it should show your login name. If it shows the word "root", then you'll have to use su to remove the directory.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 23:13
by ppietro
Okay - I'm getting somewhere.

Part of the issue with Eclipse on YDL 6.1 has to do with the GCJ installation. I finally got Eclipse to create a true Java project.

Start Add/Remove Software. Go to the List tab. Scroll down to the Java section.

You will notice that java-1.5.0-gcj is checked and java-1.4.2-gcj-compat is unchecked.

You need to:
1. Check java-1.4.2-gcj-compat
2. Uncheck java-1.5.0-gcj
3. Click Apply

This restores older libraries that Eclipse needs to function.

This doesn't solve the IBM Java issue - but it makes Eclipse work like I think it should work. :)

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 04 Jan 2009, 23:33
by Taellik
Hiya Paul,

My Java compatibility is already set at 1.4.2 and Eclipse still crashes at startup.

Since I need GUI development capability on the PS3, I currently have my PS3 setup with your IBM symbolic and have given up the ghost on Eclipse being able to work properly with the outdated gcj open-source java that came with YDL.

Maybe when Terrasoft does its next YDL release ( 6.2 ? ) it will get all this stuff correcteted & fixed so it is not a carry-on problem between releases. :mrgreen:

Taellik
http://www.geocities.com/chainpunch

Re: Eclipse & Java SWING class Failure

PostPosted: 05 Jan 2009, 02:24
by ppietro
Taellik wrote:Maybe when Terrasoft does its next YDL release ( 6.2 ? ) it will get all this stuff correcteted & fixed so it is not a carry-on problem between releases. :mrgreen:


Chances are we'll get an update to 6.1 pretty soon.

I might have an alternate solution - there's a weird idea kicking around my head - but I haven't had a chance to try it yet.

My thinking goes like this. Uninstall Eclipse. Switch back to the YDL 6.0 repos temporarily. Install Eclipse from there. Switch back to the YDL 6.1 repos.

I'll try this later tonight - gotta run.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 05 Jan 2009, 03:55
by ppietro
Hiya!

Okay - I got it working.

(momentary basking in glory)

Here's what you need to do to get it working.

1. You do need to install one of the IBM Java JREs.
(I'll use 6.0 for the purposes of this HOW-TO: ibm-java-ppc-jre-6.0-3.0.ppc.rpm)

2. Make sure that GCJ is installed. (It's called gcc-java - 4.1.2-42.ppc in the Add/Remove Programs List tab)

3. Make sure that all of the java 1.4.2 JPackage libraries are loaded (again from Add/Remove Programs List tab):
  • java-1.4.2-gcj-compat - 1.4.2.0-40jpp.115.ppc
  • java-1.4.2-gcj-compat-devel - 1.4.2.0-40jpp.115.ppc
  • java-1.4.2-gcj-compat-javadoc - 1.4.2.0-40jpp.115.ppc
  • java-1.4.2-gcj-compat-src - 1.4.2.0-40jpp.115.ppc

4. You do not want a symbolic link to /usr/local/bin/java.

5. Verify that which java yields /usr/bin/java

6. Verify that java -version prints something like this:
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

7. Verify that /opt/ibm/java-ppc-60/jre/bin/java -version prints something like this:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260sr3-20081106_07(SR3))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20081105_2543

8. Start Eclipse

9. Switch to the Java perspective. (Window --> Open Perspective --> Java)

10. Select Window --> Preferences...

11. In the tree view on the left, select Java --> Installed JREs and click the Add button

12. In the Add JRE dialog box, click Browse...

13. In the resultant dialog box, navigate to /opt/ibm/java-ppc-60/jre and click OK

14. The Add JRE dialog box should now be populated. Click OK to close and save it.

15. Back in the Preferences dialog box, check java-ppc-60 and click OK

That's it. You should be able to use Eclipse normally, and still have swing libraries.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 05 Jan 2009, 06:48
by ppietro
ppietro wrote:I might have an alternate solution - there's a weird idea kicking around my head - but I haven't had a chance to try it yet.

My thinking goes like this. Uninstall Eclipse. Switch back to the YDL 6.0 repos temporarily. Install Eclipse from there. Switch back to the YDL 6.1 repos.

I'll try this later tonight - gotta run.


Yup - this works. And - it lets you use IBM Java as your main Java. The procedure is complicated - but it works.

The main thing is that you have to create the three YDL 6.0 file manually, name them something else, and edit the files slightly. I have a set of YDL 6.1 and YDL 6.0 repo files in my /etc/yum.repos.d directory now - a total of 6 files. I use the enabled= to toggle between them.

You can cut 'n' paste the contents directly from here:
viewtopic.php?f=19&t=3017

for the YDL 6.0 files - but you need to do one thing if you want to leave your YDL 6.1 files in place. You need to edit the text between the [] - e.g. [base] needs to be something like [base6],

Here's the contents of my /etc/yum.repos.d:

Code: Select all
::::::::::::::
/etc/yum.repos.d/yellowdog-base-6.repo
::::::::::::::
[base6]
name=Yellow Dog Linux 6 Base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/base/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-base-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-base.repo
::::::::::::::
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.1 Base
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras-6.repo
::::::::::::::
[extras6]
name=Yellow Dog Linux 6 Extras
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/extras/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-extras-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.1 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates-6.repo
::::::::::::::
[updates6]
name=Yellow Dog Linux 6 Updates
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6/updates/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd6-updates-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repo
::::::::::::::
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.1 Updates
mirrorlist=http://www.terrasoftsolutions.com/resources/yd61-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


I have to log off for the night. I'll try to diff these two installations and see if I can figure out what the delta is between the Eclipse for 6.0 & 6.1. According to YUM, they're the same version. My guess is the mirrors have a bad RPM.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 05 Jan 2009, 23:27
by Taellik
Here's what you need to do to get it working.

1. You do need to install one of the IBM Java JREs.
(I'll use 6.0 for the purposes of this HOW-TO: ibm-java-ppc-jre-6.0-3.0.ppc.rpm)

2. Make sure that GCJ is installed. (It's called gcc-java - 4.1.2-42.ppc in the Add/Remove Programs List tab)

3. Make sure that all of the java 1.4.2 JPackage libraries are loaded (again from Add/Remove Programs List tab):

* java-1.4.2-gcj-compat - 1.4.2.0-40jpp.115.ppc
* java-1.4.2-gcj-compat-devel - 1.4.2.0-40jpp.115.ppc
* java-1.4.2-gcj-compat-javadoc - 1.4.2.0-40jpp.115.ppc
* java-1.4.2-gcj-compat-src - 1.4.2.0-40jpp.115.ppc


4. You do not want a symbolic link to /usr/local/bin/java.

5. Verify that which java yields /usr/bin/java

6. Verify that java -version prints something like this:
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20071124 (Red Hat 4.1.2-42)

7. Verify that /opt/ibm/java-ppc-60/jre/bin/java -version prints something like this:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp3260sr3-20081106_07(SR3))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux ppc-32 jvmxp3260-20081105_2543

8. Start Eclipse

9. Switch to the Java perspective. (Window --> Open Perspective --> Java)

10. Select Window --> Preferences...

11. In the tree view on the left, select Java --> Installed JREs and click the Add button

12. In the Add JRE dialog box, click Browse...

13. In the resultant dialog box, navigate to /opt/ibm/java-ppc-60/jre and click OK

14. The Add JRE dialog box should now be populated. Click OK to close and save it.

15. Back in the Preferences dialog box, check java-ppc-60 and click OK

That's it. You should be able to use Eclipse normally, and still have swing libraries.

Cheers,
Paul


Step 1 Check
Step 2 Check
Step 3 Check
Step 4 Check
Step 5 Check
Step 6 Check
Step 7 Check
Step 8 *** Danger Danger Will Robinson *** Maj. West crashes Eclipse everytime on startup. Eclipse will not start, crashes with a log file dump.

Here's the dump log I get when Eclipse crashes. . . .
--------------------------------------------------------------------------------------------------------------------------
!SESSION 2009-01-05 17:22:34.679 -----------------------------------------------
eclipse.buildId=M20070212-1330
java.fullversion=GNU libgcj 4.1.2 20071124 (Red Hat 4.1.2-42)
BootLoader constants: OS=linux, ARCH=ppc, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch ppc

!ENTRY org.eclipse.update.configurator 2009-01-05 17:22:39.106
!MESSAGE Plugin does not have a valid identifier: plugins/org.eclipse.update.ui_3.2.2.R32x_v20070111.jar

!ENTRY org.eclipse.update.configurator 2009-01-05 17:22:39.107
!MESSAGE Plugin does not have a valid version: plugins/org.eclipse.update.ui_3.2.2.R32x_v20070111.jar

!ENTRY org.eclipse.osgi 4 0 2009-01-05 17:22:42.035
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.equinox.initializer.configInitializer, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(org.eclipse.core.runtime_3.2.0.v20060603.jar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(org.eclipse.osgi_3.2.2.R32x_v20070118.jar.so)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(org.eclipse.osgi_3.2.2.R32x_v20070118.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.2.2.R32x_v20070118.jar.so)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(org.eclipse.osgi_3.2.2.R32x_v20070118.jar.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.eclipse.core.launcher.Main.invokeFramework(startup.jar.so)
at org.eclipse.core.launcher.Main.basicRun(startup.jar.so)
at org.eclipse.core.launcher.Main.run(startup.jar.so)
at org.eclipse.core.launcher.Main.main(startup.jar.so)

!ENTRY org.eclipse.osgi 2 0 2009-01-05 17:22:43.286
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.286
!MESSAGE Bundle update@plugins/org.eclipse.ui.ide_3.2.1.M20060915-1030.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.ide 2 0 2009-01-05 17:22:43.286
!MESSAGE Missing required bundle org.eclipse.update.ui_[3.1.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.286
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.core_3.2.2.M20061205.jar was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.core 2 0 2009-01-05 17:22:43.287
!MESSAGE Missing required bundle com.jcraft.jsch_[0.1.27,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.287
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ssh2_3.2.1.M20061205.jar was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ssh2 2 0 2009-01-05 17:22:43.287
!MESSAGE Missing required bundle com.jcraft.jsch_[0.1.18,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.287
!MESSAGE Bundle update@plugins/org.eclipse.update.scheduler_3.2.2.R32x_v20061214.jar was not resolved.
!SUBENTRY 2 org.eclipse.update.scheduler 2 0 2009-01-05 17:22:43.287
!MESSAGE Missing required bundle org.eclipse.update.ui_[3.1.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2009-01-05 17:22:43.309
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.309
!MESSAGE Bundle update@plugins/org.eclipse.ui.externaltools_3.1.101.r321_v20060802.jar [17] was not resolved.
!SUBENTRY 2 org.eclipse.ui.externaltools 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing optionally required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ui.externaltools 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.309
!MESSAGE Bundle update@plugins/org.eclipse.jdt.ui_3.2.2.r322_v20070124.jar [37] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.search_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.compare_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.309
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.ltk.ui.refactoring_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.310
!MESSAGE Bundle update@plugins/org.eclipse.update.scheduler_3.2.2.R32x_v20061214.jar [39] was not resolved.
!SUBENTRY 2 org.eclipse.update.scheduler 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.update.ui_[3.1.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.310
!MESSAGE Bundle update@plugins/org.eclipse.compare_3.2.1.M20060711.jar [41] was not resolved.
!SUBENTRY 2 org.eclipse.compare 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.1.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.310
!MESSAGE Bundle update@plugins/org.eclipse.ltk.ui.refactoring_3.2.2.r322_v20070124.jar [44] was not resolved.
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.compare_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2009-01-05 17:22:43.310
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.310
!MESSAGE Bundle update@plugins/org.eclipse.ui.navigator.resources_3.2.1.M20060906-0800b.jar [63] was not resolved.
!SUBENTRY 2 org.eclipse.ui.navigator.resources 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.311
!MESSAGE Bundle update@plugins/org.eclipse.debug.ui_3.2.2.r322_v20070202.jar [74] was not resolved.
!SUBENTRY 2 org.eclipse.debug.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.debug.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.311
!MESSAGE Bundle update@plugins/org.eclipse.ui.ide_3.2.1.M20060915-1030.jar [80] was not resolved.
!SUBENTRY 2 org.eclipse.ui.ide 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.update.ui_[3.1.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.311
!MESSAGE Bundle update@plugins/org.eclipse.ant.ui_3.2.1.r321_v20060828.jar [84] was not resolved.
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing optionally required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing optionally required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.ui.externaltools_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.311
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.312
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ui_3.2.2.M20061121.jar [85] was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing optionally required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing optionally required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.team.cvs.core_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.compare_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ui 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.ui.navigator.resources_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.312
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ssh_3.2.1.M20061205.jar [90] was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ssh 2 0 2009-01-05 17:22:43.312
!MESSAGE Missing required bundle org.eclipse.team.cvs.core_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.312
!MESSAGE Bundle update@plugins/org.eclipse.ui.editors_3.2.1.r321_v20060721.jar [91] was not resolved.
!SUBENTRY 2 org.eclipse.ui.editors 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.313
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ssh2_3.2.1.M20061205.jar [93] was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ssh2 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.team.cvs.core_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ssh2 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.team.cvs.ssh_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ssh2 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.team.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.cvs.ssh2 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle com.jcraft.jsch_[0.1.18,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.313
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.core_3.2.2.M20061205.jar [94] was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.core 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle com.jcraft.jsch_[0.1.27,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.313
!MESSAGE Bundle update@plugins/org.eclipse.jdt.debug.ui_3.2.2.r322_v20061205.jar [102] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2009-01-05 17:22:43.313
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2009-01-05 17:22:43.314
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2009-01-05 17:22:43.314
!MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.314
!MESSAGE Bundle update@plugins/org.eclipse.search_3.2.1.r321_v20060726.jar [103] was not resolved.
!SUBENTRY 2 org.eclipse.search 2 0 2009-01-05 17:22:43.314
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.315
!MESSAGE Bundle update@plugins/org.eclipse.team.ui_3.2.1.M200608151725.jar [105] was not resolved.
!SUBENTRY 2 org.eclipse.team.ui 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing optionally required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.ui 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.compare_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.team.ui 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.ui.navigator.resources_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-01-05 17:22:43.315
!MESSAGE Bundle update@plugins/org.eclipse.jdt.junit_3.2.1.r321_v20060810/ [107] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.315
!MESSAGE Missing required bundle org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2009-01-05 17:22:43.316
!MESSAGE Missing required bundle org.eclipse.compare_[3.2.0,4.0.0).
------------------------------------------------------------------------------------------------------------------------------------------

Taellik
http://www.geocities.com/chainpunch

Re: Eclipse & Java SWING class Failure

PostPosted: 05 Jan 2009, 23:53
by ppietro
Taellik wrote:Step 8 *** Danger Danger Will Robinson *** Maj. West crashes Eclipse everytime on startup. Eclipse will not start, crashes with a log file dump.

Here's the dump log I get when Eclipse crashes. . . .
--------------------------------------------------------------------------------------------------------------------------
!SESSION 2009-01-05 17:22:34.679 -----------------------------------------------
eclipse.buildId=M20070212-1330
java.fullversion=GNU libgcj 4.1.2 20071124 (Red Hat 4.1.2-42)
BootLoader constants: OS=linux, ARCH=ppc, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch ppc


You've removed the .eclipse directory from your home directory?

If so, you may have to remove your workspace directory as well. You don't have to delete it - just rename it.

What I would do is remove eclipse entirely. Don't just use Add/Remove Programs --> General tab --> Applications --> Eclipse. Use the List tab and make sure anything named Eclipse is removed. Then, remove the .eclipse directory from your home directory. (i.e. rm -rf ~/.eclipse) Then, remove your Eclipse workspace directory after backing up the contents in another directory. (Usually rm -rf ~/workspace to remove.). Re-install Eclipse from Add/Remove Programs --> Applications on the General tab. Verify that which java yields /usr/bin/java and java -version is the GCJ version. Then start Eclipse. If that doesn't work - something is seriously wrong on your installation.

Cheers,
Paul

Re: Eclipse & Java SWING class Failure

PostPosted: 06 Jan 2009, 01:47
by Taellik
Hiya Paul,

Well Eclipse was dead. Then I went thru and added a shit load of Eclipse dependencies that got missed by the re-install. Thought those were supposed to be done automatically ?

Now catching up with your step-by-step guide after Step 8 - the Maj. West crash debacle !

Taellik
http://www.geocities.com/chainpunch