jmod issue
David Holmes
david.holmes at oracle.com
Thu Mar 1 16:33:53 PST 2012
On 2/03/2012 9:22 AM, Jonathan Gibbons wrote:
> OK -- turns out " Illegal module-name character at index 7" is a synonym
> for "file not found"
I think it may expect a simple filename foo.jmod with no path component.
David
> -- Jon
>
> On 03/01/2012 03:16 PM, Jonathan Gibbons wrote:
>> jmod --help includes the following text:
>>
>>
>> jmod install [--noverify] <module-file> ...
>>
>> but if I specify a filename, I get the following issue:
>>
>> %/opt/jdk/jigsaw/bin/jmod install -L mlib modules/hello.jmod
>> java.lang.IllegalArgumentException: modules/hello.jmod: Illegal
>> module-name character at index 7
>> org.openjdk.jigsaw.cli.Command$Exception:
>> java.lang.IllegalArgumentException: modules/hello.jmod: Illegal
>> module-name character at index 7
>> at org.openjdk.jigsaw.cli.Librarian$Install.go(Librarian.java:242)
>> at org.openjdk.jigsaw.cli.Librarian$Install.go(Librarian.java:186)
>> at org.openjdk.jigsaw.cli.Command.run(Command.java:97)
>>
>> How should I install a .jmod file?
>>
>> -- Jon
>
More information about the jigsaw-dev
mailing list