Get Started - Eclipse

You can directly import Maven projects in Eclipse using the m2e plugin. You can import this code formatting setup. See the adams-core manual, section Tools, subsection Eclipse for more details.

In order to start the ADAMS user interface, you need to create a Run configuration with the following main class:

adams.gui.Main

For making it work with Java's modular framework, it is advised to specify the following JVM parameters:

--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports=java.desktop/sun.awt.image=ALL-UNNAMED
--add-exports=java.desktop/com.sun.media.sound=ALL-UNNAMED
--add-exports=java.base/sun.nio.cs=ALL-UNNAMED

All example flows use the placeholder ${EXAMPLE_FLOWS}, which is relative to the module's path. In order to execute the example flows from module adams-weka, you need to set adams-weka as project in your launcher.