Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I specify the JDK version when Gitblit Starts? #1462

Open
chenhua23 opened this issue Nov 3, 2023 · 2 comments
Open

How can I specify the JDK version when Gitblit Starts? #1462

chenhua23 opened this issue Nov 3, 2023 · 2 comments

Comments

@chenhua23
Copy link

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
Copy link
Author

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

@flaix
Copy link
Member

flaix commented Nov 6, 2023

Yes, setting JAVA_HOME will set which Java is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants