This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to access JavaFx class library from Kawa?


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]