Good Morning (My english level is"t so good)
I want to use “ganttproject-3.2.3240” in portable version (Zip file downloaded) and unziped and I have had “bellsoft-jdk19+37-windows-amd64” unziped on “directory “jdk-19” on directory"ganttproject-3.2.3240”
I have had set up for JAVA_Home variable.
folowing is the content of ganttproject.bat
But always i have the message “GantProject want Java 11 …”
What can i do ?
Thanks
@echo off
SET GP_HOME=.
SET JAVA_HOME=“H:\Outils-Portables\PortableApps\ganttproject-3.0.3000\jdk-19”
SET “JAVA_COMMAND=%JAVA_HOME%\bin\java.exe”
IF “%JAVA_HOME%”=="" SET JAVA_COMMAND=java
SET LOCAL_CLASSPATH=%GP_HOME%\eclipsito.jar;%GP_HOME%
SET JVM_ARGS=-Xmx1024m -ea -Dsun.java2d.d3d=false
SET “ECLIPSITO_ARGS=–verbosity 4 --version-dirs plugins;~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject”
SET “JAVA_EXPORTS=–add-exports javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.skin=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.skin.resources=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.inputmap=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-opens java.desktop/sun.swing=ALL-UNNAMED”
SET BOOT_CLASS=com.bardsoftware.eclipsito.Launch
“%JAVA_COMMAND%” -classpath “%CLASSPATH%;%LOCAL_CLASSPATH%” %JVM_ARGS% %JAVA_EXPORTS% %BOOT_CLASS% %ECLIPSITO_ARGS% -log true %1 %2 %3 %4 %5 %6
if %ERRORLEVEL% EQU 9009 goto ERROR_NO_JAVA
goto END
:ERROR_NO_JAVA
echo “Please set up JAVA_HOME variable”
:END