Running JSim inside a Web Browser
This page is for the current JSim version 2.0. Click here for the earlier JSim 1.6 version.Introduction
JSim can run inside WWW pages as a Java applet. To do this, your browser must have an appropriate Java plugin installed. This page provides configuration information for many common platforms. For more information about JSim, see the JSim Home Page .
Browser compatibility:
- Google Chrome: version 45 or higher drops NPAPI plugin (Java applets) support. See: Java applet (plugin-in) support information from Oracle.
- Mozilla Firefox: version 52 is the last 32 bit version to support Java applets. For 64 bit machines, version 52 or higher no longer support NPAPI plugins (such as Java applets). See: Java applet (plugin-in) support information from Oracle.
- MS Edge browser: Does not support Java applets. JSim will not work through this browser.
- MS Internet Explorer 11: Supports Java applets (NAPI plugins). Use this browser to run JSim from within the browser.
- Apple Safari (OS 10.x): Supports Java applets (NAPI plugins). Use this browser to run JSim from within the browser.
Security Issue:
- 'Expired security setting' error message. (Certificate is either expired or incorrect). Java will not run the applet unless an exception is manually added. To do this:
Go to the Java Control panel (In MS Windows it is under Control Panel -> Programs). Select the 'Security' tab and at the bottom should be a place to add a website to the exception list. Add 'http://www.physiome.org' and 'https://www.physiome.org' to the list. Restart the browser and go to the JSim model page. The JSim model applet should start up when button is pressed. There will still be warnings but eventually it will run.
Specific plugin configuration information:
- Windows
- Macintosh
- Linux
- NSR systems
- Comments or Questions?
Users with additional or updated information to share regarding Java plug-ins and JSim compatibility with different browsers should contact us.
Windows Plugin Configuration
Configuration for Windows 7 and Windows 10:
- Download Java version 8 (Java 1.8) or higher, and install.
- Test your browser to confirm Java applet plugin is working with it: Java applet test page
Mac OS X Configuration
Java 1.5 is pre-installed on Mac OS 10.4 "Tiger", OS 10.5 "Leopard" and OS 10.6 "Snow Leopard". JSim will not currently run on Mac OS 10.3 or lower due to the lack of Java 1.5 support
Mac OS 10.7 "Lion" does not have the Java plugin installed. Java must be installed and the plugin enabled in your browser.
To install browser support for java applets:
- Install Java: Download from Apple (KB DL1421)
- Safari browser, go to Preferences -> Security and check 'Enable Plugins' and 'Enable Java'.
Firefox browser, go to Preferences -> General -> Manage addons, and confirm 'Java Applet plugin' is enabled - Check Java applets are indeed enabled by going to applet test page (Java.com applet test page)
Java 6 plugins
As of July 23, 2007 the JSim applet requires the user's browser have a Sun Java 6 compatible plug-in installed. Previously, Java 1.4 and 1.5 plug-ins were supported. Those still using 1.4 or 1.5 plug-ins should update their Java plugins. Older versions of Sun's Java plug-in or off-market Java plug-ins may not run JSim correctly.
NSR Systems
The Java 1.6 SDK has already been downloaded on NSR systems in /usr/local/jdk1.6. To install the Java 1.6 plugin under Firefox Linux on NSR systems, you need only issue the following commands:
- 32 bit:
cd ~/.mozilla/plugins ln -s /usr/local/jdk1.6/jre/lib/i386/libnpjp2.so libnpjp2
[This page was last modified 17May17, 10:18 am.]
Model development and archiving support at physiome.org provided by the following grants: NIH/NIBIB BE08407 Software Integration, JSim and SBW 6/1/09-5/31/13; 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.
