I'm trying to build a JFX app on IntelliJ. I installed JavaFX using the command:
sudo apt-get install openjfx
I found somewhere that I am supposed to add jfxswt.jar and jfxrt.jar to the class path. I ran the find command on the root directory but I didn't find either file.
EDIT:
apt policy openjfx output:
openjfx:
Installed: 11.0.2+1-1~18.04.2
Candidate: 11.0.2+1-1~18.04.2
Version table:
*** 11.0.2+1-1~18.04.2 500
500 http://jo.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
100 /var/lib/dpkg/status
8u161-b12-1ubuntu2 500
500 http://jo.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
Edit 2:
dpkg -L openjfx output:
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/openjfx
/usr/share/doc/openjfx/TODO.Debian
/usr/share/doc/openjfx/changelog.Debian.gz
/usr/share/doc/openjfx/copyright
/usr/share/openjfx
/usr/share/openjfx/lib
/usr/share/openjfx/lib/javafx.properties
/usr/share/openjfx/lib/javafx.base.jar
/usr/share/openjfx/lib/javafx.controls.jar
/usr/share/openjfx/lib/javafx.fxml.jar
/usr/share/openjfx/lib/javafx.graphics.jar
/usr/share/openjfx/lib/javafx.media.jar
/usr/share/openjfx/lib/javafx.swing.jar
/usr/share/openjfx/lib/javafx.web.jar
Edit 3:
ls /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ output:
accessibility.properties ext jvm.hprof.txt resources.jar
amd64 flavormap.properties logging.properties rt.jar
calendars.properties hijrah-config-umalqura.properties management security
charsets.jar images management-agent.jar sound.properties
classlist jar.binfmt meta-index swing.properties
cmm jce.jar net.properties tzdb.dat
content-types.properties jexec psfontj2d.properties
currency.data jsse.jar psfont.properties.ja