-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Windows 7 Install: WARNING: An illegal reflective access operation has occurred #6197
Comments
This is the same issue as #6164. 0.17.2 was recently released, and include fixes for some instances of this problem. Can you try updating to it? |
Hi Liam,
Thanks for looking into it. But the new release did not fix it. Here is the
same message:
```
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\me>cd C:\bazel
C:\bazel>bazel-0.17.2-windows-x86_64.exe
Extracting Bazel installation...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil
(file:/C:/U
sers/me/_bazel_me/install/3a7287a15200b68eb8146fc168635be1/_embedded_binaries/A-
server.jar) to field java.lang.String.value
WARNING: Please consider reporting this to the maintainers of
com.google.protobu
f.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
WARNING: --batch mode is deprecated. Please instead explicitly shut down
your Ba
zel server using the command "bazel shutdown".
[bazel release
0.17.2]
Usage: bazel <command> <options> ...
Available commands:
analyze-profile Analyzes build profile data.
aquery Analyzes the given targets and queries the action
graph.
build Builds the specified targets.
canonicalize-flags Canonicalizes a list of bazel options.
clean Removes output files and optionally stops the server.
coverage Generates code coverage report for specified test
targets.
cquery Loads, analyzes, and queries the specified targets w/
conf
igurations.
dump Dumps the internal state of the bazel server process.
fetch Fetches external repositories that are prerequisites
to th
e targets.
help Prints help for commands, or the index.
info Displays runtime info about the bazel server.
license Prints the license of this software.
mobile-install Installs targets to mobile devices.
print_action Prints the command line args for compiling a file.
query Executes a dependency graph query.
run Runs the specified target.
shutdown Stops the bazel server.
sync Syncs all repositories specifed in the workspace file
test Builds and runs the specified test targets.
version Prints version information for bazel.
Getting more help:
bazel help <command>
Prints help and options for <command>.
bazel help startup_options
Options for the JVM hosting bazel.
bazel help target-syntax
Explains the syntax for specifying targets.
bazel help info-keys
Displays a list of keys used by the info command.
C:\bazel>
```
…On Fri, Sep 21, 2018 at 4:53 PM Liam Miller-Cushon ***@***.***> wrote:
Closed #6197 <#6197>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6197 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AX3ZAu77QpAPTdWD1gQPFbltGaGO48FYks5udXwLgaJpZM4Wzlz9>
.
|
Sorry, the fix I was thinking of was efdb3f6, which didn't make it into 0.17.2 It should be fixed at head, or in the next release. Are the warnings causing anything to not work? They should be harmless (but annoying). |
Nothing was installed
…On Fri, Sep 21, 2018 at 5:56 PM Liam Miller-Cushon ***@***.***> wrote:
Sorry, the fix I was thinking of was efdb3f6
<efdb3f6>,
which didn't make it into 0.17.2 It should be fixed at head, or in the next
release.
Are the warnings causing anything to not work? They should be harmless
(but annoying).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX3ZAlaJjMtevBlCUy7uHisuVsbo_NAjks5udYqkgaJpZM4Wzlz9>
.
|
Sorry, I'm not sure I understand: it looks like you successfully installed |
I can't find "bazel". What is its default install folder on Windows? You
might want to include that piece of info in the README or Install file.
Thanks.
…On Fri, Sep 21, 2018 at 6:18 PM Liam Miller-Cushon ***@***.***> wrote:
Sorry, I'm not sure I understand: it looks like you successfully installed
bazel, ran it, and it printed help text with some additional warning
spam. What wasn't installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX3ZAtfFoQgt0Sb33Edu0925Jb9Ewoynks5udY_4gaJpZM4Wzlz9>
.
|
|
OK. I see.
I thought it were the installation package.
…On Fri, Sep 21, 2018 at 6:27 PM Liam Miller-Cushon ***@***.***> wrote:
bazel-0.17.2-windows-x86_64.exe is the bazel binary. The installation
instructions suggest renaming the executable and moving it somewhere on
your path:
https://docs.bazel.build/versions/master/install-windows.html#getting-bazel
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX3ZAkJJzzMg2nthlxdpi9SIILYgI02Hks5udZIMgaJpZM4Wzlz9>
.
|
The text was updated successfully, but these errors were encountered: