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

Reply via email to