Installing Eclipse
-
Setup an Environment Variable for Eclipse called:
JAVAHOME=C:\\Program Files\\Java\\jdk1.7.0_21.
I noticed that this points to the JDK, although the name insinuates that it points to the JRE home. Strange…
-
Path it:
;%JAVAHOME%\\bin
Update: There is now an SR2 release. I therefore downloaded: eclipse-jee-juno-SR2-win32-x86_64.zip
Note: You can also FTP to it: ftp://ftp.osuosl.org/pub/eclipse//technology/epp/downloads/release/
-
Unzip eclipse-jee-juno-SR1-win32-x86_64.zip to C:\Program files\. The executable will then be: “C:\Program Files\eclipse\eclipse.exe”
Note: Just click unzip, and point to C:\Program Files, and Winzip properly extracts it into an \eclipse sub directory.
-
Right-click the executable file eclipse.exe, and click Properties > Compatibility > Change settings for all users, and set the Privilege Level to “Run this program as an administrator”.
-
Create a shortcut to eclipse.exe, and place it on your desktop. This gives you a handy launch point for Eclipse.
-
Right-click the shortcut, and click Properties.
-
Edit the Target field to add command line arguments that specify the Java VM to use.
eclipse.exe -vm “%JAVA_HOME%\bin\javaw.exe”
-
Start Eclipse.
-
Accept (or set) the default Workspace (%USERPROFILE”%\workspace). I used: C:\Users\Chris\workspace
-
Check “Use this as the default and do not ask again”.
-
Create a new project – using the files from the repo java_3rdParty. Note: refresh the repo to pickup any new changes. File > New > Java Project. To get Eclipse to automatically incorporate the repo files into a proper Eclipse project (so you can run Javadoc):
- You should see a note near the bottom of the New Java Project dialog that informs you that Eclipse will see the existing file structure and automatically create the appropriate project structure based on it.
- Name the new project java_3rdParty (the same name used for the repo).
- Use the location “C:\Users\Chris\src”.
- JRE: “Use an execution environment JRE: JavaSE-1.7”.
- Project Layout: “Create separate folders for sources and class files”.
- Click Finish (i.e., skip right to the end, without clicking Next).
Java Symbols in the Type Hierarchy View
Look in Preferences > Java > Appearance > Members Sort Order