Macintosh Troubleshooting

Safari:

As of Safari 12.0, released on 17 September 2018, Java will not longer work in Safari, requiring you to use the Java Web Start version as detailed below.  

Earlier versions of Safari still allow Java, and if you have such a version you can allow the ability to open or save files:

  1. Go to the page launching the software and enable Java to run using: Safari | Preferences | Websites 
  2. In Plug-ins on left sidebar, choose Java
  3. In the simulconsult.com line, while holding down the Option key, click the pulldown choice component and un-click “Run in Safe Mode and then click Trust. 

Java Web Start version (Chrome & Firefox)

  1. Go to https://simulconsult.com/curate/ and click the “Download SimulConsult Diagnostic Decision Support starter” button.
  2. Save the JNLP file (register.jnlp for registration and curate.jnlp for the actual software).  You may have to click the “Show All” button on the bottom right to see the file, and may have to click “Keep”.  Put the JNLP file somewhere such as the desktop.  You can now close the browser.  If the file has some other name such as curate(2).jnlp you need to edit it to the form listed above, without the “(2)”.
  3. Right-click the JNLP file and choose “Open”.  You will get a Macintosh security message that the JNLP file “is from an unidentified developer.  Are you sure you want to open it?”  Click Open and in some operating systems versions you will be offered the option to check “Do not show this again for apps from the publisher and location above”.  
  4. You will get a Java security message “Do you want to run this application?”.  You can prevent this message from appearing in the future by checking “Do not show this again for apps from the publisher and location above” and then click “Run”.
  5. On subsequent launches the software will just launch by double clicking the JNLP file. You can move the diagnosis file to other locations, but you will probably want to delete the register file once you have registered.

Slow startup

As described on StackOverflow, on many Macintosh computers, Java can take a huge amount of time to start. Even the “lazy” fix described there leaves out some of the steps, so they are listed here.

  1. Open Terminal
  2. Type sudo -i and press the Return key
  3. Enter your password when prompted and press the Return key
  4. Paste in the following commands (all at once; sudo is not needed because of step 2) and then press the Return key.
sed -i bak "s^127\.0\.0\.1.*^127.0.0.1 localhost $(hostname)^g" /etc/hosts  
sed -i bak "s^::1.*^::1 localhost $(hostname)^g" /etc/hosts
ifconfig en0 down  
ifconfig en0 up  
cat /etc/hosts

Other issues:

  • Display not refreshing properly:  Many versions of Java for the Macintosh result in intermittent failure to display some of the buttons on the screen. Oracle engineers blame this on a problem interacting with Apple’s CAlayer implementation, but Apple emgineers assert that Oracle is the party that needs to fix the interaction. One workaround is to trigger a screen refresh by hovering over a button with a tooltip or resizing the screen. Another workaround is to use the software on Windows. 
  • Java not running:  If you don’t have the most recent version of Java, your operating system may prevent you from running the software, which uses Java and prompt you to download it and install it.
  • If you still need help:  Please contact us.