Java - version 1.7.45 - and Mavericks

Chrome refused to run a java app unless i upgraded to .45, which I did my dling the installer from oracle. Java 7 u45. Installer said it worked. Chrome still won't start java.

$ which java
/usr/bin/java

$ java -version
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
~/private/WDI/git🍔  

I may be easily fooled, but that doesn't say "45" anywhere. (Yes, "06", and "24" and "23.2-b09", but nary a 45. Such numbers!)

Anybody know if this is u45, or where the installer placed it?

UPDATE: there is a Java System Preference Panel that says "Your system has the recommended version of Java: Java 7 Update 45." Still, Chrome doesn't appear to see it.


The issue is that Oracle is being confusing abut the JRE.

The OSX JRE, which is what you downloaded, does not update /usr/bin/java it just installs itself to /Library/Java/JavaVirtualMachines/

You can either use the path to the java binary beneath that or instead install the JDK from this page which does update /usr/bin/java

@RichTrouton's answer might be correct on what Chrome uses i.e. a 32 bit JRE but this answer explained /usr/bin/java issues. Note that the simple Oracle JRE does not update /usr/bin/java and I think Apple's later installs do not touch this either. Your browser does not use /usr/bin/java but directly looks in /System or /Library


Google Chrome is a 32-bit browser, which prevents it from being able to work with Oracle’s 64-bit Java 7 browser plug-in. If you need to run Java applets inside of Chrome, here's what you'll need to do:

  1. Install the latest Java 6 from Apple. As of 12-4-2013, that is Java for OS X 2013-005.

  2. Follow these directions (taken from this Apple KBase article) to remove the Oracle Java 7 browser plug-in and enable the Apple Java 6 browser plug-in:

A. Open Terminal, located in the Utilities folder.

B. Enter this command, then press the Return or Enter key:

sudo mkdir -p /Library/Internet\ Plug-Ins/disabled

C. Enter this command, then press the Return or Enter key:

sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled

D. Enter this command, then press the Return or Enter key:

sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 

E. To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:

sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws

Once the Apple Java 6 browser plug-in is in place, quit and relaunch Chrome. On relaunch, try accessing the Java applet in Chrome again.