The game 2048 built using JavaFX and Java 8. This is a fork based on the Javascript version: https://github.com/gabrielecirulli/2048
You will need Java 8 and ANT installed to build the project. Just execute ant in the project root.
ant
After you've built the project you can run this with a simple java command.
java -jar dist/Game2048.jar
The project is licensed under GPL 3. See LICENSE file for the full license.