We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bazel refuses to load, complaines FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH. when i have java JDK
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.
External Dependency
Windows 10
bazel info release
7.1.1
development version
(@non-git)
No response
git remote get-url origin; git rev-parse HEAD
The text was updated successfully, but these errors were encountered:
Looks like the error message is misleading on Windows, where, unlike linux, we only check for JAVA_HOME: https://github.com/bazelbuild/bazel/blob/master/src/main/cpp/blaze_util_windows.cc#L467-L479
JAVA_HOME
@solomoncyj can you try setting the JAVA_HOME env variable?
Sorry, something went wrong.
alright thanks
No branches or pull requests
Description of the bug:
Bazel refuses to load, complaines
FATAL: Could not find system javabase. Ensure JAVA_HOME is set, or javac is on your PATH.
when i have java JDKWhich category does this issue belong to?
External Dependency
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Which operating system are you running Bazel on?
Windows 10
What is the output of
bazel info release
?7.1.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: