Cannot resolve symbol 'javafx'

Hi,

I did pamac install jdk11-openjdk java11-openjfx, and set the default jdk to java-11-openjdk:

# archlinux-java status                                                                                                                                         
Available Java environments:
  java-11-openjdk (default)
  java-8-openjdk
  zulu-11

When trying to use Pair with import javafx.util.Pair;in Intellij IDEA and VSCode, I still got Cannot resolve symbol 'javafx' error. Can someone suggest what’s needed to find javafx? Thank you!

What’s that? How did you install it? What commands are you running that produces the error? These are questions I should not have to ask. :wink:

Did you setup your IDE correctly? You can configure the development environment in the settings which is different from the system settings.

1 Like

Thanks. I changed to org.apache.commons.lang3.tuple.Pair;.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.