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: lectures/acse/010_setting_up_environment_with_docker.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: Setting up the development environment
6
6
7
7
1.[Installing Git](#git)
8
8
1.[Installing Docker](#install)
9
-
1.[Installing the latest Java 11 JDK](#jdk)
9
+
1.[Installing the latest Java 17 JDK](#jdk)
10
10
1.[Installing Eclipse](#eclipse)
11
11
1.[Extending Eclipse with Xtext and Xtend](#plugins)
12
12
@@ -60,23 +60,23 @@ Which tool to install depends on your operating system:
60
60
[Docker Compose](https://docs.docker.com/compose/overview/) is an additional tool, which allows to manage multiple containers at once.
61
61
Docker Desktop for Windows and Mac includes Compose. Linux users have to [install Docker Compose](https://docs.docker.com/compose/install/) separately; Docker Toolbox already bundles a version.
62
62
63
-
## <aid="jdk"name="jdk"></a>Installing the latest Java 11 JDK
63
+
## <aid="jdk"name="jdk"></a>Installing the latest Java 17 JDK
64
64
65
-
1. Make sure that the latest version of the **Java 11 Development Kit** is installed on your computer.
65
+
1. Make sure that the latest version of the **Java 17 Development Kit** is installed on your computer.
66
66
If the JDK is properly installed on your computer, you can jump to step 4 of this section, otherwise continue with the next step.
67
-
1. Go to a provider of your liking, e.g., [https://adoptium.net/](https://adoptium.net/?variant=openjdk11&jvmVariant=hotspot) or [http://www.oracle.com/technetwork/java/javase/downloads/index.html](http://www.oracle.com/technetwork/java/javase/downloads/index.html) and follow the instructions to **download** the latest version of the **Java 11 Development Kit** for the operating system of your computer.
67
+
1. Go to a provider of your liking, e.g., [https://adoptium.net/](https://adoptium.net/?variant=openjdk17&jvmVariant=hotspot) or [http://www.oracle.com/technetwork/java/javase/downloads/index.html](http://www.oracle.com/technetwork/java/javase/downloads/index.html) and follow the instructions to **download** the latest version of the **Java 17 Development Kit** for the operating system of your computer.
68
68
1.**Install** the **JDK** to a directory on your computer, e.g. ``C:\Java\<jdk>`` on Windows.
69
69
1.**Create** an **[environment variable](#envvar)** called **``JAVA_HOME``** that points to the JDK installation directory, for example ``C:\Java\<jdk>``. You could also be able to directly set this variable while installing the JDK.
70
-
1. You can check your installation by typing ``javac -version`` on your command line which should output the java version you just installed. If this is not the case you might also add the ``/bin`` directory of your Java installation to your ``PATH`` environment variable (keep in mind you have to open a new command line in order to see changes to the environment variables). For Linux and macOS, see the section at the bottom of this document.
70
+
1. You can check your installation by typing ``javac -version``and ``java -version``on your command line which should output the java version you just installed. If this is not the case you might also add the ``/bin`` directory of your Java installation to your ``PATH`` environment variable (keep in mind you have to open a new command line in order to see changes to the environment variables). For Linux and macOS, see the section at the bottom of this document.
1.**Download** the **Eclipse IDE for Java and DSL Developers** for your operating system from [https://www.eclipse.org/downloads/](https://www.eclipse.org/downloads/). Via the given page an installer will be downloaded.
74
+
1.**Download** the **Eclipse IDE for Java and DSL Developers** for your operating system from [Eclipse IDE for Java and DSL Developers](https://www.eclipse.org/downloads/packages/release/2023-03/r/eclipse-ide-java-and-dsl-developers). Via the given page an installer will be downloaded.
75
75
2.**Extract** the archive and **open** the installer.
76
-
3. Be sure to **select**``Eclipse IDE for Java and DSL Developers``. This package already includes Xtext and Xtend which otherwise have to be installed manually.
76
+
3. Be sure to **select**``Eclipse IDE for Java and DSL Developers``. This package already includes Xtext and Xtend which otherwise have to be installed manually.**It is strongly suggested to select this option as it accounts for interdependencies!**.
77
77
78
78

79
-
1. Set up the Java 11+ VM. For this, **select** the Java 11 JDK you installed in the previous step.
79
+
1. Set up the Java 17 VM. For this, **select** the Java 17 JDK you installed in the previous step.
80
80

81
81
1. Start installing. The respective packages are downloaded. **This might take some time**.
82
82
1.**Start Eclipse**. The executable (``eclipse.exe`` or ``eclipse``) is located in the installation directory. Wait for the "Workspace Launcher" window to pop up and **select a workspace directory**, for example ``C:\ACSE\projects``. This path must **not contain any spaces** either. The workspace directory is where all your projects will be stored. You may check the "Use this as the default and do not ask again" box to avoid this dialog from appearing on the next start. You might also want to create a different workspace for each project. Click **"OK"** to close the dialog and get to the workbench window.
@@ -90,18 +90,18 @@ You can skip this step if you already installed the ``Eclipse IDE for Java and D
90
90

91
91
1. Wait for the list of software to load (this can take some time) and select all of the following items:
92
92
*_General Purpose Tools_
93
-
***Xtext Complete SDK** (at least version 2.25!)
93
+
***Xtext Complete SDK** (at least version 2.30!)
94
94
_for domain-specific language development_
95
95
*_Programming Languages_
96
-
***Xtend IDE** (at least version 2.25!)
96
+
***Xtend IDE** (at least version 2.30!)
97
97
_for model-to-text transformations_
98
98
99
99
1. Click **Next** two times, check **Accept**, click **Finish** and wait for the packages to be installed.
0 commit comments