This Eclipse Information is for Pedram's Students (Fall 2024)
The information of this eclipse page is for students
in Pedram's sections (Fall 2024).
If you are in another class/section,
make sure whether you can use the information on this page.
Instructors may use different Eclipse/Java versions.
Eclipse 2022_12_R Installation
Overview
In the past it was necessary to install java and Eclipse, but the Eclipse installer
now includes all the tools (compiler, jvm, javadoc, etc.) you need. To have
all the environment you need for CMSC131/CMSC132, you will use the Eclipse
installer and add a submission plugin. Information for PCs and Macs is provided
below. If you have a linux system an installer is also available on the Eclipse installer's
site (see Software Sources below).
Note: This Eclipse version creates by default a module-info.java file when
creating a project. When creating a project, uncheck the "Create module-info.java file"
option you will see under the "Module" section.
For PCs
- Download the Eclipse installer Windows x86_64 available in the blue box with
the title "Try the Eclipse Installer 2022‑12 R" you will
see at
https://www.eclipse.org/downloads/packages/release/2022-12/r.
- The file you download must have the .exe extension, otherwise you have the wrong file.
- Double-click on the downloaded file.
- Eventually you will see a list of Eclipse IDE options; select
"Eclipse IDE for Java Developers."
- You will see Java 17 + VM (please do not change the default you will see to the right).
We need to use Java 17 as the submit server relies on it.
- Once the installation is complete, your will see a shortcut to Eclipse on your desktop.
- Launch Eclipse and make sure you specify a Workspace (directory) that has not been
used with another Eclipse version; this is to prevent any conflicts.
- Install the Course Management Plugin Installation as
described below. If you don't install this plugin, you will not see the
"Submit Project" button that will allow you to submit projects from Eclipse.
- Eclipse does not come with an uninstaller. Deleting the application is enough to
uninstall it.
For Macs
- Download the Eclipse installer macOS x86_64 available in the blue box with the title
"Try the Eclipse Installer 2022‑12 R" you will see at
https://www.eclipse.org/downloads/packages/release/2022-12/r.
- Double-click on the downloaded file.
- Double-click on the "Eclipse Installer" file you see.
- Eventually you will see a list of Eclipse IDE options; select "Eclipse IDE for Java
Developers."
- You will see Java 17 + VM (please do not change the default you see to the right).
We need to use Java 17 as the submit server relies on it.
- You will not find Eclipse in the Applications folder; using Spotlight, search for "Eclipse".
- Launch Eclipse and make sure you specify a Workspace (directory) that has not been
used with another Eclipse version; this is to prevent any conflicts.
- Install the Course Management Plugin Installation as
described below. If you don't install this plugin, you will not see the
"Submit Project" button that will allow you to submit projects from Eclipse.
- Eclipse does not come with an uninstaller. The eclipse folder present in the
/Users/USERNAME folder (where USERNAME corresponds to the account username) has the different
eclipse versions available in your system. Remove the appropriate folder to remove a particular
version. Keep in mind that workspaces will not be removed by deleting a particular
eclipse version.
Course Management Plugin Installation
- Launch Eclipse.
- In Eclipse, select Help→Install New Software...
- Click on the "Add..." button.
- In the dialog box:
- For "Name" use:
Maryland Eclipse Update Site
- For "Location" use:
http://www.cs.umd.edu/~pugh/eclipse
- Click on the "Add" button.
- In a PC click the > next to "Uncategorized" and select
the Course Project Manager. In a Mac, first uncheck the entry
labeled "Group items by category" then select (check) "Course
Project Manager".
- Select Next twice, accept the license, click "Finish", select "Unsigned" and "Trust Selected".
Restart Eclipse to complete the process.
- Select "Install anyway" in the popup window that warns about installing
software that contains unsigned content.
Software Sources