I'm able to open an instance of STS via command line on a Mac:
open -a /Applications/STS.app --args -data ~/abc/spring-security/ -clean -showlocation -vmargs -Xmx1024m -XX:MaxPermSize=256m
however it stops working as soon as I attempt to wrap it as an AppleScript:
do shell script "open -a /Applications/STS.app --args -data ~/abc/spring-security/ -clean -showlocation -vmargs -Xmx1024m -XX:MaxPermSize=256m"
with the following:
!SESSION 2018-10-24 10:27:37.172 -----------------------------------------------
eclipse.buildId=3.9.3.201803200915-RELEASE-e47
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.springsource.sts.ide -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.springsource.sts.ide -data /Users/simeonleyzerzon/abc/spring-security/ -clean -showlocation
!ENTRY org.eclipse.ui 2 0 2018-10-24 10:27:49.063
!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point.
!SUBENTRY 1 org.eclipse.ui 2 0 2018-10-24 10:27:49.063
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'
!ENTRY org.eclipse.core.net 1 0 2018-10-24 10:27:49.243
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2018-10-24 10:27:54.986
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2018-10-24 10:27:54.986
!MESSAGE A conflict occurred for ALT+COMMAND+R:
Binding(ALT+COMMAND+R,
ParameterizedCommand(Command(org.python.pydev.debug.setnext,Set Next Statement,
,
Category(org.python.pydev.ui.category.run,PyDev - Run,Python run category,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#6b84508a,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+COMMAND+R,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename - Refactoring ,
Rename the selected element,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#3c48334b,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2018-10-24 10:27:54.986
!MESSAGE A conflict occurred for COMMAND+SHIFT+T:
Binding(COMMAND+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#16923216,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(COMMAND+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#85a94c8,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.ui 2 2 2018-10-24 10:27:56.170
!MESSAGE org.eclipse.jdt.junit.ResultView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-24 10:27:56.171
!MESSAGE org.springframework.ide.eclipse.aop.ui.navigator.aopReferenceModelNavigator: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-24 10:27:56.171
!MESSAGE org.eclipse.contribution.xref.ui.views.XReferenceView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.jface.text 2 0 2018-10-24 10:27:57.578
!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.number'
!ENTRY org.eclipse.jface.text 2 0 2018-10-24 10:27:57.579
!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.round'
!ENTRY org.jkiss.dbeaver.model 2 0 2018-10-24 10:28:00.355
!MESSAGE Project 'RemoteSystemsTempFiles' not found in registry
!SESSION 2018-10-24 10:37:18.756 -----------------------------------------------
eclipse.buildId=3.9.3.201803200915-RELEASE-e47
java.version=10
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.springsource.sts.ide -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.springsource.sts.ide -data /Users/simeonleyzerzon/abc/spring-security/ -clean -showlocation
!ENTRY org.eclipse.osgi 4 0 2018-10-24 10:37:31.529
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 24 more
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-10-24 10:37:31.537
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 21 more
!SESSION 2018-10-24 10:37:46.365 -----------------------------------------------
eclipse.buildId=3.9.3.201803200915-RELEASE-e47
java.version=10
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.springsource.sts.ide -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.springsource.sts.ide -data /Users/simeonleyzerzon/abc/spring-security/ -clean -showlocation
!ENTRY org.eclipse.osgi 4 0 2018-10-24 10:37:57.312
!MESSAGE Application error
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 22 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 24 more
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-10-24 10:37:57.319
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 21 more
How does one create a script to start Eclipse (STS) on a Mac? I'm trying to replicate on a Mac a similar behavior of a Windows batch file, e.g.:
start /B C:\sts-bundle\sts-3.8.4.RELEASE\STS.exe -data %~dp0 -clean -showlocation -vmC:\Java\java-8 -vmargs -Xmx1024m -XX:MaxPermSize=256m -javaagent:"C:\Users\Simeon\.m2\repository\org\projectlombok\lombok\1.16.8\lombok-1.16.8.jar" -Xbootclasspath/a:"C:\Users\Simeon\.m2\repository\org\projectlombok\lombok\1.16.8\lombok-1.16.8.jar"
Any pointers and best practices in AppleScript are appreciated.
UPDATE:
As per #greg-449's comment I've updated the command in the script editor (removed the space):
do shell script "open -a /Applications/STS.app --args -data ~/abc/spring-security/ -clean -showlocation -vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk -vmargs -Xmx1024m -XX:MaxPermSize=256m"
which:
pops up an error dialog (with same contents then persisted in the Apple Script Editor):
error "sh: line 1: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk: is a directory" number 126
allows for STS to open (unlike before)
contains the following error(s) in STS's .metadata/.log:
!SESSION 2018-10-24 21:03:22.116 ----------------------------------------------- eclipse.buildId=3.9.3.201803200915-RELEASE-e47 java.version=10 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.springsource.sts.ide Command-line arguments: -os macosx -ws cocoa
-arch x86_64 -product org.springsource.sts.ide -data /Users/simeonleyzerzon/abc/spring-security/ -clean
!ENTRY org.eclipse.ui 2 0 2018-10-24 21:03:37.575 !MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point. !SUBENTRY 1 org.eclipse.ui 2 0 2018-10-24 21:03:37.575 !MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'
!ENTRY org.eclipse.core.net 1 0 2018-10-24 21:03:37.846 !MESSAGE System property http.nonProxyHosts has been set to local|.local|169.254/16|.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2018-10-24 21:03:45.223 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2018-10-24 21:03:45.224 !MESSAGE A conflict occurred for ALT+COMMAND+R: Binding(ALT+COMMAND+R, ParameterizedCommand(Command(org.python.pydev.debug.setnext,Set Next Statement, , Category(org.python.pydev.ui.category.run,PyDev - Run,Python run category,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#a0682a3, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(ALT+COMMAND+R, ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename
Refactoring , Rename the selected element, Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#1f018208, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,cocoa,system) !SUBENTRY 1 org.eclipse.jface 2 0 2018-10-24 21:03:45.224 !MESSAGE A conflict occurred for COMMAND+SHIFT+T: Binding(COMMAND+SHIFT+T, ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, Open a type in a Java editor, Category(org.eclipse.ui.category.navigate,Navigate,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#801c0e8, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(COMMAND+SHIFT+T, ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace, , Category(org.eclipse.lsp4e.category,Language Servers,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#5aa2493f, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.ui 2 2 2018-10-24 21:03:46.694 !MESSAGE org.eclipse.jdt.junit.ResultView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-24 21:03:46.695 !MESSAGE org.springframework.ide.eclipse.aop.ui.navigator.aopReferenceModelNavigator: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-24 21:03:46.695 !MESSAGE org.eclipse.contribution.xref.ui.views.XReferenceView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.jface.text 2 0 2018-10-24 21:03:48.503 !MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.number'
!ENTRY org.eclipse.jface.text 2 0 2018-10-24 21:03:48.504 !MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.round'
!ENTRY org.jkiss.dbeaver.model 2 0 2018-10-24 21:03:51.613 !MESSAGE Project 'RemoteSystemsTempFiles' not found in registry
Looks like I got further along but there are still some issues. Yes, I do have PyDev, DBeaver plugins installed which till now didn't cause issues.
===
As per Martin's suggestion, I tried to point to Java executable is Apple script:
do shell script "open -a /Applications/STS.app --args -data ~/abc/spring-security/ -clean -showlocation -vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -vmargs -Xmx1024m -XX:MaxPermSize=256m"
Now, Script Editor complains with the following:
error "Unrecognized option: -vmargs
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit." number 1
the new workspace (and an STS instance) is being created with the following (which looks very similar to the previous try without pointing to a java exec:
!SESSION 2018-10-25 13:52:05.053 -----------------------------------------------
eclipse.buildId=3.9.3.201803200915-RELEASE-e47
java.version=10
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.springsource.sts.ide -data /Users/simeonleyzerzon/abc/spring-security/ -clean
!ENTRY org.eclipse.ui 2 0 2018-10-25 13:52:20.096
!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point.
!SUBENTRY 1 org.eclipse.ui 2 0 2018-10-25 13:52:20.096
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'
!ENTRY org.eclipse.core.net 1 0 2018-10-25 13:52:20.356
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
!ENTRY org.eclipse.jface 2 0 2018-10-25 13:52:26.785
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2018-10-25 13:52:26.786
!MESSAGE A conflict occurred for ALT+COMMAND+R:
Binding(ALT+COMMAND+R,
ParameterizedCommand(Command(org.python.pydev.debug.setnext,Set Next Statement,
,
Category(org.python.pydev.ui.category.run,PyDev - Run,Python run category,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#7a8623b1,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+COMMAND+R,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename - Refactoring ,
Rename the selected element,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#3b2fac55,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2018-10-25 13:52:26.786
!MESSAGE A conflict occurred for COMMAND+SHIFT+T:
Binding(COMMAND+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#4866eb17,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(COMMAND+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#45b94c10,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.ui 2 2 2018-10-25 13:52:28.210
!MESSAGE org.eclipse.jdt.junit.ResultView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-25 13:52:28.213
!MESSAGE org.springframework.ide.eclipse.aop.ui.navigator.aopReferenceModelNavigator: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.ui 2 2 2018-10-25 13:52:28.213
!MESSAGE org.eclipse.contribution.xref.ui.views.XReferenceView: Deprecated relationship "fast" should be converted to "stack".
!ENTRY org.eclipse.jface.text 2 0 2018-10-25 13:52:30.187
!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.number'
!ENTRY org.eclipse.jface.text 2 0 2018-10-25 13:52:30.187
!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.round'
!ENTRY org.jkiss.dbeaver.model 2 0 2018-10-25 13:52:32.968
!MESSAGE Project 'RemoteSystemsTempFiles' not found in registry
By the way, in the past (on Windows machines) I always pointed to the home of Java and it never complained, nor it ever complained about no space after -vm:
start /B C:\sts-bundle\sts-3.8.4.RELEASE\STS.exe -data %~dp0 -clean -showlocation -vmC:\Java\java-8 -vmargs -Xmx1024m -XX:MaxPermSize=256m -javaagent:"C:\Users\Simeon\.m2\repository\org\projectlombok\lombok\1.16.8\lombok-1.16.8.jar" -Xbootclasspath/a:"C:\Users\Simeon\.m2\repository\org\projectlombok\lombok\1.16.8\lombok-1.16.8.jar"
I tried this with the latest Spring Tools 4 for Eclipse distribution and it seems to work fine. Here is what I did and what I think is important:
try the pure command line first and include a -vm option in there.
I tried this and it works just fine, starting up my distribution using the specified JDK:
open -a /sts4r/SpringToolSuite4.app --args -vm /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java -data ~/Documents/workspace-from-command-line1/ -clean -showlocation -vmargs -Xmx1024m -XX:MaxPermSize=256m
Please note that the -vm option is the first one right after --args, this is important, I think.
Then I wrapped this in an Apple Script like you did:
do shell script "open -a /sts4r/SpringToolSuite4.app --args -vm /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java -data ~/Documents/workspace-from-command-line1/ -clean -showlocation -vmargs -Xmx1024m -XX:MaxPermSize=256m"
This works, too (tried it in the Script Editor).
I would recommend to run your STS installation using a JDK 8 though (not the JDK 10 that I used here).
Hope this helps!
I have been trying to install eclipse neon for android. Once the ide comes up, it has errors concerning startup, errors in projects that I created using android studio that I haven't even opened in eclipse, as well as DDMS errors.
This happens every time I startup eclipse. After following several tutorials on installing and configuring the ide, installing and uninstalling eclipse over and over, I'm hoping someone here knows how to get the software up and running enough to do even a Hello World project.
Here is the error log.
!ENTRY org.eclipse.ui 2 2 2017-07-02 06:36:45.022 !MESSAGE Invalid
preference category path: org.eclipse.andmore.platform.ui.preference
(bundle: org.eclipse.andmore.android, page:
org.eclipse.andmore.android.emulator.preferencepage) !SESSION
2017-07-02 06:37:23.974
----------------------------------------------- eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_131
java.vendor=Oracle Corporation BootLoader constants: OS=win32,
ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product
org.eclipse.epp.package.android.product -product
org.eclipse.epp.package.android.product -product
org.eclipse.epp.package.android.product Command-line arguments: -os
win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.android.product -product
org.eclipse.epp.package.android.product -data
file:/C:/Users/flash/workspace/ -product
org.eclipse.epp.package.android.product
!ENTRY org.eclipse.andmore 4 0 2017-07-02 06:37:34.583 !MESSAGE
projectOpenedWithWorkspace: failed to find manifest package for
project Themes
!ENTRY org.eclipse.egit.ui 2 0 2017-07-02 06:37:34.677 !MESSAGE
Warning: The environment variable HOME is not set. The following
directory will be used to store the Git user global configuration and
to define the default location to store repositories:
'C:\Users\flash'. If this is not correct please set the HOME
environment variable and restart Eclipse. Otherwise Git for Windows
and EGit might behave differently since they see different
configuration options. This warning can be switched off on the Team >
Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.ui.workbench 4 2 2017-07-02 06:37:36.097 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench". !STACK 1
org.eclipse.core.runtime.CoreException: Executable extension
definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 06:37:36.098 !MESSAGE
Executable extension definition for "class" not found. !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 06:37:36.098 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 4 0 2017-07-02 06:37:36.150 !MESSAGE Unable to
execute early startup code for the org.eclipse.ui.IStartup extension
contributed by the 'org.eclipse.sequoyah.device.framework.wizard'
plug-in. !STACK 1 org.eclipse.core.runtime.CoreException: Executable
extension definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 06:37:36.151 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 2 2 2017-07-02 06:40:14.407 !MESSAGE Invalid
preference category path: org.eclipse.andmore.platform.ui.preference
(bundle: org.eclipse.andmore.android, page:
org.eclipse.andmore.android.emulator.preferencepage)
!ENTRY org.eclipse.andmore.ddms 4 0 2017-07-02 10:29:58.095 !MESSAGE
DDMS files not found: C:\Program Files
(x86)\Android\android-sdk-windows\platform-tools\hprof-conv.exe
eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_131
java.vendor=Oracle Corporation BootLoader constants: OS=win32,
ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product
org.eclipse.epp.package.android.product Command-line arguments: -os
win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.android.product
!ENTRY org.eclipse.egit.ui 2 0 2017-07-02 17:59:55.338 !MESSAGE
Warning: The environment variable HOME is not set. The following
directory will be used to store the Git user global configuration and
to define the default location to store repositories:
'C:\Users\flash'. If this is not correct please set the HOME
environment variable and restart Eclipse. Otherwise Git for Windows
and EGit might behave differently since they see different
configuration options. This warning can be switched off on the Team >
Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.andmore.ddms 4 0 2017-07-02 17:59:58.145 !MESSAGE
DDMS files not found: C:\Program Files
(x86)\Android\android-sdk-windows\platform-tools\hprof-conv.exe
!ENTRY org.eclipse.ui.workbench 4 2 2017-07-02 18:00:05.465 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench". !STACK 1
org.eclipse.core.runtime.CoreException: Executable extension
definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:00:05.496 !MESSAGE
Executable extension definition for "class" not found. !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:00:05.496 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 4 0 2017-07-02 18:00:05.583 !MESSAGE Unable to
execute early startup code for the org.eclipse.ui.IStartup extension
contributed by the 'org.eclipse.sequoyah.device.framework.wizard'
plug-in. !STACK 1 org.eclipse.core.runtime.CoreException: Executable
extension definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:00:05.584 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 2 2 2017-07-02 18:00:18.363 !MESSAGE Invalid
preference category path: org.eclipse.andmore.platform.ui.preference
(bundle: org.eclipse.andmore.android, page:
org.eclipse.andmore.android.emulator.preferencepage)
!ENTRY org.eclipse.core.resources 4 2 2017-07-02 18:07:04.902 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources". !STACK 0 java.lang.NullPointerException
at
org.eclipse.andmore.internal.build.builders.BaseBuilder.abortOnBadSetup(BaseBuilder.java:325)
at
org.eclipse.andmore.internal.build.builders.ResourceManagerBuilder.build(ResourceManagerBuilder.java:92)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:487)
at
org.eclipse.core.internal.resources.Workspace.build(Workspace.java:399)
at
org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.core.resources 4 2 2017-07-02 18:07:05.104 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.core.resources". !STACK 0 java.lang.NullPointerException
at
org.eclipse.andmore.internal.build.builders.BaseBuilder.abortOnBadSetup(BaseBuilder.java:325)
at
org.eclipse.andmore.internal.build.builders.ResourceManagerBuilder.build(ResourceManagerBuilder.java:92)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:487)
at
org.eclipse.core.internal.resources.Workspace.build(Workspace.java:399)
at
org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.core.resources 4 75 2017-07-02 18:07:05.160
!MESSAGE Errors occurred during the build. !SUBENTRY 1
org.eclipse.andmore 4 75 2017-07-02 18:07:05.160 !MESSAGE Errors
running builder 'Android Resource Manager' on project 'Themes'. !STACK
0 java.lang.NullPointerException at
org.eclipse.andmore.internal.build.builders.BaseBuilder.abortOnBadSetup(BaseBuilder.java:325)
at
org.eclipse.andmore.internal.build.builders.ResourceManagerBuilder.build(ResourceManagerBuilder.java:92)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:487)
at
org.eclipse.core.internal.resources.Workspace.build(Workspace.java:399)
at
org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!STACK 0 java.lang.NullPointerException at
org.eclipse.andmore.internal.build.builders.BaseBuilder.abortOnBadSetup(BaseBuilder.java:325)
at
org.eclipse.andmore.internal.build.builders.ResourceManagerBuilder.build(ResourceManagerBuilder.java:92)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
at
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:487)
at
org.eclipse.core.internal.resources.Workspace.build(Workspace.java:399)
at
org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SESSION
2017-07-02 18:07:15.206
----------------------------------------------- eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_131
java.vendor=Oracle Corporation BootLoader constants: OS=win32,
ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product
org.eclipse.epp.package.android.product Command-line arguments: -os
win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.android.product
!ENTRY org.eclipse.andmore.ddms 4 0 2017-07-02 18:07:23.414 !MESSAGE
DDMS files not found: C:\Program Files
(x86)\Android\android-sdk-windows\platform-tools\hprof-conv.exe
!ENTRY org.eclipse.egit.ui 2 0 2017-07-02 18:07:23.622 !MESSAGE
Warning: The environment variable HOME is not set. The following
directory will be used to store the Git user global configuration and
to define the default location to store repositories:
'C:\Users\flash'. If this is not correct please set the HOME
environment variable and restart Eclipse. Otherwise Git for Windows
and EGit might behave differently since they see different
configuration options. This warning can be switched off on the Team >
Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:07:25.408 !MESSAGE Failed
to load properties file for project 'Themes'
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:07:25.444 !MESSAGE Failed
to load properties file for project 'UC'
!ENTRY org.eclipse.ui.workbench 4 2 2017-07-02 18:07:25.577 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench". !STACK 1
org.eclipse.core.runtime.CoreException: Executable extension
definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:07:25.578 !MESSAGE
Executable extension definition for "class" not found. !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:07:25.578 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 4 0 2017-07-02 18:07:25.603 !MESSAGE Unable to
execute early startup code for the org.eclipse.ui.IStartup extension
contributed by the 'org.eclipse.sequoyah.device.framework.wizard'
plug-in. !STACK 1 org.eclipse.core.runtime.CoreException: Executable
extension definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:07:25.604 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 2 2 2017-07-02 18:08:37.257 !MESSAGE Invalid
preference category path: org.eclipse.andmore.platform.ui.preference
(bundle: org.eclipse.andmore.android, page:
org.eclipse.andmore.android.emulator.preferencepage) !SESSION
2017-07-02 18:15:46.766
----------------------------------------------- eclipse.buildId=4.6.3.M20170301-0400 java.version=1.8.0_131
java.vendor=Oracle Corporation BootLoader constants: OS=win32,
ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product
org.eclipse.epp.package.android.product Command-line arguments: -os
win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.android.product
!ENTRY org.eclipse.osgi 2 0 2017-07-02 18:16:19.078 !MESSAGE While
loading class "org.eclipse.egit.ui.internal.ConfigurationChecker$1$1",
thread "Thread[Worker-1,5,main]" timed out waiting (5201ms) for thread
"Thread[main,6,main]" to finish starting bundle
"org.eclipse.egit.ui_4.6.1.201703071140-r [240]". To avoid deadlock,
thread "Thread[Worker-1,5,main]" is proceeding but
"org.eclipse.egit.ui.internal.ConfigurationChecker$1$1" may not be
fully initialized. !STACK 0 org.osgi.framework.BundleException: Unable
to acquire the state change lock for the module: osgi.identity;
type="osgi.bundle"; version:Version="4.6.1.201703071140-r";
osgi.identity="org.eclipse.egit.ui"; singleton:="true" [id=240]
STARTED [STARTED] at
org.eclipse.osgi.container.Module.lockStateChange(Module.java:337) at
org.eclipse.osgi.container.Module.start(Module.java:401) at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at
org.eclipse.egit.ui.internal.ConfigurationChecker$1.run(ConfigurationChecker.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused
by: java.util.concurrent.TimeoutException: Timeout after waiting 5
seconds to acquire the lock. at
org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 13 more Root exception: java.util.concurrent.TimeoutException:
Timeout after waiting 5 seconds to acquire the lock. at
org.eclipse.osgi.container.Module.lockStateChange(Module.java:334) at
org.eclipse.osgi.container.Module.start(Module.java:401) at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at
org.eclipse.egit.ui.internal.ConfigurationChecker$1.run(ConfigurationChecker.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.egit.ui 2 0 2017-07-02 18:17:14.279 !MESSAGE
Warning: The environment variable HOME is not set. The following
directory will be used to store the Git user global configuration and
to define the default location to store repositories:
'C:\Users\flash'. If this is not correct please set the HOME
environment variable and restart Eclipse. Otherwise Git for Windows
and EGit might behave differently since they see different
configuration options. This warning can be switched off on the Team >
Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:17:17.545 !MESSAGE
projectOpenedWithWorkspace: failed to find manifest package for
project Themes
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:17:17.545 !MESSAGE
projectOpenedWithWorkspace: failed to find manifest package for
project UC
!ENTRY org.eclipse.andmore.ddms 4 0 2017-07-02 18:17:18.420 !MESSAGE
DDMS files not found: C:\Program Files
(x86)\Android\android-sdk-windows\platform-tools\hprof-conv.exe
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:17:21.045 !MESSAGE Failed
to load properties file for project 'Themes'
!ENTRY org.eclipse.andmore 4 0 2017-07-02 18:17:21.045 !MESSAGE Failed
to load properties file for project 'UC'
!ENTRY org.eclipse.ui.workbench 4 2 2017-07-02 18:17:27.921 !MESSAGE
Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench". !STACK 1
org.eclipse.core.runtime.CoreException: Executable extension
definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:17:27.921 !MESSAGE
Executable extension definition for "class" not found. !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:17:27.921 !MESSAGE
Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 4 0 2017-07-02 18:17:28.030 !MESSAGE Unable to
execute early startup code for the org.eclipse.ui.IStartup extension
contributed by the 'org.eclipse.sequoyah.device.framework.wizard'
plug-in. !STACK 1 org.eclipse.core.runtime.CoreException: Executable
extension definition for "class" not found. at
org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at
org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2835) at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !SUBENTRY 1
org.eclipse.equinox.registry 4 1 2017-07-02 18:17:28.030 !MESSAGE
Executable extension definition for "class" not found.
There's more to the log but we are only allowed 30000 chars!
Help!!!
As always, all help is greatly appreciated