The option is `-addmods java.xml.bind` 2016-07-07 12:56 GMT+02:00 Russel Winder <[email protected]>:
> On Thu, 2016-07-07 at 07:44 +0200, Jochen Theodorou wrote: > > On 06.07.2016 20:00, John Wagenleitner wrote: > > > [...]In order to get the latest > > > jdk-9 snapshot build to run locally I added the following export. > > > > > > export _JAVA_OPTIONS="-Djdk.launcher.addmods=java.xml.bind" > > > > export _JAVA_OPTIONS="--add-modules=javax.xml.bind" > > > > does not work? > > > > bye Jochen > > > I get: > > Unrecognized option: --add-modules=javax.xml.bind > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > But this may be because I am not doing the right thing? > > -- > > Russel. > > ============================================================================= > Dr Russel Winder t: +44 20 7585 2200 voip: > sip:[email protected] > 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] > London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
