<html><body><div style="color:; background-color:; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Jakub,<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: "Times New Roman"; background-color: transparent; font-style: normal"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span>I retried your suggestion but never got the console to look for the output you suggested. Below is all I saw<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span>(also tried adding the -clean option, with the same result).<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New
Roman""><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span>Oracle/Sun java is needed for some applications I use as unfortunately they don't work well with open-jdk-7,<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span>so I will have to live with eclipse-3.7.2.<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span>thanks,<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal;
font-family: "Times New Roman""><span>--jack<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span><br><br> jack@berkeley:~ => eclipse -console -consoleLog -noExit<br> !SESSION 2012-08-10 23:05:56.732 -----------------------------------------------<br> eclipse.buildId=unknown<br> java.version=1.7.0_05<br> java.vendor=Oracle Corporation<br> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US<br> Command-line arguments: -os linux -ws gtk -arch x86 -console -consoleLog<br><br> !ENTRY org.eclipse.osgi 4 0 2012-08-10 23:05:56.964<br> !MESSAGE Could not find bundle: org.eclipse.equinox.console<br> !STACK 0<br> org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console<br> at
org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br> at java.lang.reflect.Method.invoke(Unknown Source)<br> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)<br> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)<br> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)<br><br> !ENTRY org.eclipse.osgi 4 0 2012-08-10 23:05:56.972<br> !MESSAGE Application error<br> !STACK 1<br>
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).<br> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)<br> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br> at java.lang.reflect.Method.invoke(Unknown Source)<br> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)<br> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)<br> at
org.eclipse.equinox.launcher.Main.run(Main.java:1438)<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; background-color: transparent; font-style: normal; font-family: "Times New Roman""><span> <br></span><br></div> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Jakub Adam
<jakub.adam@ktknet.cz><br> <b><span style="font-weight: bold;">To:</span></b> JS <jshaio@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "683930@bugs.debian.org" <683930@bugs.debian.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, August 6, 2012 7:14 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: eclipse: 3.8.0~rc4-1 exits with log error: Unable to acquire application<br> </font> </div> <br>
Hi,<br><br>On 6.8.2012 04:41, JS wrote:<br>> I ran the eclipse 3.8.0 gotten straight from <a target="_blank" href="http://eclipse.org/">eclipse.org</a>, 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] http://www.eclipsezone.com/eclipse/forums/t99010.html<br>[2] http://anonscm.debian.org/gitweb/?p=pkg-java/swt-gtk.git;a=commit;h=c4fe7237fef825b2643993a7cf5e4b8cc1dc0285<br><br><br> </div> </div> </div></body></html>