gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

How can I specify the JDK version when Gitblit Starts?

Open chenhua23 opened this issue 2 years ago • 2 comments

As we know,the latest version gitblit-1.9.3 not support JDK17,i have jdk8 and jdk17 on my pc, can we find a way to specify the JDK version when we start it?

chenhua23 avatar Nov 03 '23 09:11 chenhua23

can i add this @SET JAVA_HOME=C:\develop\java\xxx\jdk1.8.0_252 in gitblit.cmd to resolve it?

chenhua23 avatar Nov 03 '23 09:11 chenhua23

Yes, setting JAVA_HOME will set which Java is used.

flaix avatar Nov 06 '23 20:11 flaix