[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 22:53 (UTC)] – Added section about OpenJDK 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 14: | 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 61: | Line 61: | ||
10. If you want [[slackware: | 10. If you want [[slackware: | ||
+ | |||
===== OpenJDK ===== | ===== OpenJDK ===== | ||
Line 70: | Line 71: | ||
If you decide you want to compile OpenJDK from source, then use the [[http:// | 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 ====== |