vaadin-connect
vaadin-connect copied to clipboard
do not require JAVA_HOME to build and start the project
Maven (global, or installed via the wrapper) requires JAVA_HOME to run. It is affecting the first evaluation experience for people who try to build the project for the first time and might not have a Java development environment set up.
It would be awesome to modify the connect-scripts / maven wrapper so that it tries to guess the JAVA_HOME environment variable if it's not set. E.g. based on the location of the java binary, or by starting a Java process and having it to detects its own effective JAVA_HOME.
Under which circumstances can Java still be functional, but JAVA_HOME is not set?
Under which circumstances can Java still be functional, but
JAVA_HOMEis not set?
On a clean Windows machine (e.g. one of the Modern IE VMs) install a JDK (e.g. Oracle JDK 8). Java is operational, but JAVA_HOME is not set.