Yes, the assignment version works on 1.8, 1.9, but it doesn't work on
J9 (-XX:+IgnoreUnrecognizedVMOptions isn't implemented).

I do have a java version check and conditional logic implemented in
the bootstrap script, Alan, I just
wanted to point out the issue, I'm not complaining ;)

Dawid

On Mon, Sep 19, 2016 at 11:06 PM, Alan Bateman <alan.bate...@oracle.com> wrote:
>
> On 19/09/2016 12:21, Dawid Weiss wrote:
>>
>> :
>>>
>>> jdk1.8-ibm\bin\java -XX:+IgnoreUnrecognizedVMOptions --add-modules
>>> jdk.xml.bind,java.activation -version
>>
>> JVMJ9VM007E Command-line option unrecognised: --add-modules
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>
> The space separator will confuse it, you can you  try
> `--add-modules=jdk.xml.bind,java.activation`?
>
> -Alan

Reply via email to