I believe the -modulepath option is for specifying a directory, not a jar. Do something like this: javac -modulepath mods YourClass.java
Cheers, Paul On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte <rfscho...@apache.org> wrote: > Hi, > > I've started patching the plexus-compiler so we can start compiling > projects with module-info > > See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea > > However, I can't find detailed info about the -modulepath argument. > > Usage: javac <options> <source files> > where possible options include: > ... > -classpath <path> Specify where to find user class files and > annotation processors > ... > -modulepath <path> Specify where to find user module class files > > However, I can't simply add a range of jar files like I can with > classpath, or could this be a Windows issue? > > error: illegal argument for -modulepath: > F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar > > thanks, > Robert > > Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier < > aherit...@gmail.com>: > > > Hi all, >> >> This week I was at Devoxx conférence where there were various talks >> about >> the incoming JDK 9 and the new Java Modules. If this is a subject that you >> are interested in and want to know more (and especially how it will break >> maven) I recommend you to watch the recording of the following sessions >> >> Keynote by Mark Reinhold >> https://www.youtube.com/watch?v=l1s7R85GF1A >> >> Introduction to Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=qr4O4SbzihQ >> >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=KZfbRuvv5qc >> >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=V6ycn1-QQV0 >> >> Advanced Modular Development by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=SU1WFX8yeKM >> >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman >> https://www.youtube.com/watch?v=UKC0uC7QUkI >> >> Ask the JDK Architects >> https://www.youtube.com/watch?v=7vvx505mu3s >> >> Form now all Devoxx sessions are freely available on Youtube at D+1 >> >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg >> >> As Jason is in the expert group I imagine that he already started to think >> about how to adapt maven to be able to easily consume/produce classical >> jar >> files and J9+ Java Modules. >> >> Cheers, >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >