This is how I configure Aptana to support java:
Check the version of Eclipse that it uses. Go to the Help menu β About Apatana ... β Click on the Eclipse icon to consider the version for the "Eclipse plataform" function.
Make sure the update site for your version of Eclipse exists on the available software pages.
- First, find the update site that matches your version of Eclipse; for example, if you have a version of Eclipse plataform version 3.7 (also known as Indigo), the update site will be http://download.eclipse.org/releases/indigo/ (make sure you have the correct URL).
- Then go to Window β Preferences, then select Install / Update β Available Software sites. There you must have an entry for Eclipse, and the location should be the update site from the previous step; if it does not exist, just add it with the relevant information.
Install Eclipse Java Development Tools. Go to the Help menu β "Install New Software ...". Select your Eclipse update site from the drop-down list. A list of available updates / features will be displayed. Search for Java (using the filter field) or go to "Programming Languages"; in any case, check the "Java Eclipse Development Tools" checkbox, click "Next" and follow any additional steps until the installation is complete.
Configure settings for Java in Aptana. Go to the menu Window β Preferences, in the left pane you should see an element called "Java". There must be at least one entry in the Installed JRE sub-item (this is the version of the JRE that will be used during development). You can add more JREs there (without going into details here, since this is not a question for an answer).
Now you can add Java projects, etc.
camria
source share