LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2016, 10:38 AM   #1
chris_crunch
Member
 
Registered: Jan 2016
Location: Braintree, Essex
Distribution: Ubuntu 14.04
Posts: 107

Rep: Reputation: Disabled
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...
 
Old 02-22-2016, 10:43 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 6,224
Blog Entries: 2

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Quote:
Originally Posted by chris_crunch View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set JAVA environment variable path dushyantgohil Linux - Newbie 2 12-04-2012 09:50 AM
Set environment variable path Mohammed Zia Linux - Newbie 2 07-14-2012 12:27 AM
PATH environment variable rupeshkp728 Linux - Software 4 07-12-2012 12:01 AM
PATH environment variable Storken Linux - Newbie 7 12-23-2009 06:48 PM
PATH environment variable moonz Red Hat 3 09-08-2005 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration