Setting up the Java Development Kit for Water
Water (or rather, the Elements compiler) requires the Java SDK 6 or later to be installed if you want to build Java apps.
- Download the OpenJDK: adoptopenjdk.net
- Official OpenJDK website: OpenJDK
- Official Oracle JDK: oracle.com (might require a commercial license)
Once Java is installed, Water should select it automatically, and the Java paths should show (in gray) in Water's Options dialog:
If Water for some reason does not detect on its own, or if you want to override the JDK and JRE paths manually (and know what you are doing), you can manually change the paths in the same Options dialog, overriding the default.