You are not logged in.

#1 2017-05-24 10:03:01

ChesSeu
Member
Registered: 2016-10-27
Posts: 18

IntelliJ can not resolve javafx.

I've installed javafx-openjdk, but I can't find where it is saved. In my /usr/lib64/jvm there is the following folders:

default
default-runtime
java-8-openjdk
Default-runtime isn't a valid home for jdk, and the others two does not solve the issue.

Is there any1 who can point me in the right direction here?

Offline

#2 2017-05-24 10:48:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: IntelliJ can not resolve javafx.

What's your project setup in IntelliJ? At least on eclipse, If you set its execution environment to the generic "Java 8 SE compatibility" it won't find it either, you have to tell it to explicitly use the detected openjdk8. As for finding where the files are located

pacman -Ql java-openjfx

Offline

#3 2017-06-07 16:13:28

thomas17
Member
Registered: 2017-03-01
Posts: 21

Re: IntelliJ can not resolve javafx.

I have the same problem, but java-fx is installed. I no reference them in eclipse directly as workaround. Eclipse seems to find them not.

Offline

#4 2017-07-13 12:29:36

duch11
Member
Registered: 2017-07-13
Posts: 1

Re: IntelliJ can not resolve javafx.

I Just fixed it! smile
First off, make sure to have the java-openjfx installed.
Then just delete the old reference to the JDK (ctrl + shift + alt + s, or press the link at the error message) and add a new one from the same directory as before. (/usr/lib/jvm/java-8-openjdk/ for me)
Then it will automaticly find the new files added to the directory.

Offline

#5 2019-09-13 06:52:41

Kuudev
Member
Registered: 2019-09-13
Posts: 1

Re: IntelliJ can not resolve javafx.

I know it's too late but I've found the solution
You have to install javafx corresponding to the version
In this case, javafx8 must be installed as follows:

pacman -S java8-openjfx

If you want to install another version just replace the 8 with the version you need

Offline

#6 2019-09-13 07:14:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: IntelliJ can not resolve javafx.

You are two years too late, that package didn't exist back then. (And java-openjfx refered to the 8 version): Don't necrobump: https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.

Offline

Board footer

Powered by FluxBB