The easiest way to manage your local JDK is to use sdkman.  Install it by following instructions at:  https://sdkman.io/install.


sdk list java | grep zulu


 Azul Zulu     |     | 15.0.2       | zulu    |            | 15.0.2-zulu         
               |     | 15.0.2.fx    | zulu    |            | 15.0.2.fx-zulu      
               |     | 15.0.1       | zulu    |            | 15.0.1-zulu         
               |     | 15.0.1.fx    | zulu    |            | 15.0.1.fx-zulu      
               |     | 14.0.2.fx    | zulu    |            | 14.0.2.fx-zulu      
               |     | 13.0.5.fx    | zulu    |            | 13.0.5.fx-zulu      
               | >>> | 11.0.10      | zulu    | installed  | 11.0.10-zulu        
               |     | 11.0.10.fx   | zulu    |            | 11.0.10.fx-zulu     
               |     | 11.0.9       | zulu    |            | 11.0.9-zulu         
               |     | 11.0.9.fx    | zulu    |            | 11.0.9.fx-zulu      
               |     | 8.0.282      | zulu    | installed  | 8.0.282-zulu        
               |     | 8.0.282.fx   | zulu    |            | 8.0.282.fx-zulu     
               |     | 8.0.275.fx   | zulu    |            | 8.0.275.fx-zulu     
               |     | 7.0.282      | zulu    |            | 7.0.282-zulu 


Install the java version you want. The fx signifies that java FX is included.


sdk install java 8.0.282.fx-zulu 

Downloading: java 8.0.282-zulu

In progress...

######################################################################### 100.0%######################################################################### 100.0%

Repackaging Java 8.0.282-zulu...

Done repackaging...

Installing: java 8.0.282-zulu
Done installing!

Do you want java 8.0.282-zulu to be set as default? (Y/n): n


The tool sdkman stores everything in directory:  ~/.sdkman/; e.g.., all JDKs are in: ~/.sdkman/candidates/java/.



  • No labels