Eclipse JavaFX - Ubuntu 19.1 - EclipseJava - JavaFX not found
Hello
I use Linux Mint (19.1) with EclipseForJavaDeveloppers. I created a new JavaFx project in Eclipse, resulting in the following:
The import javafx cannot be resolved.
When i try to identify where my javafx packages are located (which openjfx), there is no response. I found however some javafx jars in /usr/share/java...
Does someone know how to setup my system correctly?
Information (system)
Packages installed with apt:
- default-jdk
- default-jre
- openjfx
Environment variables
I have added the enviroment variables to my .bashrc as follows:
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
export JAVAFX_HOME="/usr/share/java"
Java version
The "java -version" is:
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed
mode, sharing)
Ubuntu version
The Ubuntu Release version "lsb_release -a" is:
LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa