4

Does anyone know where I can find the jar file for the javafx package for windows? I can only find zip files and exe files. Can someone answer with a link to download the package?

i .
  • 485
  • 2
  • 10
  • 23
  • Have you tried search.maven.org? There's a bunch of projects with "javafx" in the name. Not sure which one matches your needs. – phatfingers Apr 03 '13 at 03:45

4 Answers4

4

You need to first install the javafx_sdk-2_0_1-windows-i586.exe That will install JavaFx 2 sdk on your machine at by defualt C drive. You can get jfxrt.jar at following location C:\Program Files\Oracle\JavaFX Runtime 2.0\lib\jfxrt.jar

you have to refer this in classpath of your project.

vaishali33
  • 117
  • 7
  • 2
    The separate download (currently v2.2.7) is only for Java SE 6, which has reached End Of Life. JavaFX is co-bundled with the latest JDK/ JRE from Oracle for Java SE 7. – Puce Apr 03 '13 at 10:37
  • Yes.. I am having version 2.0 and using it since long. These are just sample paths that I had given in my answer – vaishali33 Apr 10 '13 at 06:50
3

JavaFX comes together with the latest JDK/ JRE from Oracle.

Puce
  • 37,247
  • 13
  • 80
  • 152
3

Since java 1.7 the javafx is embedded in JRE/JDK, you can find the jfxrt.jar

under directory C:\Program Files\Java[jdk1.8.0_25]\jre\lib\ext (conform to your jdk location)

Note, if you are using java 1.6 or below, you will not find it.

1

It comes with JRE - Currently, I have 1.8 In Windows - 1. Visit this path C:\Program Files\Java\jre1.8.0_162\lib 2. Add "jfxswt.jar" to libraries

Make sure also you have the same JRE

Eclipse - Build Path