You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation - The gradle build files of the respective las2peer components define their own compile tasks, which call the java compiler (javac). This itself is fine, however depending on the context this can lead to unexpected problems which might be very hard to detect, since we don't use the javac binary from the JAVA_HOME directory, as one would expect. The resulting error looks like this:
Specification - This should be rather easy to fix by replacing javac in the compile java task (here, here, and here ) with a reference to the JAVA_HOME variable. There are multiple ways to achieve this, discussed in this thread. Just take care that the build also still works if the variable isn't set.
Finalised state - The las2peer build should then use the java compiler pointed to by the JAVA_HOME environment variable, if it is set.
The text was updated successfully, but these errors were encountered:
javac
in the compile java task (here, here, and here ) with a reference to the JAVA_HOME variable. There are multiple ways to achieve this, discussed in this thread. Just take care that the build also still works if the variable isn't set.The text was updated successfully, but these errors were encountered: