Using Eclipse batch compiler

Wayne Beaton wayne at eclipse.org
Fri Jan 13 04:15:15 UTC 2017


Ask the Eclipse JDT Team.

http://www.eclipse.org/forums/eclipse.tools.jdt

Wayne

On 12/01/17 08:26 PM, Stephen Felts wrote:
> 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
>

-- 
Wayne Beaton
@waynebeaton
The Eclipse Foundation
Eclipse Converge <https://www.eclipseconverge.org/na2017/>


More information about the jigsaw-dev mailing list