简体   繁体   中英

How to install OpenJFX 11

I am trying to install the latest version of BlueJ, and it requires JDK 11 and OpenJFX. I have updated from Java 8 to 11 now, but I cannot find a way to actually install OpenJFX. I've tried to check the version of Open JFX, but I get an error message, and GDebi installer says that the dependancy is not there. No, sudo apt-get install openjfx is not working. Could anyone please help?

Output: dpkg: dependency problems prevent configuration of bluej: bluej depends on openjfx (>= 11); however: Version of openjfx on system is 8u60-b27-4. dpkg: dependency problems prevent configuration of bluej: bluej depends on openjfx (>= 11); however: Version of openjfx on system is 8u60-b27-4.

Looks like your openjfx is in older version, version for Java 8. You can either:

  • purge old installation and install openjfx-11,
  • download archive from openjfx website, extract it and link your projects to extracted directory.

Maybe there is an option to force installation of openjfx-11 but I prefer to purge old files first. Otherwise you may have a "little mess" later on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM