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
- Host: GitHub
- URL: https://github.com/coldnew/clojure-javafx-hello
- Owner: coldnew
- Created: 2013-03-09T07:54:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-09T12:48:15.000Z (over 13 years ago)
- Last Synced: 2025-01-15T12:14:32.848Z (over 1 year ago)
- Language: Clojure
- Size: 117 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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.