Setting up a local Eclipse environment
- Download and unzip
[Eclipse IDE for Java EE Developers] Select and download your favourite Eclipse version (http://eclipse.org/downloads/packages/)
(64-bit Eclipse doesn’t work with 32-bit JRE/JDK it will fail without any error message).
- Start Eclipse
Use with Java 7 or higher. You might want to use -vm in eclipse.ini.
Close “Welcome” screen.
Window, Open Perspective, Other…, Java EE.
- Newline settings
Make sure that the default text file line delimiter is set to Unix and default encoding is set to UTF-8:
Window, Preferences, General, Workspace, New text file line delimiter: Unix, Text file encoding: UTF-8.
Make sure Maven is able to access the internet. E.g. when behind a proxy:
Window, Preferences, Maven, User Settings, settings.xml should exist and contain proxy configuration.
Window, Open Perspective, Other…, Git, OK,
Clone a Git repository, URI: https://github.com/ibissource/ibis4example.git, Next, Next, Finish.
- Install Server
If no servers are available. Click this link to create a new server…,
Apache, Tomcat v7.0 Server or higher, Next, Browse…, select the root folder of a Tomcat installation
when not available download Tomcat
(version 7.0.22 is known to work, but other version are expected to work too), OK, Finish.
- Configure Server
Double click Tomcat v7.0 Server at localhost, Open launch configuration, Arguments, VM arguments, add -Dotap.stage=LOC, OK
Next click Modules tab, Add Web Module…, iaf-example, OK, File, Save
Right click Tomcat v7.0 Server at localhost, Start.
- Start ibis4example on your local machine
Open a web browser and go to http://localhost:8080/ibis4example/ to check if ibis4example is running
Use the Troubleshooting Information page to help fix Eclipse issues.
Do you have questions?