This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
... according to the web, this is do to an incompatibility among Eclipse and Java versions. I appear to be invoking eclipse.equinox.launcher correctly, but I have no idea how it relates to other depencencies (Java or Eclipse).
Console:
$ ant
Buildfile: /Users/32734319/KonyVizEWS/hatsapp/build.xml
main:
[echo] Looking for JAR antcontrib.jar at : /Users/32734319/KonyVizEWS/hatsapp/ant-contrib-0.6.jar
[echo] Started script…
[echo] Global properties file LOCATION: /Users/32734319/KonyVizEWS/HeadlessBuild-Global.properties
[echo] Build properties file LOCATION: /Users/32734319/KonyVizEWS/hatsapp/HeadlessBuild.properties
[echo] WORKSPACE LOCATION: /Users/32734319/KonyVizEWS/hatsapp/..
[echo] Gradle path is /Applications/KonyVisualizerEnterprise8.4.28.0/gradle/bin
[exec] WARNING: An illegal reflective access operation has occurred
[exec] WARNING: Illegal reflective access by org.eclipse.osgi.internal.baseadaptor.BaseStorage (file:/Applications/KonyVisualizerEnterprise8.4.28.0/Kony_Visualizer_Enterprise/plugins/org.eclipse.osgi_3.9.1.v20140110-1610.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
[exec] WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.internal.baseadaptor.BaseStorage
[exec] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[exec] WARNING: All illegal access operations will be denied in a future release
[exec] An error has occurred. See the log file
[exec] /Applications/KonyVisualizerEnterprise8.4.28.0/Kony_Visualizer_Enterprise/configuration/1570037658649.log.
BUILD FAILED
/Users/32734319/KonyVizEWS/hatsapp/build.xml:129: exec returned: 13
Total time: 1 second
Log:
!SESSION 2019-10-02 13:12:27.977 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=13
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -application com.pat.tool.keditor.konyapplication
Command-line arguments: -data /Users/32734319/KonyVizEWS/hatsapp/.. -application com.pat.tool.keditor.konyapplication
!ENTRY org.eclipse.osgi 4 0 2019-10-02 13:12:29.223
!MESSAGE Startup error
!STACK 1
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:656)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:275)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
… 12 more
Caused by: java.lang.IllegalStateException: The System Bundle could not be resolved: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.checkSystemState(BaseStorage.java:827)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:800)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.getState(BaseAdaptor.java:387)
at org.eclipse.osgi.internal.baseadaptor.BaseStorage.frameworkStart(BaseStorage.java:923)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:250)
at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
… 14 more