-
Notifications
You must be signed in to change notification settings - Fork 92
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
phoebus.bat fails to find java when first executed #2140
Comments
Thanks for the info! Way back, I created that phoebus.bat based on the phoebus.sh without knowing much about the specifics of Windows, which I hardly use. @shroffk or somebody else who actually uses Windows, can you check this? |
@kurup thanks... Do you want to open a PR and I can check this and merge it :) |
@shroffk yes I'll do this. |
kurup
added a commit
to kurup/phoebus
that referenced
this issue
Feb 18, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The phoebus.bat script doesn't assign the JAVA_HOME variable with
ENABLEDELAYEDEXPANSION
set so the variable is not assigned properly when the script is first executed, which means the version of java in../jdk
is not found. Subsequent execution of the script works. This is fixed whenset ENABLEDELAYEDEXPANSION
is at the top of the script and%JAVA_HOME%
is replaced with!JAVA_HOME!
The text was updated successfully, but these errors were encountered: