Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple JavaFX app demonstrating the use of jNativeHook in order to access global keyboard input event.

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages