Previous Next        Current Page: NeXtMidas Training / Installing NeXtMidas / Installing on Windows / Set the NeXtMidas Environment
back
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
   - Installing on Windows   
      - Important Notes   
      - Create Home and User Directories   
      - Download and Unzip NeXtMidas   
      - Set the NeXtMidas Environment   
      - Build the NeXtMidas Baseline   
   + Installing on Unix   
   + Running the Confidence Tests   
Support & Maintenance   
File Handlers   


  • Set the NeXtMidas Environment Variables:
    • NeXtMidas requires that the following environment variables be set:
      • Set USER to the user name (this is often the same as their login, it is not their full name):
        set USER=<name>
      • Set HOME to point to the user's home directory:
        set HOME=<home_dir>
      • Set JAVAHOME to point to the Java installation directory:
        set JAVAHOME=<java_install_dir>
      • Set NMROOT to point to the NeXtMidas installation directory:
        set NMROOT=<nxm_install_dir>
      • Set NMSTART to point to the NeXtMidas startup script:
        set NMSTART=%NMROOT%\os\dos\nmstart.bat
    • Many users find it easiest to go in and add these as user or system environment properties that get loaded each time a new shell is started. To set these, goto the Control Panel -> System. On the System Properties dialog select the Advanced tab and click the Environment Variables button near the bottom. Under User variables, click the New button to add the above environment variables one at a time.
    • If you are upgrading to a new version of NeXtMidas you just need to change NMROOT, the others will stay the same.
    • new New feature (Since NeXtMidas 2.8.3): A ready-to-use Windows batch file has been provided that alleviates the need to manually set Windows environment variables (above). The file is located at <nxm_install_dir>\os\dos\runNeXtMidas.bat.sample. To use the batch file, simply copy and rename the file ( <nxm_install_dir>\runNeXtMidas290.bat) and modify the JAVAHOME and NMROOT values within the file, as you did in the steps above. You may then use the runNeXtMidas290.bat file to start NeXtMidas, either through the DOS command prompt, as a Windows shortcut, or by double-clicking the batch file from Windows Explorer.

back