Skip to content

Commit 7e84eb6

Browse files
authored
Update installation instructions in lecture2part1.md (#16)
1 parent 32c6b68 commit 7e84eb6

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

lecture2part1.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,20 @@ We can run this program directly in [JLearner](https://btj.github.io/jlearner/),
4040

4141
## Installing Eclipse and FSC4J
4242

43-
We recommend that you use the [Eclipse Installer](https://www.eclipse.org/downloads/packages/installer) to install the latest Eclipse IDE for Java Developers; it will also install a matching Java Development Kit (JDK) if one is not yet present on your system.
43+
We recommend that you download [JDK 21 from adoptium.net](https://adoptium.net/) to a location you can access later and download the Eclipse integrated development environment from [the official website](https://www.eclipse.org/downloads/packages/release/2023-12/r/eclipse-ide-java-developers). (Warning: using the Eclipse installer or any version newer or older than 2023-12 will not be compatible with FSC4J, which is necessary for this course.)
4444

45-
Once you have installed Eclipse, we recommend that you install the [Formal Specifications Checker for Java (FSC4J)](https://fsc4j.github.io/fsc4j), that we are developing. It is a modified version of the Java Development Tools component of Eclipse that gives you feedback about the formal documentation you write. To install it, just follow the instructions on the FSC4J website.
45+
Then you have to register JDK 21 in Eclipse.
46+
- First open the settings menu in Eclipse
47+
- On Windows: go to the "Window" menu -> "Preferences"
48+
- On MacOS: go to the "Eclipse" menu -> "Settings".
49+
- In the settings menu, search for "JRE" in the search bar in the top left, then click on "Installed JREs".
50+
- If JDK 21 has not been added to this list yet, add it by clicking Add -> Standard VM -> Next -> Directory -> select where you installed the JDK -> Finish.
51+
- Select the checkbox to the left of JDK 21 to set it to default
52+
- Click "Apply and Close".
53+
54+
Once you have installed Eclipse, we recommend that you install the [Formal Specifications Checker for Java (FSC4J)](https://fsc4j.github.io/fsc4j/), that we are developing. It is a modified version of the Java Development Tools component of Eclipse that gives you feedback about the formal documentation you write. To install it, just follow [the instructions on the FSC4J website](https://fsc4j.github.io/fsc4j/#installation-instructions).
55+
56+
We also recommend you install [EclEmma](https://www.eclemma.org/installation.html#marketplace) to aid with testing code. It is an Eclipse plugin to easily see code coverage, i.e. what code you wrote have you also tested? To install EclEmma either drag and drop the [following link](http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=264) into Eclipse, or follow the instructions on the [EclEmma website](https://www.eclemma.org/installation.html#marketplace).
4657

4758
## Building and running our first program in Eclipse
4859

0 commit comments

Comments
 (0)