[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
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> |