You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run GoogleTest on windows, I get:
"bazel_tools/tools/jdk/BUILD:305:1: no such package '@remotejdk_win//': java.io.IOException: thread interrupted and referenced by '@bazel_tools//tools/jdk:remote_jdk'"
According to what I have read in the manual, it seems that this package should be downloaded automatically? I am working behind a proxy, so this can be a factor as well. However, all other workspace rules works, so my question is then: Why is remotejdk_win special?
I can get it to work by selecting my local java installation: --host_javabase=@local_jdk//:jdk
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I have provided a minimal repro, that use GoogleTest and runs a simple unittest: Repro.zip
What operating system are you running Bazel on?
Windows 10
What's the output of bazel info release?
0.22.0, (tested also with 0.23.1, same behavior)
Have you found anything relevant by searching the web?
It seems it is some kind of combination of proxy settings, and settings not forwarded correctly. I have managed to get it to work, so I will close this issue.
One problem is that even if i wanted to have it local (i do not want to download java), even if I set host_javabase and javabase, Bazel will try to download remote_java_tools_windows..
Description of the problem / feature request:
When trying to run GoogleTest on windows, I get:
"bazel_tools/tools/jdk/BUILD:305:1: no such package '@remotejdk_win//': java.io.IOException: thread interrupted and referenced by '@bazel_tools//tools/jdk:remote_jdk'"
According to what I have read in the manual, it seems that this package should be downloaded automatically? I am working behind a proxy, so this can be a factor as well. However, all other workspace rules works, so my question is then: Why is remotejdk_win special?
I can get it to work by selecting my local java installation:
--host_javabase=@local_jdk//:jdk
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I have provided a minimal repro, that use GoogleTest and runs a simple unittest:
Repro.zip
What operating system are you running Bazel on?
Windows 10
What's the output of
bazel info release
?0.22.0, (tested also with 0.23.1, same behavior)
Have you found anything relevant by searching the web?
BuildKite failure tracking angular/angular#27508
Bazel's embedded JDK is only used to run Bazel. #6313
Any other information, logs, or outputs that you want to share?
Repro.zip
The text was updated successfully, but these errors were encountered: