LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java as a path environment variable (https://www.linuxquestions.org/questions/linux-newbie-8/java-as-a-path-environment-variable-4175572915/)

chris_crunch 02-22-2016 09:38 AM

Java as a path environment variable
 
Quote:

2. Define the environment variable HUGINHOME.

In order to use this software, you must tell it where to find the
help files. You do this by setting the HUGINHOME environment variable
in your shell startup file.

If you are using the C-shell, insert the following line in the
".cshrc" file in your home directory.

setenv HUGINHOME /usr/local/hugin

(assuming /usr/local/hugin were chosen as the directory name in step 1)

If you are using a shell compatible with the Bourne shell, insert the
following lines in the shell startup file:

HUGINHOME=/usr/local/hugin
export HUGINHOME

The "sh" and "ksh" shells use "$HOME/.profile" as the startup file; and
the "bash" shell uses "$HOME/.bashrc" as the startup file.


3. The Java interpreter (the "java" command) must be in your search path.
If necessary, edit your shell settings of the "path" variable.

Alternatively, the "hugin" shell script can be edited to use the full
path of the Java interpreter.

Note that a 64-bit Java interpreter is required for this software (due
to the use of native code).
I'm installing a program called hugin, or at least trying to.

After finding out what .bashrc was, I think I've done number 2 well enough. But I'm not really sure I understand what the instructions are saying in number 3. I have literally no idea where to start with understand this...

hydrurga 02-22-2016 09:43 AM

Quote:

Originally Posted by chris_crunch (Post 5504272)
I'm installing a program called hugin, or at least trying to.

After finding out what .bashrc was, I think I've done number 2 well enough. But I'm not really sure I understand what the instructions are saying in number 3. I have literally no idea where to start with understand this...

Does this help?

https://java.com/en/download/help/path.xml


All times are GMT -5. The time now is 04:20 PM.