Using Eclipse batch compiler
Remi Forax
forax at univ-mlv.fr
Fri Jan 13 07:02:26 UTC 2017
The module-info.class file format that can be read by ECJ currently is not the latest one, as far as i know.
cheers,
Rémi
----- Mail original -----
> De: "Stephen Felts" <stephen.felts at oracle.com>
> À: "jigsaw-dev" <jigsaw-dev at openjdk.java.net>
> Envoyé: Vendredi 13 Janvier 2017 02:26:04
> Objet: Using Eclipse batch compiler
> 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