Using Eclipse batch compiler
Stephen Felts
stephen.felts at oracle.com
Fri Jan 13 01:26:04 UTC 2017
Can someone tell me how to use the Eclipse batch compiler with JDK9?
I've tried
java --add-modules=java.se.ee -jar ecj-4.6.2.jar HelloWorld.java
java --add-modules=java.se.ee -jar ecj-4.7M4.jar Helloworld.java
1. ERROR in HelloWorld.java (at line 1)
class HelloWorld {
^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
More information about the jigsaw-dev
mailing list