You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lecture2part1.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,20 @@ We can run this program directly in [JLearner](https://btj.github.io/jlearner/),
40
40
41
41
## Installing Eclipse and FSC4J
42
42
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.)
44
44
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).
46
57
47
58
## Building and running our first program in Eclipse
0 commit comments