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.
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