-Xbootclasspath/p is no longer a supported option in Java9

995 views
Skip to first unread message

Paul

unread,
Jan 10, 2018, 12:41:42 PM1/10/18
to marlin-renderer
Hi Laurent,

I can patch my app using java8 and the unsafe.jar, but I'm using 9, which gives me "-Xbootclasspath/p is no longer a supported option."
How do I patch now? I'm using the standard Oracle JDK at the moment.

One other question, please: does Marlin target only vector graphics, or will it offer improvements to my canvas.getGraphicsContext().drawImage(image,x,y);  (JavaFX) calls too? 

Thanks,
Paul

Laurent Bourgès

unread,
Jan 10, 2018, 3:20:36 PM1/10/18
to marlin-...@googlegroups.com
Hi Paul,


I can patch my app using java8 and the unsafe.jar, but I'm using 9, which gives me "-Xbootclasspath/p is no longer a supported option."
How do I patch now? I'm using the standard Oracle JDK at the moment.

Right. The Java module system changed lots of things in Java9+.

For that purpose, I released the first Marlin 0.8.2 for jdk9 & 10, tested on Oracle & Openjdk 9 / 10:

To patch your jdk, you should use:
java --patch-module java.desktop=<path>/marlin-0.8.2-Unsafe-OpenJDK9.jar ...

FYI jdk9 has Marlin 0.7.4 (june 2016), jdk10 has Marlin 0.8.2 already (since EA build 36).


One other question, please: does Marlin target only vector graphics, or will it offer improvements to my canvas.getGraphicsContext().drawImage(image,x,y);  (JavaFX) calls too? 

The Marlin renderer is dedicated to shape rasterization in Java2d, MarlinFX to Shape / Canvas path in JavaFX. 
It has no impact on image primitives.

If you are using JavaFX, you should use the MarlinFX 0.8.2 release for jdk9+ 

Use the given option to patch the javafx.graphics module (jfx9 has MarlinFX 0.7.5)

Regards,
Laurent

Paul

unread,
Jan 10, 2018, 4:50:44 PM1/10/18
to marlin-renderer
Ref: Xbootclasspath/p is no longer a supported option in Java9

Thanks, Laurent,

That works without issue,

Best
Paul 
Reply all
Reply to author
Forward
0 new messages