How to install JavaFx in Ubuntu 12.04?

Posted by Ant's on Ask Ubuntu See other posts from Ask Ubuntu or by Ant's
Published on 2012-06-04T03:11:54Z Indexed on 2012/06/04 4:48 UTC
Read the original article Hit count: 368

Filed under:
|

I download JavaFx from here. 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. Where I went wrong?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about installation