Mutliple Eclipse Installs: How To

1. Update the Eclipse plugin.xml to a different "appName"

/usr/home/t/eclipse-4.10/plugins/org.eclipse.epp.package.java_4.10.0.20181214-0600/plugin.xml

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension
         id="product"
         name="Java IDE"
         point="org.eclipse.core.runtime.products">
      <product
            application="org.eclipse.ui.ide.workbench"
            name="Eclipse IDE">
         <property
               name="preferenceCustomization"
               value="plugin_customization.ini">
         </property>
         <property
               name="appName"
               value="Eclipse-410">
         </property>

 

2. Create a new .desktop file & reference the "appName" for StartupWMClass

[Desktop Entry]
Terminal=false
Name=Eclipse-410
Exec=/usr/home/t/eclipse-4.10/eclipse
Type=Application
Icon=/usr/home/t/eclipse-4.10/icon.xpm
Categories=IDE;Java;Development;
StartupWMClass=Eclipse-410
NoDisplay=false
Path=/usr/home/t/eclipse-4.10/
X-GNOME-UsesNotifications=false

3. Start Eclipse using the .desktop file &

4. CREATE A NEW WORKSPACE

5. After first startup, Restart Eclipse immediately to ensure all OK before making mass updates/changes

Note: start eclipse with options to refresh settings to default if neeed:

-clearPersistedState -clean

 

Tags