Results 1 to 5 of 5
I've been tring to get Eclipse running on Mandrake 10 for several days now. I've tried updating GTK+ to 2.6.1, and all I got were a few new errors. If ...
- 01-27-2005 #1Just Joined!
- Join Date
- Jan 2005
- Posts
- 4
Eclipse 3 on Mandrake 10 [solved]
I've been tring to get Eclipse running on Mandrake 10 for several days now. I've tried updating GTK+ to 2.6.1, and all I got were a few new errors. If anyone's seen this problem before, I'd appreciate any help. When I try to start eclipse from the console (declaring the virtual machine with -vm) I get the eclipse splash then it promptly dies and spits out the folowing error messages. The first section deals with my main problem. The last two lines are new. They appeared after I upgraded GTK. (I'm running KDE if that makes a difference). I know it's not a problem with the jre. I've tested it seperately from eclipse, and it runs fine. My (speculative) guess is that there's a problem with the particular build of Mandrake I'm using. (btw, I've done dozens of google searches and found only spatterings of others with the same problems, none of which had actually solved them as far as I could tell..)
My errors msgs (from the console):
Auto generated error log (very similar)Code:org.osgi.framework.BundleException: Unable to find system bundle manifest file. at org.eclipse.osgi.framework.adaptor.core.SystemBundleData.createManifest(SystemBundleData.java:73) at org.eclipse.osgi.framework.adaptor.core.SystemBundleData.<init>(SystemBundleData.java:34) at org.eclipse.osgi.framework.adaptor.core.AbstractFrameworkAdaptor.createSystemBundleData(AbstractFrameworkAdaptor.java:294) at org.eclipse.osgi.framework.internal.core.SystemBundle.<init>(SystemBundle.java:41) at org.eclipse.osgi.framework.internal.core.Framework.createSystemBundle(Framework.java:187) at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:152) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:95) at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90) at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:215) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) (eclipse:10946): Gtk-WARNING **: Unable to locate theme engine in module_path: "galaxy", (eclipse:10946): Gtk-WARNING **: Unable to locate theme engine in module_path: "galaxy",
FYI, if it isn't obvious, I'm a noob to linux. I'd be most appreciative if any help was dumbed down a bit so I don't get too lost in methods and commands I don't know yet.Code:!SESSION Jan 27, 2005 00:18:42.855 --------------------------------------------- eclipse.buildId=M200409161125 java.version=1.5.0_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US !ENTRY org.eclipse.osgi Jan 27, 2005 00:18:42.856 !MESSAGE Startup error !STACK 1 java.lang.RuntimeException: Exception while creating System Bundle: Unable to find system bundle manifest file. at org.eclipse.osgi.framework.internal.core.Framework.createSystemBundle(Framework.java:253) at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:152) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:95) at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.java:90) at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:215) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) !SESSION Thu Jan 27 00:18:42 EST 2005 ------------------------------------------ !ENTRY org.eclipse.core.launcher 4 0 Jan 27, 2005 24:18:42.860 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.NullPointerException at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
- 01-27-2005 #2
can you post exactly what you are typing to start this? I always jsut use eclipse-3 but get none of this extra debugging output, it might have something to do with how its finding your vm, if you declare a location, then its appending PREFIX or PATH to that...
- 01-27-2005 #3Linux Engineer
- Join Date
- Nov 2004
- Location
- Montreal, Canada
- Posts
- 1,267
Have you tested by downgrading your GTK2?
Since Eclipse doesnt have any "setup" it's almost certain it requires special linked file, but this s only a guess\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps
- 01-27-2005 #4Just Joined!
- Join Date
- Jan 2005
- Posts
- 4
For the longest time I was typing ./eclipse -vm /usr/java/jdk5/bin/java (or variants on that depending on the directory I was in). When I dont' declare the virtual machine, I don't even get the splash. Instead I get an error alert that says the VM can't be fould in the default directory which is /usr/java/eclipseGTK/jre/bin/java. I've also tried using different executables at the VM including java_vm and the java executables in other folders like $java_home/jre/bin/java/, $java_home/bin/java/, and a couple others. (I can't remember them offhand and I posting from a different computer right now). I got tired of setting the VM path each time after a while so I tried setting the $PATH enviornment variable to /usr/java/jdk5/bin/java (or something similar) and it "worked" in the same way as if I had used the -vm parameter, but still didn't actually work and crashed moments after the splah appeared as it had before. My guess is that it does have something to do with an enviornment variable or two, but I dont' really know squat about them yet or how to use them, so I don't know how to go about trying/testing different values. Oh, I did do some digging around in the eclipse folders and found the jar that eclipse was trying to access or read or generate a manifest from. (Again, I can't remember the name offhand, but I'll look when I get home.) So, It's also possible that it's having trouble reading one of it's own files, though I doubt that rules out the VM as being the culprit. By "found" I mean I looked through the files in it and found the directory structure described in the error message. I didn't find any of the .java files listed in the error report, but I did find the compiled .class equivilants. I couldn't think of anything to do with that discovery though so I gave up on it.
As for the GTK. I was actually having the same loading problems before I upgraded. The only change after I made the upgrade was the GTK warnings at the bottom of the console printout. After that I tracked down an RPM that supposedly installed the galaxy module (it also asked my to put in one of my install discs), but there was no change afterward. I ran ldconfig at random times to see if it made a difference (for either problem) but there was no apparent change.[/i]
- 01-28-2005 #5Just Joined!
- Join Date
- Jan 2005
- Posts
- 4
UPDATE:
I figured it out! And now I feel kinda silly..
It turned out that unzipping the eclipse...zip file did more than just decompress the files inside it. Before, I was unzipping into my "installers" folder then moving the new .../eclipse directory to /usr/java/ where I wanted to actaully keep it. That's what I had done every time I had installed it in Windows and I though it would certainly work the same way in Linux. I thought wrong. On a hunch I had after reading from another (very unclear) forum, I tried unzipping it straight into /usr/java/ instead. I switched to command line, ran the command just as before (still declaring the VM) and, lo-and-behold, it started just fine.
Thanks for taking a look anyway guys.
..sigh... and I spent how many days trying to figure this out?
Oh well.
Oh, BTW: I still get the GTK warnings though. They didn't keep eclipse from starting up right though, so I'm not going to worry about it right now...


Reply With Quote
