Post January 12th, 2015, 4:02 pm

Common Eclipse Issues

These are some common Eclipse Issues that may be encountered when installing the Portus Control Centre:

Java Error


Eclipse requires the correct version of java to be used depending on your Eclipse version - if you use 32bit Eclipse you need to have 32bit java, 64 bit Eclipse needs 64 bit Java. If the required version is missing or you are using the wrong version, you will see an error similar to the following:

Image

Installing the missing java kit will normally fix the issue. Sometimes even if both versions of java are installed Eclipse may not find the correct path. This can be corrected by changing the path for java_HOME in environmental variables for your machine to the correct java version, or you can add the following path in the eclipse.ini file for a 64 bit Eclipse:

-vm
C:\Program Files\Java\jdk1.7.0_45\jre\bin

Duplicate Location Error

When Installing the Portus CC, If a user has added the cloud.ostiasolutions/Portus/BrazilUpdateSite repository to any version of eclipse in the past, then that repository location already exists. This causes a duplicate location error and will prevent users from adding that repository location again:

Image


To check for existing sites, users can click the dropdown arrow in the work with dialog box, the existing repositories should appear in the dropdown menu:

Image

If the error appears and the repository does not show up in the dropdown, the site may have been disabled at some stage in the past. To correct this users can check in preferences>Install/Update > Available Software sites, select the required site and click the Enable/Disable Button to the right of the list:

Image

You can learn more about Eclipse by visiting https://www.eclipse.org/home/index.php