An open API service indexing awesome lists of open source software.

https://github.com/coldnew/clojure-javafx-hello

javafx hello example for clojure
https://github.com/coldnew/clojure-javafx-hello

Last synced: about 2 months ago
JSON representation

javafx hello example for clojure

Awesome Lists containing this project

README

          

#+Style: h1,h2,h3 {font-family: arial, helvetica, sans-serif}

* clojure-javafx-hello

A javafx "Hello World" program writtem in clojure.
For the full java code, please see follwing link

http://docs.oracle.com/javafx/2/get_started/hello_world.htm

* Project Setup

You must install maven2 and use following instruction to add
javafx to your local maven repo.

1. Find your javafx.jar, for example Gentoo/Funtoo Linux will install
javafx under /opt/oracle-jre-bin-1.7.0.17/lib/jfxrt.jar.

2. Use follwoing command to add jfxrt.jar to your maven local repo.

: mvn deploy:deploy-file -DgroupId=local.oracle -DartifactId=javafxrt \
: -Dversion=2.2.0 -Dpackaging=jar \
: -Dfile=/opt/oracle-jre-bin-1.7.0.17/lib/jfxrt.jar \
: -Durl=file:${HOME}/.m2/repository

Note that you must use absolute path and replace ${HOME} your Home place.

* License

Copyright © 2013 coldnew

Distributed under the Eclipse Public License, the same as Clojure.