Current Page:
NeXtMidas Training
Installing NeXtMidas
Installing on Unix
Set Environment Variables
|
|
- Shell Setup:
- NeXtMidas requires users to use the C-shell (either csh or tcsh).
- If the default shell is not the C-shell, then start the C-shell
before using NeXtMidas.
- This follows X-Midas practice.
- Environment Variables:
- Set
JAVAHOME to point to the Java installation
directory (this is usually under /opt/ ). For example:
setenv JAVAHOME /opt/j2sdk1.4.2_04
- Set the
NMROOT to point to the NeXtMidas install
directory. For example:
setenv NMROOT /home/midas/nxm220
- Alias
nmstart to simplify starting NeXtMidas:
alias nmstart 'source $NMROOT/os/unix/nmstart'
Use single quotes rather than double quotes when setting this alias
so that any change to NMROOT will be automatically
picked up next time you use nmstart .
- Many users also alias
nms to nmstart :
alias nms nmstart
- To make life easy these can all be set in
.cshrc . For
example:
setenv JAVAHOME "/opt/j2sdk1.4.2_04"
setenv NMROOT "/home/midas/nxm220"
alias nmstart 'source $NMROOT/os/unix/nmstart'
alias nms nmstart
|
|
|