Medizintechnik II – Exercises

Import a Gradle project with Eclipse

  • On Windows, download the latest Java version (14.1) from Oracle. On Ubuntu Linux, you can install sudo apt install openjdk-14-jdk (only on 19.10) or sudo apt install openjdk-11-jdk. At least Java 11 is required.

  • Install Eclipse from https://www.eclipse.org/downloads/

  • Open Eclipse

    ss

  • Import...

    ss

  • Existing Gradle Project...

    ss

  • Chose path of the downloaded project and click Next

    ss

  • Grab a coffee while it's downloading ImageJ

    ss

  • Try to run Exercise01

    ss

  • You are seeing red squiggles, you found a bug in a Eclipse plugin. Upgrade it in the Eclipse Marketplace!

    ss

  • Search for gradle build! Then, click on the Installed button of "Buildship Gradle Integration.

    ss

  • ... and click on Update! This should solve the bug after a restart.

    ss

  • You should now see ImageJ when you start Exercise01.

    ss

  • If you're still facing problems: please also check whether a valid Java Runtime Enviroment was found by right-clicking on the project folder (if it still has red crosses). Select Properties -> Java Build Path. Sometimes Eclipse does not find your Java installation. You can select it there.

    ss

Back to exercise 01