operating_systems:linux:debian:java_installation
Differences
This shows you the differences between two versions of the page.
operating_systems:linux:debian:java_installation [2012/08/26 10:31] – created sbolay | operating_systems:linux:debian:java_installation [2024/07/25 10:18] (current) – maferreira | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== download and install the JRE for Linux. | + | ===== download and install the JRE for Linux. ===== |
- Download | - Download | ||
Line 6: | Line 6: | ||
- Test Installation | - Test Installation | ||
- | ===== Download | + | ==== Download ==== |
- Go to http:// | - Go to http:// | ||
- Click on Get Java Software button | - Click on Get Java Software button | ||
Line 14: | Line 14: | ||
</ | </ | ||
- | ==== Linux Download Options | + | === Linux Download Options === |
- Click the appropriate Download button to download the package that best suits your needs. You can download the file to any of the directories on your system. | - Click the appropriate Download button to download the package that best suits your needs. You can download the file to any of the directories on your system. | ||
- After download verify (For Linux self extracting binary file): | - After download verify (For Linux self extracting binary file): | ||
Line 20: | Line 20: | ||
* Size is approximately 15.8 MB | * Size is approximately 15.8 MB | ||
- | ===== Install | + | ==== Install ==== |
- | ==== Linux self extracting binary file ==== | + | === Linux self extracting binary file === |
< | < | ||
The instructions below are for installing JRE 5.0. If you're installing another version, make sure you change the version number appropriately when you type the commands at the terminal. | The instructions below are for installing JRE 5.0. If you're installing another version, make sure you change the version number appropriately when you type the commands at the terminal. | ||
Line 53: | Line 53: | ||
- The installation is now complete. Go to the Enable and Configure section. | - The installation is now complete. Go to the Enable and Configure section. | ||
- | ===== Enable and Configure | + | ==== Enable and Configure ==== |
# Mozilla 1.4 and later # Mozilla 1.2, Netscape 6 and later | # Mozilla 1.4 and later # Mozilla 1.2, Netscape 6 and later | ||
Line 75: | Line 75: | ||
- Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well. | - Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well. | ||
- Go to Edit > Preferences. Under Advanced category > Select Enable Java | - Go to Edit > Preferences. Under Advanced category > Select Enable Java | ||
+ | |||
+ | ====== Using ASDF ====== | ||
+ | |||
+ | First, install asdf as well as its java plugin: | ||
+ | |||
+ | < | ||
+ | $ git clone https:// | ||
+ | </ | ||
+ | |||
+ | Then, depending of your shell, chose the right instructions (<your shell> + git) [[https:// | ||
+ | |||
+ | Once you have installed asdf, add its Java plugin: | ||
+ | |||
+ | < | ||
+ | $ asdf plugin-add java https:// | ||
+ | </ | ||
+ | |||
+ | Finally, pick a version of openjdk and install it: | ||
+ | |||
+ | < | ||
+ | |||
+ | $ asdf list all java | ||
+ | ... | ||
+ | |||
+ | openjdk-9 | ||
+ | openjdk-9.0.1 | ||
+ | openjdk-9.0.4 | ||
+ | openjdk-10 | ||
+ | openjdk-10.0.1 | ||
+ | openjdk-10.0.2 | ||
+ | openjdk-11 | ||
+ | openjdk-11.0.1 | ||
+ | openjdk-11.0.2 | ||
+ | openjdk-12 | ||
+ | openjdk-12.0.1 | ||
+ | openjdk-12.0.2 | ||
+ | openjdk-13 | ||
+ | openjdk-13.0.1 | ||
+ | openjdk-13.0.2 | ||
+ | openjdk-14 | ||
+ | openjdk-14.0.1 | ||
+ | openjdk-14.0.2 | ||
+ | openjdk-15 | ||
+ | openjdk-15.0.1 | ||
+ | openjdk-15.0.2 | ||
+ | openjdk-16 | ||
+ | openjdk-16.0.1 | ||
+ | openjdk-16.0.2 | ||
+ | openjdk-17 | ||
+ | openjdk-17.0.1 | ||
+ | openjdk-17.0.2 | ||
+ | openjdk-18 | ||
+ | openjdk-18.0.1 | ||
+ | openjdk-18.0.1.1 | ||
+ | openjdk-18.0.2 | ||
+ | openjdk-18.0.2.1 | ||
+ | openjdk-19 | ||
+ | openjdk-19.0.1 | ||
+ | openjdk-19.0.2 | ||
+ | openjdk-20 | ||
+ | openjdk-20.0.1 | ||
+ | openjdk-20.0.2 | ||
+ | openjdk-21 | ||
+ | openjdk-21.0.1 | ||
+ | openjdk-21.0.2 | ||
+ | openjdk-22 | ||
+ | openjdk-22.0.1 | ||
+ | openjdk-22.0.2 | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ asdf install java openjdk-17 | ||
+ | $ asdf global java openjdk-17 | ||
+ | </ | ||
+ |
operating_systems/linux/debian/java_installation.1345977116.txt.gz · Last modified: 2012/08/26 10:31 by sbolay