Now JDK 9 is officially released, I updated my Mac OSX to launch Java SE Development Kit 9.
Android Device Monitor ( /Library/Android/sdk/tools/monitor ) no longer works. Logs are here:
!ENTRY org.eclipse.osgi 4 0 2017-09-24 13:30:55.822 `enter code here`!MESSAGE Application error !STACK 1 java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini). at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
I was able to fix a similar problem for Eclipse Oxygen by adding
--add-modules=java.se.ee
in eclipse.ini , as SO Neon explains in this answer : how to work on jdk9? . This fixes the Eclipse problem 100%, so now I can start eclipse without any problems, but the Android device monitor still does not work.
I already tried the solution "Unable to get application service" when starting Eclipse without success.
Is there anything else that needs to be configured?
source share