How to install and use Java--

Version 1.3.4

Download Java--

Java-- is a simpler version of Java, implemented with Xtext, aiming to teach programming. You can download a complete Eclipse distribution with Java-- installed; choose the one for your OS and architecture at

Eclipse update site

You can alternatively use the following update site to install the Java-- SDK feature in your Eclipse installation.
Note that Java-- requires Xtext: if it is not already installed, all dependencies will be automatically installed form this update site, which is self-contained.

Use Java--

To start the Java-- IDE, double-click the eclipse.exe (Microsoft Windows), (OS X) or eclipse (Linux) file in the directory where you unpacked the Eclipse distribution with Java--. The Java-- IDE system prompts you for a workspace. The workspace is the location in your file system where the Java-- IDE stores its preferences and other resources (for example your projects can be stored in the workspace). Select a directory (likely empty) and click the OK button.


The Java-- IDE starts and shows the welcome page. Close this page by clicking the x beside Welcome.


After closing the welcome screen, the Java-- IDE should look similar to the following screenshot.


Create and execute your first Java-- program

Select the Project... item from the New submenu of the File menu. The Java-- IDE shows the New Project window: select the item Java-- Project within the Java-- folder, and click the Next button.


Enter the project name (for example, HelloWorld), and click the Finish button. The Java-- IDE should now look similar to the following screenshot.


Select the Java-- Application item from the Run As submenu of the Run menu. On the Console the Hello world! should appear. In this case, congratulations! You have just executed your first Java-- program.

Download some Java-- examples

Select the Example... item from the New submenu of the File menu. The Java-- IDE shows the New Example window: select the item Some Java-- Examples folder, click the Next button.


Click the Finish button. After the javamm.examples has been created, the source folder of this project will contain several Java-- code examples (taken from the Italian textbook), as shown in the following screenshot.