GithubHelp home page GithubHelp logo

joerg-wille / client-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gluonhq/client-samples

0.0 0.0 0.0 574 KB

Client samples to run with Gluon Client plugins for Maven and Gradle

Java 93.85% CSS 6.15%

client-samples's Introduction

Gluon Client Samples

Java and JavaFX samples to run with GraalVM and the Gluon Client plugins for Maven.

Requirements

For now only Linux and Mac OS X are supported.

  • Install the Java 11 based GraalVM 19.3.0: download the appropriate Community Edition archive from https://github.com/oracle/graal/releases, and unpack it like you would any other JDK.

  • Configure the runtime environment. Set GRAALVM_HOME environment variable to the GraalVM installation directory, for example:

    export GRAALVM_HOME=/path-to-your-graalvm

    On macOS, point the variable to the Home sub-directory:

    export GRAALVM_HOME=/path-to-your-graalvm/Contents/Home

  • Set JAVA_HOME to point to the GraalVM installation directory, for example:

    export JAVA_HOME=$GRAALVM_HOME

  • Install the native-image tool using gu install:

    ${GRAALVM_HOME}/bin/gu install native-image

Build using Maven

HelloWorld, HelloFX, HelloFXML and HelloGluon samples

The following tasks apply to Linux and Mac OS X. See each sample for configuration details.

To build the native image:

mvn clean client:build

To run:

mvn client:run

or simply run the native executable found in target/client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.