SCIENTIFIC-LINUX-USERS Archives

January 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steven Leikeim <[log in to unmask]>
Reply To:
Steven Leikeim <[log in to unmask]>
Date:
Tue, 4 Jan 2011 10:46:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
Happy New Year everyone.



We are having a problem with the Eclipse IDE (eclipse-platform-3.2.1-19.el5.x86_64)
in that it is not starting correctly. When we start Eclipse, doesn't matter
if it's started from the command line or Window Manger Menu, we get the message:

        An error has occured. See the log file ..../sleikeim/workspace/.metadata/.log

which contains:

------ .log file -----------------------
!SESSION 2010-11-04 14:03:34.285 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2010-11-04 14:03:36.426
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /usr/lib64/eclipse/configuration/org.eclipse.osg
i/bundles/101/1/.cp/libswt-pi-gtk-3235.so: /usr/lib64/eclipse/configuration/org.
eclipse.osgi/bundles/101/1/.cp/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS6
4 (Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1712)
----- Truncated end of .log file ---------------------------------

The last related updates to java appear to be on October 21st where jdk was
updated to 2000:jdk-1.6.0_22-fcs and java-1.6.0-sun-compat was updated to
java-1.6.0-sun-compat-1.6.0.22-3.sl5.jpp. (In both cases, both i586 and x86_64
architectures were updated.)

I tested this on a clean installation of Scientific Linux 5.5 (x86_64) with
the following results:

        - Basic minimal installation of Scientifc Linux 5.5 with the addition
          of eclipse-platform but no further updates - Eclipse works
        - Updated all RPMS **EXCEPT** jdk and java-1.6.0-sun-compat - Eclipse
          works.
        - Updated jdk and java-1.6.0-sun-compat - Eclipse crashes as noted
          above.

Finally, my questions are:

        - Is this a known issue? (If not is is now!! :) )
        - Is there a known workaround or update to fix this problem?

Any help to resolve this issue would be greatly appreciated.

Thanks,



Steven Leikeim

-- 

Steven Leikeim, GSEC-Gold        | We, the willing
Schulich School of Engineering   | led by the unknowing
Information Technologies         | are doing the impossible
                                 | for the ungrateful.
University of Calgary            | We have done so much
Calgary, Alberta                 | for so long with so little
                                 | we are now qualified
Phone: (403) 220-5373            | to do anything with nothing.

ATOM RSS1 RSS2