0

I am developing a desktop application based on Eclipse Kepler plugins. Initially, I used Kepler 4.3.2 (2014) with JDK 1.8.0_231. Later, I use Kepler 4.33 (2024)and JDK 17. During this upgrade, I encountered a plugin version conflict.

Kepler 4.33 uses com.ibm.icu_76.1.0.jar, while the old version relied on com.ibm.icu_50.1.1.v201304230130.jar. These two versions are incompatible.

If I replace com.ibm.icu_50.1.1.v201304230130 with com.ibm.icu_76.1.0, the application can run in Eclipse. However, I face an error when setting the target platform: Problems occurred while resolving the target contents: File does not exist: ... com.ibm.icu_50.1.1.v201304230130.

File does not exist: ....metadata.plugins\org.eclipse.pde.core.bundle_pool\plugins\com.ibm.icu_50.1.1.v201304230130.jar.

If I replace com.ibm.icu_76.1.0 with com.ibm.icu_50.1.1.v201304230130, the IDE(Kepler 2024) cannot started.

On the other hand, if I do not replace com.ibm.icu_50.1.1.v201304230130 with com.ibm.icu_76.1.0, I cannot add the required plugins, and the application fails to run because there are 2 versions of com.ibm.icu.

Here is the CAR.target file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="CAR" sequenceNumber="46">
<locations>
<location path="${eclipse_home}" type="Directory"/>
<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.cvs.source.feature.group" version="1.4.100.v20150204-1700"/>
<unit id="org.eclipse.sdk.ide" version="4.4.2.M20150204-1700"/>
<unit id="org.eclipse.test.feature.group" version="3.6.101.v20150202-1306"/>
<unit id="org.eclipse.releng.tools.feature.group" version="3.5.1.v20140604-1105"/>
<unit id="org.eclipse.cvs.feature.group" version="1.4.100.v20150204-1700"/>
<unit id="org.eclipse.platform.sdk" version="4.4.2.M20150204-1700"/>
<unit id="org.eclipse.rcp.source.feature.group" version="4.4.2.v20150204-1700"/>
<unit id="org.eclipse.pde.api.tools.ee.feature.feature.group" version="1.0.1.v20140424-1723"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.10.2.v20150204-1316"/>
<unit id="org.eclipse.rcp.feature.group" version="4.4.2.v20150204-1700"/>
<unit id="org.eclipse.jdt.source.feature.group" version="3.10.1.v20150204-1700"/>
<unit id="org.eclipse.sdk.tests.feature.group" version="4.4.1.v20150204-2305"/>
<unit id="org.eclipse.osgi.compatibility.plugins.feature.feature.group" version="1.0.0.v20140416-1648"/>
<unit id="org.eclipse.pde.feature.group" version="3.10.1.v20150204-1700"/>
<unit id="org.eclipse.platform.ide" version="4.4.2.M20150204-1700"/>
<unit id="org.eclipse.sdk.examples.source.feature.group" version="3.5.401.v20150204-1700"/>
<unit id="org.eclipse.pde.source.feature.group" version="3.10.1.v20150204-1700"/>
<unit id="org.eclipse.jdt.feature.group" version="3.10.1.v20150204-1700"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.4/"/>
</location>
</locations>
</target>

After updating the CAR.target file by changing the repository path and version of units:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.8"?><target name="CAR" sequenceNumber="46">
<locations>
<location path="${eclipse_home}" type="Directory"/>
<location includeAllPlatforms="true" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.cvs.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<unit id="org.eclipse.test.feature.group" version="0.0.0"/>
<unit id="org.eclipse.releng.tools.feature.group" version="0.0.0"/>
<unit id="org.eclipse.cvs.feature.group" version="0.0.0"/>
<unit id="org.eclipse.platform.sdk" version="0.0.0"/>
<unit id="org.eclipse.rcp.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.pde.api.tools.ee.feature.feature.group" version="0.0.0"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
<unit id="org.eclipse.jdt.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.sdk.tests.feature.group" version="0.0.0"/>
<unit id="org.eclipse.osgi.compatibility.plugins.feature.feature.group" version="0.0.0"/>
<unit id="org.eclipse.pde.feature.group" version="0.0.0"/>
<unit id="org.eclipse.platform.ide" version="0.0.0"/>
<unit id="org.eclipse.sdk.examples.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.pde.source.feature.group" version="0.0.0"/>
<unit id="org.eclipse.jdt.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.33/"/>
</location>
</locations>
</target>

I got other errors: problem loading repositories

13
  • 2
    There is no such thing as "Kepler 2024" release. Eclipse Kepler was the name of the 4.3 release of the Eclipse IDE from 2013/4. There are 4 releases of the Eclipse IDE in 2024 called 2024-03, 2024-06, 2024-09 and 2024-12. From the icu version it seems that you are using Eclipse 2024-12 (4.34) Commented Dec 19, 2024 at 7:53
  • 1
    It sounds like you need to update your target platform to specifiy the new version of icu Commented Dec 19, 2024 at 7:58
  • Thank you for your suggestion! However, how can I update the target platform properly? I’ve removed com.ibm.icu_50.1.1.v201304230130.jar from all locations and replaced it with the new version. Despite this, when I reload the target platform, I still encounter the error: File does not exist: ... com.ibm.icu_50.1.1.v201304230130. Commented Dec 19, 2024 at 15:46
  • Are there conflicts with other related plugins? Should I identify and update them as well? Commented Dec 19, 2024 at 15:51
  • 1
    Please include your target platform definition file in your question. Your question still tells "I upgraded to Kepler 2024", but as already said by greg-449, Eclipse Kepler was the name of the Eclipse simultaneous release more than ten years ago. Nowadays, the simultaneous releases are named with a date of the year and month of the release: en.wikipedia.org/wiki/Eclipse_(software)#Releases It is unclear from where to where you upgraded and which error message you get exactly for which action. Commented Dec 20, 2024 at 9:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.