PDA

View Full Version : [ubuntu] How to install JavaFx in Ubuntu 12.04?



antoaravinth
June 5th, 2012, 04:30 AM
I download JavaFx from here (http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html). I placed it in my home directory(anto) under the name javafx. Then I did something like this :

vi ~/.bashrc

and added the following lines:

javaFx_home=/anto/javafx/rt/lib/jfxrt.jar
export PATH=$PATH:$javaFx_home

But after providing the classpath, I tried running :

groovy MyProgram
(which depends on the JavaFx classpath).

But that throws me an error, stating that JavaFx can't be found. Where I went wrong?

virpara
June 8th, 2012, 03:33 PM
Give output of
ls /anto/javafx/

antoaravinth
June 12th, 2012, 06:50 AM
I get output like this :


bin docs README.html THIRDPARTYLICENSEREADME.txt
COPYRIGHT.html lib rt tools