I am installing a program called jLog which uses Java to run in Linux. The jLog installation instructions tell me to do the following:
I have followed these instructions carefully but I am not finding success. Below is my output. Note ...I installed Java in my home directory of /mrmsu/Java.
Obviously, I'm not able to add this path as needed. What am I doing wrong?
Mike
# Unless already installed, please install the Java Runtime Environment before installing the jLog application.
# Log in as the preferred user and download the installer program that corresponds to the selected version of jLog.
# Make sure that the logged in user can reach the Java (JRE) previously installed by opening a Terminal window ("shell") and typing:
$ echo $PATH
Inspect the output. If Java is not found in the PATH, please enter (assuming that the Java JRE was placed in: '/usr/java/', substitute if different):
$ PATH=$PATH:/usr/java/jre1.6.0_06/bin; export PATH
$ echo $PATH
Please verify that Java is found in the PATH by re-entering 'echo $PATH'
# Log in as the preferred user and download the installer program that corresponds to the selected version of jLog.
# Make sure that the logged in user can reach the Java (JRE) previously installed by opening a Terminal window ("shell") and typing:
$ echo $PATH
Inspect the output. If Java is not found in the PATH, please enter (assuming that the Java JRE was placed in: '/usr/java/', substitute if different):
$ PATH=$PATH:/usr/java/jre1.6.0_06/bin; export PATH
$ echo $PATH
Please verify that Java is found in the PATH by re-entering 'echo $PATH'
mrmsu@closet:~$ sudo PATH=$PATH:Java/jre1.6.0_06/bin;export PATH
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
mrmsu@closet:~$ sudo PATH=.:$PATH:Java/jre1.6.0_06/bin;export PATH
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
mrmsu@closet:~$ sudo PATH=$PATH:~Java/jre1.6.0_06/bin;export PATH
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ..
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
mrmsu@closet:~$ sudo PATH=.:$PATH:Java/jre1.6.0_06/bin;export PATH
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
mrmsu@closet:~$ sudo PATH=$PATH:~Java/jre1.6.0_06/bin;export PATH
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ..
Mike
Comment