When you type a command at the shell prompt, the directories in PATH are searched for a match.You can find out exactly which executable file will be executed in response to a particular command with the A link is a pointer to a file or a directory, kind of like a reference variable.

updating java mac os x-41updating java mac os x-60

The directory entry for it (hard link) is gone, but the contents remain on disk until they are overwritten.

When you delete a directory entry that's a symlink, only the symlink is gone.

Make sure that your Mac is runing OSX 10.4 (or a subsequent version).

To find this out, click on the blue Apple logo at the top left of your menubar; choose 'About This Mac'.

But Firefox → Tools → Add-ons shows Java 14.9.0 (and says it's outdated), though there is no option to de-install it.

The java command line does not show the version used in the browser - do you just want to update the browser?

At the time of this writing the current Java 7 is update 17 (jdk1.7.0_17). You want the Mac OS X x64 download (I couldn't provide a direct link becuase the page I linked in the previous sentence requires you to accept a license agreement).

It's a (disk image) containing a package installer. Now you have to set a few symlinks so that you can actually use it.

Open Safari and go to the Oracle Java downloads page and download the JRE gz version.

You should end up with a file named something similar to jre-8u65-macosx-x64gz. Go to your Downloads folder and extract the JRE download or use Terminal to extract files: You should be done now, so try and open the application.

If it does not work, some applications require legacy Java 6 to be installed.