[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:software:java [2013/02/19 18:38 (UTC)] – Stress the fact that you have to download everything in the java directory. alienbob | howtos:software:java [2014/11/08 12:39 (UTC)] (current) – [Java not found after installation] fix typo in name of profile.d bormant | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== Java in Slackware ====== | ====== Java in Slackware ====== | ||
Line 15: | Line 14: | ||
<note important> | <note important> | ||
- | ===== Java (JDK) Installation on Slackware 14 ===== | + | ==== Java (JDK) Installation on Slackware 14 and newer ==== |
Follow the steps below to install Java on your system: | Follow the steps below to install Java on your system: | ||
Line 62: | Line 61: | ||
10. If you want [[slackware: | 10. If you want [[slackware: | ||
+ | |||
+ | |||
+ | ===== OpenJDK ===== | ||
+ | |||
+ | If you prefer the fully Open Source alternative of OpenJDK instead of Oracle' | ||
+ | |||
+ | If you decide you want to use OpenJDK, the same rules apply that were written above for the Oracle Java packages: //only install one of the two, either JRE or JDK!// | ||
+ | If you want a web-browser plugin like Oracle' | ||
+ | |||
+ | If you decide you want to compile OpenJDK from source, then use the [[http:// | ||
+ | |||
+ | |||
+ | ===== Java not found after installation ===== | ||
+ | |||
+ | Help! I installed Java but when I try to use it, I get " | ||
+ | |||
+ | What you need to know is that the Java package installs two files in your profile directory "''/ | ||
+ | |||
+ | Here follows the content of such a script on 64-bit Slackware: < | ||
+ | #!/bin/sh | ||
+ | export JAVA_HOME=/ | ||
+ | export MANPATH=" | ||
+ | export PATH=" | ||
+ | </ | ||
+ | . / | ||
+ | </ | ||
+ | |||
====== Sources ====== | ====== Sources ====== | ||
* Original source: [[http:// | * Original source: [[http:// | ||
* Contributions by [[wiki: | * Contributions by [[wiki: | ||
- | + | | |
- | + | ||
- | < | + | |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must also remove the tag-word " | ||
{{tag> | {{tag> |