<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><p>Jakub,</p><p><br></p><p>Thanks for the info. It will take me some time to setup the test with the OSGi console<br></p><p>as I'll have to rollback my system when it's done, won't get to that before this weekend.</p><p><br></p><p>However what I cannot do is run without the latest Oracle java: that's the only one that</p><p>really works properly with some important apps I need, like Citrix. The tarball from</p><p>eclipse, as well as the packaged 3.7.2-1, work fine with it.</p><p><br></p><p>thanks,</p><p>--jack</p><br>--- On <b>Mon, 8/6/12, Jakub Adam <i><jakub.adam@ktknet.cz></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jakub Adam <jakub.adam@ktknet.cz><br>Subject: Re: eclipse: 3.8.0~rc4-1 exits with log error: Unable to acquire application<br>To: "JS"
<jshaio@yahoo.com><br>Cc: "683930@bugs.debian.org" <683930@bugs.debian.org><br>Date: Monday, August 6, 2012, 7:14 AM<br><br><div class="plainMail">Hi,<br><br>On 6.8.2012 04:41, JS wrote:<br>> I ran the eclipse 3.8.0 gotten straight from eclipse.org, without any change to my existing configuration or<br>> selection of java alternatives (of Oracle jre) and it ran perfectly fine. Further, I did not run eclipse as root.<br><br>Tarball from Eclipse.org is quite different in some aspects, it can write to any file in its installation<br>and because it carries all required libraries inside, it will work almost anywhere independent on the system.<br>It won't help much in investigating of this issue.<br><br>But you said Eclipse won't start even without your ~/.eclipse, so the problem is not there but somewhere else.<br><br>One test that can say us something more is running Eclipse with enabled OSGi console. Execute from the shell:<br><br>
eclipse -console -consoleLog -noExit<br><br>After a while you should be presented with the console, it should keep running even after Eclipse terminates<br>with error. Type 'ss' in the shell. Then you will see a list of loaded plugins like this:<br><br>id State Bundle<br>0 ACTIVE org.eclipse.osgi_3.8.0.dist<br>1 ACTIVE org.eclipse.equinox.simpleconfigurator_1.0.300.dist<br>2 ACTIVE com.ibm.icu_4.4.2.v20110823<br>3 RESOLVED com.jcraft.jsch_0.1.42<br>4 RESOLVED javax.el_2.2.0<br>5 RESOLVED javax.servlet_3.0.0.v201103241327<br>6 RESOLVED
javax.servlet.jsp_2.2.0.v201103241327<br>7 RESOLVED org.apache.ant_1.8.3.v20120321-1730<br>8 RESOLVED org.apache.commons.codec_1.4.0<br>9 RESOLVED org.apache.commons.httpclient_3.1.0<br>10 RESOLVED org.apache.commons.logging_1.0.4.v20080605-1930<br>...<br><br>Look if there are any bundles in INSTALLED State. Those are the ones that had some problem in initialization.<br>Run 'diag <bundle numeric id>' to see more information on that plugin, like any unresolved dependencies.<br><br>You can read some more information about OSGi console in this article [1].<br><br>> If the same upstream source works fine on my system but the debian package does not, isn't this more<br>> likely to be a packaging issue?<br><br>Maybe, I can't say for sure right now, as I don't have enough information
yet. Post here an output from your<br>OSGi console session, perhaps try to answer some questions from my previous mail. Can you run distribution<br>Eclipse with OpenJDK? Is a different user (with clean $HOME) able to run it?<br><br>> A similar issue arose with 3.7.2 in the earlier bug referenced in my email.<br><br>This was a problem with Oracle Java and its hardcoded search path for JNI libraries that doesn't include<br>/usr/lib/jni, where JNI libraries are placed according to Debian guidelines. Eventually we decided to put a<br>workaround patch into SWT package because many people are still using Oracle Java [2].<br><br>Nevertheless, with SWT 3.8.0 this should be fixed and there is no mention of ~/.swt/lib/linux/x86 in your error<br>logs, so your problem seems to have a different cause.<br><br>Regards,<br><br>Jakub<br><br>[1] <a href="http://www.eclipsezone.com/eclipse/forums/t99010.html"
target="_blank">http://www.eclipsezone.com/eclipse/forums/t99010.html</a><br>[2] <a href="http://anonscm.debian.org/gitweb/?p=pkg-java/swt-gtk.git;a=commit;h=c4fe7237fef825b2643993a7cf5e4b8cc1dc0285" target="_blank">http://anonscm.debian.org/gitweb/?p=pkg-java/swt-gtk.git;a=commit;h=c4fe7237fef825b2643993a7cf5e4b8cc1dc0285</a><br></div></blockquote></td></tr></table>