From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84992 invoked by alias); 28 Oct 2018 14:21:56 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 84972 invoked by uid 89); 28 Oct 2018 14:21:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:zip, UD:jar, H*c:alternative X-HELO: mail-io1-f52.google.com Received: from mail-io1-f52.google.com (HELO mail-io1-f52.google.com) (209.85.166.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 28 Oct 2018 14:21:54 +0000 Received: by mail-io1-f52.google.com with SMTP id q18-v6so3412432iod.5 for ; Sun, 28 Oct 2018 07:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N40WxFt+OlFBItOSK6NfNk48WmPpWbW0Wy94zuqE8SQ=; b=DSHAouxUaAKYAOctlJ5dDEMMxl3nIvHVDsgr6ULRpPCew+6zFcMi6kFIzNUEjfDypQ 0xbrHvLypCsKl1CTyK2wH0IDqa4npl96vZeDD+ovfKMK0roQKGqoNYHsZtNeLJvm6kZi SfhSZfj2nCJV3C5Rp8yFUtteAQNGeqT7ZdcXUMSQMEqxH4NwCU9Vu7usMK1RhkjJQVW2 mgPZX2ZAph2SnNFtQzBdvBcb6+W5NAI0tNAKy8ipNTE2Q38wexgKBY7FlG+UZHd/e3bX XpM4W+0elzB6McgpfdKm5q7+PVLS9LX1i4QOY7uRvX+6tFwXCdDOoDqazAF2fkFWMcX9 ZnKA== MIME-Version: 1.0 References: <10215.1540734221@vpaur.eip10.org> In-Reply-To: <10215.1540734221@vpaur.eip10.org> From: Arie van Wingerden Date: Sun, 28 Oct 2018 14:21:00 -0000 Message-ID: Subject: Re: How to access JavaFx class library from Kawa? To: chaw@eip10.org Cc: kawa@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-q4/txt/msg00002.txt.bz2 Hi Chaw, thx! 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 Op zo 28 okt. 2018 om 14:43 schreef Sudarshan S Chawathe : > > when trying to run your JavaFx example from here: > > https://per.bothner.com/blog/2011/JavaFX-using-Kawa-intro/ I get errors > > like: Exception in thread "main" java.lang.NoClassDefFoundError: > > javafx/geometry/Orientation. > > > > This is understandable, since I only unpacked JavaFx in a folder, but I > > don't know how to inform Kawa how to find JavaFx stuff. > > If you set CLASSPATH for Java one way or the other (environment > variable, command-line option, ...) to include the JavaFX .jar files > then you should be able to use JavaFX from Kawa as well. At least, that > has been my experiance on a standard Debian-based setup. > > The CLASSPATH syntax allows using "*" to indicate "all jars in > directory" which I find useful in such cases to avoid having to > enumerate jars individually. > > Regards, > > -chaw > >