Click OK (in the lower right you should see some action briefly while it builds everything).

At this point I had to restart Eclipse before going on to step 7. I am not sure what the problem is but no matter how many times I tried to do this I always had to restart eclipse or I would be unable to set a Main Class.

Setup a build configuration for Rune.

Run -> Open Run Dialog...

Select Java Application and click New (top left button).

On the "Main" tab:

Name: Rune

Project: E-Source

Main class: org.erights.e.elang.interp.Rune

(Optional) Go to the Common tab and check the box for "Run" under "Display in favorites menu". This will make running Rune easier.

Apply and Close.

Verify it all worked.

Run -> Open Run Dialog...

Select Rune and click "Run".

(Optional) If you added it to the favorites menu you can just use the Run tool in the toolbar which should have "Rune" listed in the dropdown.

In the Console window you should see a '?' and nothing else. Try typing the following followed by enter: 1 + 1

If all went well you should see # value: 2 followed by another '?'

Creating a JAR File

1. Follow the directions above for Installation/Setup.

2. File -> Export...

3. Java -> JAR file (Next)

4. Under E-Source check: jsrc, esrc, safej, bin/resources

5. JAR file: E-Source/e.jar

You will get several warnings, some of which are Java compiler warnings regarding generics which need to be resolved in the E source tree and a few at the end are regarding duplications found in the output. The latter may also require fixes in the build tree, further investigation is required though.

7. If all went well you should see "Hello World" in the console window.

Tips

For learning E, create a Run configuration just like you did for Hello World but in the arguments put "${file_prompt}" (no quotes). Doing this will make it so when you run that configuration it will prompt you for a file and pass that filename as an argument to Rune. This will make it so you can create numerouse .e files in your project and only have to have one Run configuration (just use the open dialog to specify which .e file you want to pass to Rune).