Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Failed to run command "java -jar" closure-compiler #195

Open
sonrohan opened this issue Jan 3, 2020 · 5 comments
Open

Failed to run command "java -jar" closure-compiler #195

sonrohan opened this issue Jan 3, 2020 · 5 comments

Comments

@sonrohan
Copy link

sonrohan commented Jan 3, 2020

Error:

rh:battery-historian rohan$ go run setup.go

Generating JS runfiles...

Generating optimized JS runfiles...
failed to run command "java -jar /Users/rohan/work/src/github.com/google/battery-historian/third_party/closure-compiler/closure-compiler-v20170409.jar --closure_entry_point historian.upload --js js/*.js --js /Users/rohan/work/src/github.com/google/battery-historian/third_party/closure-library/closure/goog/base.js --js /Users/rohan/work/src/github.com/google/battery-historian/third_party/closure-library/closure/goog/**/*.js --only_closure_dependencies --generate_exports --js_output_file /Users/rohan/work/src/github.com/google/battery-historian/compiled/historian-optimized.js --output_manifest /Users/rohan/work/src/github.com/google/battery-historian/compiled/manifest.MF --compilation_level SIMPLE_OPTIMIZATIONS":
  exit status 1
  /Users/rohan/work/src/github.com/google/battery-historian/third_party/closure-library/closure/goog/base.js:2084: WARNING - Parse error. unknown @suppress parameter: strictMissingProperties
 * @suppress {strictMissingProperties} superClass_ and base is not defined on
              ^

Java

rh:battery-historian rohan$ java --version
java 13.0.1 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

Python

rh:battery-historian rohan$ python --version
Python 2.7.10

Go

rh:battery-historian rohan$ go version
go version go1.13.5 darwin/amd64

I suppose I have an incompatible version of Java, but it isn't stated which I should use inside of the README. So if that's the case, can we add the correct version to the README?

@sonrohan sonrohan changed the title full_test_cases.js:639 ERROR - Parse error. '(' expected Failed to run command "java -jar" closure-compiler Jan 3, 2020
@normallytangent
Copy link

I got the same error

@Hirohumi
Copy link

yes, got the same error

go1.13.8 darwin/amd64
Python 2.7.15
java 13.0.2 2020-01-14

also tried java 1.8, same error still

@sunxiaowen-zz
Copy link

yes ,i got the same error too ,so do u solve this problem?

@sonrohan
Copy link
Author

Hey guys, sorry no. I just gave up.

@sunxiaowen-zz
Copy link

Emm……thanks,I try something else

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

4 participants