Jump to content

Eclipse...


ktambascio
 Share

Recommended Posts

Hi,

 

I can't seem to get Eclipse running on Mandrake 9. I have tried using both jdk1.3 and jdk1.4. I have tried using the latest release, and the latest stable build. I always get this error:

 

[kevin@localhost kevin]$ ./run_eclipse.sh

java.lang.UnsatisfiedLinkError: /opt/eclipse/plugins/org.eclipse.swt.gtk_2.0.1/os/linux/x86/libswt-pi-gtk-2049.so: /usr/lib/libpangoxft-1.0.so.0: undefined symbol: FT_Seek_Stream

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1414)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1322)

at java.lang.Runtime.loadLibrary0(Runtime.java:744)

at java.lang.System.loadLibrary(System.java:815)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:104)

at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)

at org.eclipse.swt.widgets.Display.createDisplay(Display.java:397)

at org.eclipse.swt.widgets.Display.create(Display.java:391)

at org.eclipse.swt.graphics.Device.<init>(Device.java:103)

at org.eclipse.swt.widgets.Display.<init>(Display.java:277)

at org.eclipse.swt.widgets.Display.<init>(Display.java:273)

at org.eclipse.ui.internal.Workbench.run(Workbench.java:1221)

at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:77

5)

at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)

at java.lang.reflect.Method.invoke(Native Method)

at org.eclipse.core.launcher.Main.basicRun(Main.java:247)

at org.eclipse.core.launcher.Main.run(Main.java:703)

at org.eclipse.core.launcher.Main.main(Main.java:539)

 

These are the versions of pango I have installed:

 

[kevin@localhost kevin]$ rpm -qa | grep pango

pango-1.0.4-1mdk

libpango1.0_0-devel-1.0.4-1mdk

libpango1.0_0-1.0.4-1mdk

 

Doing a search on google did not show anything. It appears there is a missing symbol in pango that is not on my machine.

 

Any ideas?

Thanks,

Kevin

[kevin@localhost kevin]$

Link to comment
Share on other sites

First questions first: What java implementation are you using - sun, ibm, etc? (Personally, I would use the sun jdk)

 

Second: Is java - both the jdk and jre - properly setup on your computer? This means that your JAVA_HOME variable is properly setup. To test this, open a console and type echo $JAVA_HOME and it should tell you the directory that the jdk is in.

 

I have Eclipse running on my computer - Red Hat 7.3 - without any problems. However, the first two things must be properly setup in order for it to run.

Link to comment
Share on other sites

I have tried it with Sun 1.3 and 1.4. I have them installed in /usr/jdk1.3.1 and /usr/j2sdk1.4.0_02. I then created a symlink called /usr/java, which can point to either.

 

Then I started eclipse like this: /opt/eclipse/eclipse -vm /usr/java/bin/java -ws gtk -data $HOME/eclipse

 

Using either flavor of java did not make a difference. I have not tried IBM java yet. I did a 'export JAVA_HOME=/usr/java', and then ran the above command line, and I still got the crash.

Link to comment
Share on other sites

This problem is unrelated to Java but libpango and probably also freetype.

 

I had the same problem recently after installing a custom-made freetype package (Texstar distribution). At the moment I have official (lib)pango 1.0.5, freetype 2.1.2 and Eclipse works again. Try it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...