Closed tgodzik closed 2 months ago
This might actually not be needed, I need to confirm.
Ok, now it's ready. The issue was that if a user has an older JVM set for javaHome we would try to use it for Bloop, which would not work.
Right... So where is the
java
set by the user passes to bloop? I guess it should be done viaJAVA_HOME
.
That will be set when importing the build. Bloop itself should not run with JDK from the project. IT should be either JAVA_HOME or the same Java as metals.
Some distributions seem to require this to work, so it's safer to include it by default.I reworked it, since the problem was actually different, we used wrong Java home, which might have been older.