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

No system compiler found. Did you install the JRE instead of the JDK? #5255

Closed
jasonsword opened this issue Dec 25, 2017 · 1 comment
Closed

Comments

@jasonsword
Copy link

execute cmd: go build -t

it always failed here:

python C:/workspace/selenium/buck-out/crazy-fun/be2bf932342e5d67f58c9b26f5065c745d285d0d/buck.pex build --deep //java/client/src/org/openqa/selenium:selenium
PARSING BUCK FILES: FINISHED IN 0.2s (100%)
CREATING ACTION GRAPH: FINISHED IN 0.2s
BUILT 7/37 JOBS 0.3s //java/client/src/org/openqa/selenium:build-stamp
BUILD FAILED: //java/client/src/org/openqa/selenium:primitives failed:
javac -source 8 -target 8 -sourcepath -g -proc:none -d C:\workspace\selenium\buck-out\bin\java\client\src\org\openqa\selenium\lib__primitives__classes -classpath '' @buck-out\gen\java\client\src\org\openqa\selenium__primitives__srcs; jar cf buck-out\gen\java\client\src\org\openqa\selenium\lib__primitives__output\primitives.jar buck-out\bin\java\client\src\org\openqa\selenium\lib__primitives__classes
No system compiler found. Did you install the JRE instead of the JDK?
DOWNLOADED 0.00 BYTES/SEC AVG, 0 ARTIFACTS, 0.00 BYTES
BUILDING: FINISHED IN 4.0s (100%) 7/37 JOBS, 3 UPDATED, 5.4% CACHE MISS
BUILD FAILED

my env:

java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)

javac -version
javac 1.8.0_152

python --version
Python 2.7.14

and I Have set JAVA_HOME\bin && watchman && buck/bin in the system PATH

@barancev
Copy link
Member

Duplicate of #4956

@barancev barancev marked this as a duplicate of #4956 Dec 25, 2017
@lock lock bot locked and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants