|
Application Programming: Distributing Virtual Machine Applications |
|
Installations of IDL that have access to a development license can create compiled binary versions of IDL applications; these compiled versions are stored in files with the extension .sav. Many applications stored in .sav files can be executed by the IDL Virtual Machine.
How you run a .sav file in the IDL Virtual Machine depends on your operating system:
Windows users can drag and drop the .sav file onto the IDL Virtual Machine desktop icon, launch the IDL Virtual Machine and open the .sav file, or launch the.sav file in the IDL Virtual Machine from the command line. If you have a copy of the IDL installation CD-ROM, you can also run the .sav file directly from the CD-ROM without installing IDL.
To use drag and drop:
.sav file in Windows Explorer.
.sav file.
To open a .sav file from the IDL Virtual Machine:
.sav file, and double-click or click Open to run it.
| Note If a license is available on the machine running the SAVE file, double-clicking the SAVE file will run it in the licensed version of IDL. To force the SAVE file to run in the Virtual Machine, either drag and drop the .sav file on the IDL Virtual Machine icon or run it from the command line with the -vm argument. |
To run a .sav file from the command line prompt:
cmd.
IDL_DIR\bin\bin.platform directory where platform is the platform-specific bin directory.
idlrt -vm=<path><filename>
where <path> is the path to the .sav file, and <filename> is the name of the .sav file.
You can run a .sav file without installing the IDL Virtual Machine on your computer if you have a copy of the IDL 6.4 installation CD-ROM. To open a .sav file in the IDL Virtual Machine:
UNIX users must launch the IDL Virtual Machine from the UNIX command line.
To run a .sav file in the IDL Virtual Machine:
idl -vm=<path><filename>
where <path> is the complete path to the .sav file and <filename> is the name of the .sav file. The IDL Virtual Machine window is displayed.
.sav file.
To launch the IDL Virtual Machine and use the file selection menu to locate the .sav file to run:
Macintosh users can drag and drop the .sav file onto the IDL Virtual Machine desktop icon, launch the IDL Virtual Machine and open the .sav file, or launch the.sav file in the IDL Virtual Machine from the command line.
| Note When installing the IDL Virtual Machine, you have the opportunity to specify where (if anywhere) an alias (with its associated icon) should be placed. You can select the dock, the desktop, or any other folder. In these instructions, we assume you have installed the alias on the desktop. |
To use drag and drop:
.sav file in the Finder.
.sav file.
To open a .sav file from the IDL Virtual Machine:
To run the IDL Virtual Machine from the UNIX command line:
idl -vm=<path><filename>
where <path> is the complete path to the .sav file and <filename> is the name of the .sav file. The IDL Virtual Machine window is displayed.
.sav file.
To launch the IDL Virtual Machine and use the file selection menu to locate the .sav file to run:
IDL Online Help (March 06, 2007)