/usr/share/ganttproject/runtime/bin/java does not exist

Hi! I’m trying to use the beta version, I installed ganttproject_2.99-r2906-1_all.deb
I also installed the java 11 and the bellsoft version using sdkman: sdk install java 11.0.9.fx-librca
If I run echo $JAVA_HOME I get

/home/raquelhortab/.sdkman/candidates/java/current

and if I run java -version I get

openjdk version "11.0.9.1" 2020-11-04 LTS
OpenJDK Runtime Environment (build 11.0.9.1+1-LTS)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-LTS, mixed mode)

However, if I try to run ganttproject I get

/usr/share/ganttproject/runtime/bin/java does not exist

Any idea what the problem could be?

OK, I found a solution, in the ganttproject script (found by typing which ganttproject), I changed USE_BUNDLED_RUNTIME from 1 to 0 and now it works. It seems with this flag set to 1, JAVA_HOME was changed in the script.

Please try running ganttproject -j