Installing JSim under Microsoft Windows
JSim's Windows distribution runs on Windows 2000 and XP. We have not yet tried it on Windows Vista. If have, please contact us. If you are running Windows 95/98, see here.
Download the appropriate JSim zip archive. Providing the following information will help us demonstrate JSim's continued utility to the funding agencies upon which we rely. Filling out this form will not result in your addition to any mailing lists. However, if you wish to be added to the JSim mailing list, please contact us.
- Note: Internet Explorer(IE) users have sometimes noted that JSim download hang for several minutes at 99% complete. This appears to be a bug in IE. Our experience is that, if the user is patient, the download completes successfully after about five minutes.
- Unpack the .zip file using your system's ZIP utility in a folder of your choice.
- Inside your installation folder, you will find a sub-folder win32\bin
containing the following
executable files:
- jsim.bat : the JSim GUI application;
- jsbatch.bat : the JSim text-based batch application.
- jsfim.bat : the JSim functional imaging application.
- jsserver.bat : the JSim remote server application.
- jsreg.bat : adds JSim settings to the Windows registry
- reg.exe : general purpose Windows registry tool used by jsreg.bat
You may wish to make an short-cut to jsim.bat on your Desktop, or other convenient location. Other executables are useful only from the Windows command prompt.
- The optional jsreg utility sets your Windows registry so that certain JSim files (e.g. .proj) are loaded into JSim when double-clicked. See here for more information.
- Most users do not require the command-line utilities jsbatch.bat and jsfim.bat, which require some additional setup. If you do, do as follows (familiarity with .bat files and the DOS command line is assumed): Modify the PATH environment variable to include the directory containing jsim.bat and jsbatch.bat. Also, modify the JSIMHOME definition in jsbatch.bat or jsfim.bat to the the device:directory you have chosen for your JSim installation.
- Optional advanced administration:
- Customizing a JSim Installation : describes customization options, appropriate for advanced installation.
- Administering a JSim Server : how to set up a network-accessible JSim computation server.
- Administering a JSim-enabled Web Site : how to write web pages incorporating live JSim applets.
Windows 95 and Windows 98
NSR does not officially support JSim under Windows 95 or Windows 98, and cannot accept bug reports on these platforms. Nevertheless, it has been reported to us that users can achieve some JSim functionality on these platforms with the following modifications to the jsim.bat and jsbatch.bat scripts:
- Right-click on the file icon, and then click Edit.
- Replace the line
if not defined JSIMHOME set JSIMHOME=..\..
by the line
if "%JSIMHOME%"=="" set JSIMHOME=..\..
- In the line starting with set PATH=, replace %PATH% by "%PATH%"
- In the last line, replace %* by %1 %2 %3 %4 %5 %6 %6 %8 %9
- From the File menu, select Save, then Exit.
- Right-click the file icon, and then click Properties.
- Click the Memory tab.
- In the Initial environment box, type 4096.
- Click OK.
Note that the number of command line switches is limited to a maximum of 9.
If you wish to use jsreg.bat (details below), you must make some modifications:
- The reg.exe version is the distribution does not work for Windows 98. The one that should be used is on a CD called Windows 98 Resource Kit, sales of which have been discontinued. Good luck!
- Replace %~d0%~p0\..\.. by the absolute path to the installation directory (the one enclosing the win32 directory). This syntax is not supported by Windows 98.
Using jsreg.bat
jsreg.bat adds settings to the Windows Registry that allows you to open .proj, .mod, .tac and .jsml files within JSim by double-clicking on their icons in Windows Explorer. These settings can cause problems for other programs in your system if they expect to open files with those same extensions. Conversely, the opening of files with those extensions within JSim can be impaired by other programs. This regrettable situation is unavoidable given the design of Windows, and is made worse by Microsoft refusing to give information to developers (outside of Redmond) as to how exactly the registry works. Therefore, you may need to muck with your registry a bit manually to get things just right. jsreg.bat is written so you can examine what is being done, and modify it if you are so inclined. If you relocate JSim on your system, rerunning jsreg.bat will repoint the registry appropriately.
[This page was last modified 04Jan10, 2:45 pm.]
Model development and archiving support at physiome.org provided by the following grants: NIH/NHLBI T15 HL88516-01 Modeling for Heart, Lung and Blood: From Cell to Organ, 4/1/07-3/31/11; NSF BES-0506477 Adaptive Multi-Scale Model Simulation, 8/15/05-7/31/08; NIH/NHLBI R01 HL073598 Core 3: 3D Imaging and Computer Modeling of the Respiratory Tract, 9/1/04-8/31/09; as well as prior support from NIH/NCRR P41 RR01243 Simulation Resource in Circulatory Mass Transport and Exchange, 12/1/1980-11/30/01 and NIH/NIBIB R01 EB001973 JSim: A Simulation Analysis Platform, 3/1/02-2/28/07.
