Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:software:java [2014/01/18 12:21 (UTC)]
alienbob [Java not found after installation]
howtos:software:java [2014/11/08 12:39 (UTC)] (current)
bormant [Java not found after installation] fix typo in name of profile.d
Line 77: Line 77:
 Help! I installed Java but when I try to use it, I get "​command not found"​! Help! I installed Java but when I try to use it, I get "​command not found"​!
  
-What you need to know is that the Java package installs two files in your profile directory "''/​etc/​profile/d/''"​. Depending on which login shell you use, one of these is executed whenever you login. The profile script adds the Java directory to the $PATH variable (so that you can start the ''​java''​ command) and sets the $JAVA_HOME variable (needed by other programs that try to locate your Java installation).+What you need to know is that the Java package installs two files in your profile directory "''/​etc/​profile.d/''"​. Depending on which login shell you use, one of these is executed whenever you login. The profile script adds the Java directory to the $PATH variable (so that you can start the ''​java''​ command) and sets the $JAVA_HOME variable (needed by other programs that try to locate your Java installation).
  
 Here follows the content of such a script on 64-bit Slackware: <​code>​ Here follows the content of such a script on 64-bit Slackware: <​code>​

In Other Languages
QR Code
QR Code howtos:software:java (generated for current page)