This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: How to access JavaFx class library from Kawa?
- From: "Sudarshan S Chawathe" <chaw at eip10 dot org>
- To: Arie van Wingerden <xapwing at gmail dot com>
- Cc: kawa at sourceware dot org
- Date: Sun, 28 Oct 2018 11:18:45 -0400
- Subject: Re: How to access JavaFx class library from Kawa?
- Reply-to: "Sudarshan S Chawathe" <chaw at eip10 dot org>
> Now tried this:
> set CLASSPATH=E:\Programs\openjdk\lib\*;E:\Programs\openjfx\lib\*;.\*
> last one is for jars in current dir.
>
> But it still fails because it cannot find javafx/geometry/Orientation.
>
> In openjfx\lib I see:
> javafx-swt.jar
> javafx.base.jar
> javafx.controls.jar
> javafx.fxml.jar
> javafx.graphics.jar
> javafx.media.jar
> javafx.properties
> javafx.swing.jar
> javafx.web.jar
> src.zip
>
> But no "geometry" or similar.
>
> /Arie
The CLASSPATH should include jfxrt.jar, which has the geometry package.
In my setup, that file's location is (not the "ext" subdirectory):
/usr/share/java/openjfx/jre/lib/ext/jfxrt.jar
Regards,
-chaw