Equinox java 10 compatibility [message #1794697] |
Wed, 05 September 2018 01:05  |
Eclipse User |
|
|
|
Hi all,
Does anyone know which version of equinox is compatible with java 10?
I am trying to upgrade an equinox osgi based software platform (wso2 carbon version 4) to be able to run on java 10.
At the moment it is based on equinox version kepler and when I try to run following exceptions are thrown
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.internal.baseadaptor.BaseStorage (file:/Users/tharindu/CarbonServer/wso2carbon-4.4.35-SNAPSHOT/repository/components/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.internal.baseadaptor.BaseStorage
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
java.lang.reflect.InvocationTargetException
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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:70)
at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:51)
Caused by: java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
at org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:115)
at org.wso2.carbon.server.Main.launchCarbon(Main.java:160)
at org.wso2.carbon.server.Main.main(Main.java:94)
... 6 more
Therefore I upgrade the equinox version to Photon (latest) and came across following issues when building with even java 8.
Cannot complete the install because one or more required items could not be found.
Software being installed: Carbon Product 4.4.34.SNAPSHOT (carbon.product.id 4.4.34.SNAPSHOT)
Missing requirement: Equinox Provisioning Metadata Repository 1.3.0.v20180302-1057 (org.eclipse.equinox.p2.metadata.repository 1.3.0.v20180302-1057) requires 'osgi.bundle; org.tukaani.xz 1.3.0' but it could not be found
Cannot satisfy dependency:
From: Carbon Product 4.4.34.SNAPSHOT (carbon.product.id 4.4.34.SNAPSHOT)
To: org.eclipse.equinox.p2.iu; org.wso2.carbon.core.runtime.feature.group [4.4.34.SNAPSHOT,4.4.34.SNAPSHOT]
Cannot satisfy dependency:
From: Equinox Provisioning Console 1.1.0.v20180130-1836 (org.eclipse.equinox.p2.console 1.1.0.v20180130-1836)
To: java.package; org.eclipse.equinox.p2.engine [2.0.0,3.0.0)
Cannot satisfy dependency:
From: Equinox Provisioning Engine 2.6.0.v20180409-1209 (org.eclipse.equinox.p2.engine 2.6.0.v20180409-1209)
To: java.package; org.eclipse.equinox.internal.p2.metadata.repository.io 0.0.0
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon Runtime Feature 4.4.34.SNAPSHOT (org.wso2.carbon.core.runtime.feature.group 4.4.34.SNAPSHOT)
To: org.eclipse.equinox.p2.iu; org.eclipse.equinox.p2.console [1.1.0.v20180130-1836,1.1.0.v20180130-1836]
This seems like a bug in org.eclipse.equinox.p2.metadata.repository.
Any help is appreciated.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07191 seconds