Eclipse Juno (4.2.1) and RedHat 5.8 64bit [message #956445] |
Wed, 24 October 2012 10:14  |
Eclipse User |
|
|
|
Hi!
I donwlowded eclipse 4.2.1 64bit version to use it on Redhat 5.8 64bit.
I have
-unziped and untared the pkg into a local directory /home/eclipse_4.2.1.
(no eclipse.ini modifications from my side)
-Java jdk/1.7.0-05 (64bit version), JAVA_HOME is /opt/jdk_1.7.0-05
java -version call shows:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
Immediately after call of ./eclipse following error occure:
/home/eclipse_4.2.1//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so: invalid ELF header
Additional a msg box pops up with following content:
"The Eclipse executable launcher was unable to locate its companion shared library"
I confirm the msg box and eclipse ends!
Can anyone help?
Best regards,
Otmar
|
|
|
|
|
Re: Eclipse Juno (4.2.1) and RedHat 5.8 64bit [message #957754 is a reply to message #957736] |
Thu, 25 October 2012 09:14   |
Eclipse User |
|
|
|
On 10/25/2012 07:01 AM, Otmar Zikulnig wrote:
> Hi Dani!
>
> Thx for your link!
>
> I made folowing attempts, but all without sucess :(
>
> First, I set env var ECLIPSEHOME with absolute path to eclipse install
> dir, then I
>
> a) call with (java version 1.6 and 1.7)
> java -jar plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
>
> result for both java versions:
>
> !SESSION Thu Oct 25 14:43:28 MEST 2012
> -----------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2012-10-25 14:43:28.390
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>
> b) call it directly with -vm
>
> /eclipse -vm /opt/jdk_1.7.0-05/bin/java
>
> results in the same ".../eclipse_1502.so: invalid ELF heder" error msg
> from my inital posting
>
> c) insert -vm /opt/jdk_1.7.0_05/bin/java into eclipse.ini before my
> inital posting without success
>
>
> I attempted to call Eclipse Juno like described fpr Eclipse 3.2 but i
> did not found any "eclipse/startup*" jar file.
>
>
> Eclipse Juno starts and works perfekt on my Win7 host but not on Linux
> Redhat 5.8!
>
>
> regards,
> Otmar
Otmar,
You understood that using the -vm option, you must put it on two
separate lines in eclipse.ini, right?
-vm
/opt/jdk_1.7.0_05/bin/java
Still, corrupt ELF header would indicate that the file eclipse_1502.so
is bad. Perhaps redoing your installation exploding a tarball from a
fresh download?
Best of luck.
|
|
|
Re: Eclipse Juno (4.2.1) and RedHat 5.8 64bit [message #962664 is a reply to message #957754] |
Mon, 29 October 2012 04:27  |
Eclipse User |
|
|
|
Hi Russell!
I redownload eclipse 4.2.1 64bit (unter Windows OS) for Linux and unzip and untar under Linux and it works without and problems .
Just to document my problem:
With my first download (default mirror for 64bit), download under Windows + unzip and untar with 7-Zip on Windows and move then to Linux enviroment, I face the ELF problem.
But now it works.
Thx to you and Dani for your replys.
Best regards,
Otmar
|
|
|
Powered by
FUDForum. Page generated in 0.09026 seconds