Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1006 Bytes

README.md

File metadata and controls

38 lines (20 loc) · 1006 Bytes

Simple Gradle JavaFX Native Hook project.

To run it install Gradle 1.6 and the last Java SE Development Kit 7.

Clone the project:

> git clone https://github.com/dahuapp/JavaFXGradleDummy.git
> cd JavaFXGradleDummy

Change the following environment variables in your current shell (please adapt the solution to your plateform and install settings):

export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_21
export JAVAFX_HOME=/usr/lib/jvm/jdk1.7.0_21
export JFXRT_HOME=/usr/lib/jvm/jdk1.7.0_21

Run the project:

> gradle run

To bundle the app for distribution do:

> gradle build

This will create a .dmg on Max OSx, .exe on Windows and .deb on Ubuntu

Info

In OSX you must activate accessibility.

To turn it on, type this in Terminal:

> sudo touch /private/var/db/.AccessibilityAPIEnabled

To then disable it, type this:

> sudo rm /private/var/db/.AccessibilityAPIEnabled