PDA

View Full Version : [Lubuntu] JavaFX in Eclipse



mr-pyro
December 6th, 2017, 12:36 AM
Hi,

I have installed openjdk 9, eclipse fx plugin, and openjfx, but no matter what I try (reinstall java, install oracle java, update java, change settings in eclipse) eclipse cannot seem to find javafx. The import statements just have errors. I have tried:

https://www.chrisnewland.com/eclipse-cant-find-import-javafx-320 (jdk installation folder does not contain a folder named jre)

https://stackoverflow.com/questions/43023251/javafx-is-not-recognized-in-eclipse-neon-jdk-8-after-installing-efxlipse-and (installed openjfx)

https://stackoverflow.com/questions/15592775/javafx-is-not-recognized-in-eclipse

I got it working on a past installation of lubuntu, but i cannot remember what i did. I have no idea what to do now and any help is appreciated.

mr-pyro
December 8th, 2017, 12:12 PM
Are there any installers that install java jdk for lubuntu? I have tried the apt-get method, but it keeps giving me broken installs. I now have like five different installs of java jdks, but only 1 is detected and eclipse will not run complaining about java not being installed. Also is there a way to delete all the broken installs of java, so that I can start fresh? I have tried to follow many tutorials to install java, but either the java installation does not work, or does not include jfx (after sudo apt-get install openjfx).

faraco2
December 10th, 2017, 05:47 AM
Hi,

can you please share the release version of Lubuntu you are using?

QIII
December 10th, 2017, 07:01 AM
Threads merged.

mr-pyro
December 10th, 2017, 08:28 PM
https://i.imgur.com/HJUfZgQ.png

I had java working, however I accidentally broke the install while trying to get java to work. I once tried to install the oracle version, but could not get it to work.