Java is a programming language originally developed by Sun Microsystems (now Oracle). Many web pages use Java applets for interactive content such as online games. To run these Java applets, you need the 'Java Runtime Environment' ('JRE') installed and enabled. Note that Java is not the same as JavaScript. See JavaScript is not Java for more information.
From MozillaZine Knowledge Base
How to install Java JDK (Java Development kit 12) on Mac OS. Download and install Java on Mac OS X. We will also update the JAVAHOME environment variable ne. Java+You, Download Today! Java Download » What is Java? » Uninstall About Java. Mac users installing or updating to the latest version Java are finding their shinies infected with the 'much loved' Ask Toolbar. This thing returns poor, ad-infested results, and silently changes.
Starting in Firefox 3.6, Java will not work unless you are using the Next-Generation Java Plug-In (included in Java 6 Update 10 and above). [1]
Important: Mozilla adds outdated or insecure plugins to its Add-ons Blocklist as a security measure. Depending on the version of Java and your Mozilla browser, the Java plugin may be disabled in the Firefox or SeaMonkey Add-ons Manager or the Java plugin may require Click to Play (CTP) activation. See this blog post for details. [2] [[3]
Testing Java
Visit one of these Java test pages to see if Java is working in your browser. In current Mozilla browsers, you'll need to activate Java. With recent Java versions, you'll also need to confirm that you want to run Java, if prompted.
Note: At time of writing, the Java test pages listed below will cause an 'Application Blocked' error when Java is activated, due to security changes in Java 7 Update 51:
See Java security prompts (below) for more information on Java prompts and security blocks.
[edit]
Enabling Java
If Java is installed but isn't working, make sure that the Java plugin is enabled in the Add-ons Manager Plugins list (see Managing installed plugins for more information). [4]
The Java plugin name shown will depend on your operating system and Java version. On Mac OS, the Java plugin is shown as Java Applet Plug-in (on Mac OS X 10.6 or below, it may also be listed as Java Plug-in 2 for NPAPI Browsers). On Windows, the Java plugin will be listed as Java(TM) Platform SE <version> and underneath, it will show 'Next Generation Java Plug-in <version> for Mozilla browsers', where <version> refers to the Java plugin version. The Java plugin must be detected and enabled in the Firefox or SeaMonkey Add-ons Manager for Java applets to work in the browser.
Note: Starting in Firefox 23 and SeaMonkey 2.20, the button to 'Disable' or 'Enable' plugins has been replaced with a drop-down menu with the click-to-play options 'Always Activate' to enable, 'Ask to Activate' to set click-to-play, and 'Never Activate' to disable (bug 549697).
After enabling Java, test Java again:
The Java Deployment Toolkit plugin, which is installed along with Java, does NOT need to be enabled for Java applets to work. Microtek scanmaker 5900 driver download mac. If you only see the Java Deployment Toolkit plugin listed in the Add-ons Manager, then Java is not properly detected.
If the Java plugin does not appear in the Add-ons Manager even though Java is installed
If the Java plugin does not appear in the Add-ons Manager, even though Java is installed, first do the following before reinstalling Java or trying other solutions:
[edit]
Disabling Java
To disable the Java plugin in your Mozilla browser, open the Add-ons Manager, find the Java plugin entry as described above and then, depending on the browser version, click the 'Disable' or 'Never Activate' button.
Enabling and disabling Java from the Java Control Panel
Applies to Windows or Mac OS X 10.7.3 and above
Starting in Java 7, the Java Control Panel includes the Security option, 'Enable Java content in the browser', which is selected by default. De-selecting this option will prevent Java applets from running in any browser and the Java plugin will no longer appear in the Firefox or SeaMonkey Add-ons Manager or about:plugins list. To view or change this option, click the Java icon in the Windows Control Panel or Mac OS X System Preferences to open the Java Control Panel, then select the Security tab. See this Java Help page for details. [10][11][12]
[edit]
If Java is installed and enabled but does not work
Java downloads
Mac OS: You can download Java from Apple Support Downloads (Java 6 and below). On Mac OS X 10.7.3 (Lion) and above, Java 7 is available here or from this download page. See How do I get Java support for Mac? for more information.
Windows and Linux: You can download Java here or you can select the offline (full) installer for your operating system from this download page. (If you are looking for Java 6, see the Java 6 FAQ page). You can also download an offline installer using the 'JRE' download link on Oracle's Java SE Downloads. Important! Even if you have a 64-bit operating system, you need the 32-bit (x86) Java download for 32-bit browsers. On Windows, make sure you select the 32-bit JRE since Firefox and SeaMonkey official releases are 32-bit (e.g., select 'Windows x86 Offline' for the offline installer linked from Oracle's Java SE Downloads page). See below for more information on installing or updating Java on Windows. See 64 bit builds for more information about 64-bit versions of Mozilla applications. [28][29][30]
[edit]
Installing or updating JavaOn Mac OS X
Installing Java:
For more information, see How do I get Java support for Mac?.
Updating Java:
Note: The Java Embedding Plugin has been bundled with Mac distributions of older Mozilla browsers, including Firefox 3.x and SeaMonkey 2.0. This utility allows browsers other than Apple's Safari to use the most recent versions of Java on Mac OS X. [31] The Java Embedding Plugin is no longer needed in newer Mozilla browsers such as Firefox 4 and is no longer included. [32][33][34]
[edit]
On Linux
For Linux installation instructions, see How do I download and install 32-bit Java for Linux Platforms? or What are the Linux 64-bit installation instructions for Java?
See Manual Installation and Registration of Java Plugin for Linux at oracle.com for additional information.
On Windows
The Java Update feature automatically checks for updates at scheduled intervals and notifies you when an update is available so that you can install it. You can also update Java from the Java Control Panel, or by manually downloading the latest update.
[edit]
Java Control Panel Update tab
If you have administrative privileges, you can check for updates and install them from the Java Control Panel,accessible via 'Start -> Control Panel -> Java (32-bit)' or from the Windows Start Menu ('Start -> All Programs -> Java -> Check for Updates'). You can also access the Java (32-bit) Control Panel by opening the file 'javacpl.exe' located in the Java installation folder (e.g., on 64-bit Windows with 32-bit Java 7 installed, open the file 'javacpl.exe' in the C:Program Files (x86)Javajre7bin folder). You can then go to the 'Update' tab and click the 'Update Now' button, to see if an update is available.
On 64-bit Windows, you can have both 32-bit Java (needed for 32-bit browsers like Firefox and SeaMonkey) and 64-bit Java (needed for 64-bit browsers, such as 64-bit Internet Explorer). See this Java help page for details. Note: Starting with Java 8 Update 20, the Update tab in the Java Control Panel enables users to automatically update 64-bit JREs (in addition to 32-bit versions) that are installed on their system. The Update tab is not available in earlier 64-bit versions of Java. [35]
If you don't need 64-bit Java, there is no reason to have it installed. If both 32-bit and 64-bit versions of Java are installed, the Windows Control Panel will display only the 64-bit Java Control Panel. In such cases, you can access the 32-bit Java Control Panel for Java 7 by running C:Program Files (x86)Javajre7binjavacpl.exe (press 'Windows key + R' to open the Run box). Alternately, you can update Java using the manual update method (see below) by downloading the latest update. [36][37]
Manual install or update
If you prefer an offline installation, go to the Java Downloads page (see above for links) and save the Windows Offline installer to any convenient location, close your browser and run the installer. [38]
Starting with Java 6 Update 10, Java updates patch the current version by default instead of adding an additional version. Free downloads for mac. This prevents an accumulation of unused and potentially insecure Java versions. [39][40]
[edit]
Windows installation issues
If you have problems installing or updating Java or if Java doesn't work afterwards, first restart your browser (or reboot the computer), make sure that Java is enabled (see above), and then test Java again. [41]. The Windows Online Installation and Update FAQ, the Java Help Center, and this help page on Error Messages may also help. If you still have problems, try the following solutions.
Use Internet Explorer to install Java
If you have problems installing the latest version of Java, a user reports success installing Java online using Internet Explorer, after first completely uninstalling Java from his system. Opening Internet Explorer and then visiting a page that uses the Java plugin, such as this javatester.org page, should detect that Java isn't installed and offer to install it. Alternately, go to the Java.com download page using Internet Explorer and run the online installer (details here). [42][43][44]
Note: If you visit a page that uses Java with your Mozilla browser and it detects that the Java plugin is missing, the Plugin Finder Service (PFS) may offer an outdated version. (Mozilla is planning to either remove the PFS or change the process for downloading missing plugins, at some future date.) [45][46][47][48]
[edit]
Uninstall JavaFX
If the Java (TM) Platform plugin for your installed Java version is not detected after updating to Java 7 Update 10 or above, this can be caused by a standalone installation of JavaFX that prevents the Java plugin from being properly registered. JavaFX used to be bundled with earlier versions of the Java 7 JRE (Java Runtime Environment) but is now included as part of the JRE. To resolve, follow the instructions given here to get to the Windows Control Panel list of installed programs and uninstall JavaFX. (This java.com help page recommends uninstalling all Java versions, including JavaFX, and then reinstalling the latest version of Java.) [49][50][51][52][53]
Latest Java Version For MacAdd back missing registry key
Note: Updating to the latest Java 7 release after Java 7u13 may resolve this issue (see Oracle's bug 8005410) so be sure to update Java before trying a registry fix.
If the Java (TM) Platform plugin is no longer detected after updating to the latest Java 7 JRE and the previous suggestion to uninstall JavaFX doesn't resolve the issue (or if there is no JavaFX listed to uninstall), your Java 7 installation may be missing this Windows Registry key, which Mozilla browsers need to detect the Java plugin:
The problem has been reported by users after updating to Java 7 Update 10 (7u10) or Update 11 (7u11). If you're comfortable with a registry fix, do one of the following:
Option 1: Add back the missing registry key using a .reg file containing the code posted in this post for Java 7 Update 10 on 64-bit Windows (you'll need to change
'Version'='170_10' to 'Version'='170_11' for Java 7 Update 11). A list of the needed registry keys for Java 7 Update 11 on 32-bit Windows has been posted here. The first line of the .reg file MUST be Windows Registry Editor Version 5.00 so you should position your mouse cursor at the beginning of that line, then select and copy the rest of the code. Alternately, uninstall Java 7u10 or 7u11, install an earlier Java version (e.g., Java 7u9) to get the registry key back, use the Windows Registry editor (regedit.exe) to export the registry key, install the latest Java 7, edit the version numbers in the .reg file you exported earlier and then run the .reg file to merge it into the registry. [54][55][56][57]
Option 2: Uninstall ALL versions of Java and JavaFX, use a registry editor to delete these registry keys, if they are not empty, and then reinstall the latest Java 7. [58][59]
[edit]
Remove outdated Java files from the browser plugins folder
If Java is installed and enabled (see Enabling Java, above) check about:plugins to make sure that older Java plugins are not being detected from other locations, such as the installation directory browser plugins folder, which no longer exists by default. For example, if Java 7 Update 45 is installed, about:plugins should show Java(TM) Platform SE 7 U45 File: npjp2.dll and, in current Mozilla browsers, the full path to the plugin location (see the linked article for more information). Having Java files from previous versions in the browser plugins folder has been known to prevent the current Java version from working and those outdated Java files should be removed. [60][61]
Java-related issues
Note: Mozilla browsers use the 'Next-Generation Java Plug-In' (included in Java 6 Update 10 and above) to display Java content. See this Java.com help page for details.
[edit]
Java content requires click-to-play activation
Mozilla adds unsafe Java plugin versions its Add-ons Blocklist as a security measure. Depending on the Java plugin and Mozilla browser version, this may result in the Java plugin being disabled in the Add-ons Manager or, in current Firefox and SeaMonkey versions, Java content may require 'click to play' activation. Starting in Firefox 26, the Java plugin defaults to 'Ask to Activate' (click to play activation required) in the Add-ons Manager Plugins list, even though the latest version of Java is installed and that version is not considered vulnerable (bug 941137). See How to allow Java on trusted sites at Mozilla Support and this blog post for more information. [62][63]
Java security prompts
Starting in Java 7 Update 21, even though you activate Java, you'll still see a security dialog asking you to confirm that you want the Java content to run. See the Java Help page What should I do when I see a security prompt from Java? for more information and screenshots.
If you see a message such as 'Application Blocked by Security Settings' with no option to run Java, then Java has blocked the content for security reasons. Starting in Java 7 Update 51, RIAs (Web Start applications and applets) with certificates from an untrusted source (self-signed) and those with no certificate or missing application Name and Publisher information (unsigned), are blocked by default. Sites that would normally be blocked based on your Java Security settings can be added to the Exception Site list via the Java Control Panel, as explained here and in the Java Help page How can I configure the Exception Site List?. The Java Help page Why are Java applications blocked by your security settings with the latest Java? includes steps to Add URLs to the Exception Site list and mentions some common Java applications that are now blocked. For more information and screenshots, see this wiki.albany.edu article and this wordpress article. [64][65][66][67][68][69]
[edit]
Java Deployment Toolkit pluginDownload Java For Mac Os
Installing Java 6 Update 10 or above adds a 'Java Deployment Toolkit<version>' plugin, which is used for Java version detection by Java applets and applications that require a specific version of Java. This plugin is not needed to run Java applets and can be disabled in the Add-ons manager. Java Deployment Toolkit plugin versions previous to 6.0.200.2 are insecure and are now blocklisted (bug 558584). Java 6 Update 20 or later updates should remove the vulnerable plugin 'npdeploytk.dll' and replace it with a fixed version named 'npdeployJava1.dll'; however, in some cases, not all copies of the older plugin are removed. [70]. To manually remove the older, vulnerable plugin, find and delete all copies of 'npdeploytk.dll' (or rename to 'Xnpdeploytk.dll'). Note that, in July 2013, Mozilla blocked all versions of the Java Deployment Toolkit, requiring 'click to play' activation (bug 636633). [71][72][73][74]
Java applet causes browser process to remain in memory after exiting the browser
Sometimes after running a Java applet and then exiting Mozilla Suite, SeaMonkey or Firefox, the browser process may remain in memory [75][76]. Attempting to restart the browser without ending the existing browser process will result in a profile in use error or, in Firefox 1.5 and later, a message that Firefox is already running but not responding. Allowing the Java applet to fully load before exiting the browser may help prevent the problem from occurring [77]. Exiting the page with the Java applet (click the 'Back' button or go to a different web page) before closing the browser may also help [78]. To resolve the issue, try updating to the latest JRE version.
[edit]
Java applet causes backwards or jumbled typing in text boxes
Sometimes running a Java applet during the browser session can cause the cursor to behave erratically when you type in a text field, so that your text will display backwards or jumbled. Additionally, you may not be able to copy text to the clipboard. If you are having these problems, exit the browser and end its process if necessary (see above) then restart your Mozilla application. [79][80]
Java Console
The Java installer places a Java Console extension in the Firefox installation directory and uninstalling Java removes the extension. Starting in Firefox 3.6, a 'Java Console <version>' extension will appear in the Add-ons Manager for each installed version of Java (in previous Firefox versions, these extensions were hidden). [81] The Java Console extension is not needed for Java to work and can be disabled or removed from the Extensions list (see below).
Starting with Java 6 Update 10, the Java Console menu item in older versions of Firefox ('Tools -> Java Console') and SeaMonkey 2 ('Tools -> Web Development -> Java Console') is nonfunctional and no longer opens the Java Console (current versions of Firefox and SeaMonkey no longer include this menu item). This is by design. [82][83] If you don't use the Java Console, there is no need to do anything. The Java article How do I enable and view the Java Console? explains how to open the Java Console, if you need to use it.
[edit]
Resolved issuesMultiple Java Console extensions
Starting in Firefox 3.6, a 'Java Console <version>' extension will appear in the Firefox 'Tools -> Add-ons -> Extensions' list for each Java version installed (previous to Firefox 3.6 these extensions were hidden). [84] Uninstalling Java should also remove the Java Console extension. Updating Java 6 Update 10 or later removes the previous Java version but may not uninstall the Java Console for that version, causing Firefox to accumulate multiple Java Console extensions.
The Java Console extension is not needed for the Java plugin to work (see above) and can be disabled or removed from the Extensions list. On Windows, if the uninstall button to remove the Java Console extension is 'greyed-out' or missing, exit Firefox, reopen Firefox from the context (right-click) menu 'Run as Administrator' option, then try again. [85][86]
You can also manually remove unwanted extensions by opening the installation directory 'extensions' folder and deleting the associated subfolder (e.g., to uninstall the Java Console 6.0.18 extension on 64-bit Windows, open the C:Program Files (x86)Mozilla Firefoxextensions folder and delete the '{CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA}' subfolder). [87][88] In Firefox 4 and above, the Firefox installer and updater should automatically remove Java Console extensions from the installation directory 'extensions' folder but may not always do so; this should be fixed in Firefox 8. [89][90]
[edit]
Plugin Check reports outdated Java has been disabled when it is up-to-date or when Java is not installed
This bug is now resolved, as reported in bug 790008 #33 (2013-04-25), and should no longer be an issue.
Due to a bug, Mozilla's Plugin Check page will display the message, Missing JAVA? For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version. even if your Java is up-to-date, if you manually disable the Java plugin in the Add-ons Manager. You will also see that message if Java isn't even installed. (screenshot) [91][92] Mozilla PluginCheck webpage identifies the latest Java 7 plugin as vulnerable
The bug causing this issue was fixed on May 9, 2014.
Due to a bug, Mozilla's Plugin Check & Updates webpage was reporting the Java plugin to be vulnerable, even though the latest Java 7 version is installed (bug 985968). Because of this problem, the following message was added to the top of the PluginCheck page: We are aware of a problem detecting current versions of the Java plugin and misreporting them as vulnerable. We’re working to correct this error. In the meantime, you can visit the Java website to download the latest version. If your installed version of the Java plugin is the same version as the download offered at Java.com (e.g., Java(TM) Platform SE 7 U55 is installed and the Java.com download page is offering Version 7 Update 55) then no action is needed. You can verify that you have the recommended version of Java by visiting this Java.com test page.
[edit]
External links
*** See my important announcement below before continuing! ***
With the release of Mac OS X Yosemite, Minecraft stopped working for anyone who has updated (or any new Yosemite users, such as a new computer purchase). Mojang is of little help so far and
Get right to the solution.
Overview
Background rant (or, Hello Mojang… anyone home?)
Apple officially released OSX Yosemite a month ago on October 16th, 2014. While a month is quite a while to wait for such a crucial update from a major software vendor, Mojang at least had access to Yosemite since the PUBLIC beta offering on July 24th, 2014. And, one might expect that they started testing Minecraft on Yosemite, along with other software developers, back on June 2nd, 2014. Apparently not (or insert other excuse here…. Microsoft acquisition?)
Actually, there are a few other possible theories. If you’re interested, read on. Otherwise, skip to the next section below to get on with the fix.
I waited about a week before installing Yosemite. I usually find it best to wait for the dust to settle after a major software release. I had not been reading about any crucial problems so I decided to upgrade my mid-2013 MacBook Air, as I primarily use my desktop for business work. Everything seemed great until I tried to launch Minecraft.
I did a bunch of reading and was bit shocked Mojang hadn’t addressed the issue yet. So, I contacted @MojangSupport. They responded as if they were unaware of the issue and recommended I report the bug. I started looking at the bug reporting system and noted several tickets addressing or related to the issue. They seemed to be largely ignored. After some more exchanges with @MojangSupport, they basically said they were billing and account support. For other support, submit a bug report (to an ignored bug reporting system? Anyone see a problem here?). Apparently they have no actual customer support for this kind of problem.
One theory is, of course, speculation about the effects of being purchased by Microsoft. Maybe they just aren’t in any hurry to fix problems on non-Microsoft platforms? Maybe Steve Ballmer was sent over on a last contract project to teach proper support etiquette? jk
Another is that maybe Apple has a new version of tweaked Java in the works. Yet another, is that there is a problem with Java 7/8 on dedicated GPUs, causing everyone to hold off.
Whatever the reason, Mojang is being quite unprofessional. At the very least, let us know what is going on! And please, don’t pretend there is no problem.
So, I decided to try and implement some of the various ‘fixes’ to see what might be the best way to get Minecraft working with the latest Java release on OS X Yosemite.
Update: Saturday, November 22, 2014
One of my friends feels I’ve maybe been a bit too hard on Mojang. After all, people can click the ‘more info,’ go to Apple’s support page, download and install Apple’s modified Java 6, and get Minecraft working again. As noted, I don’t feel that is a good solution, and certainly is a pretty lame thing to just leave the way it is by Mojang. But, maybe the ‘crucial’ language I’ve used could be deemed a bit over the top.
Also, some in the Minecraft support community have been telling me this has been around since Mavericks was introduced, as that is when Apple stopped installing Java by default. I seriously don’t remember installing Java when I bought my Mavericks based laptop or when I upgraded my desktop to Mavericks. Maybe that’s old age creeping in on my memory. ? But I, and the above friend, are almost positive the process wasn’t the same.
Update: Friday, December 12, 2014
Good news! It appears Mojang is actually working on a fix. And, what is even better is that this should be a pretty comprehensive fix, with rebuilt launcher and bundled Java (to try to get everyone on 64-bit, the latest version, and kept up to date). I guess a large percentage of their user-base is still on old versions and/or 32-bit java, even on new machines. Aside from taking WAY too long and not communicating well, kudos Mojang! The bad news, it’s going to be a while yet (sometime early next year). So, if you’re hankering for some Minecraft over the holidays, it might be worth trying our tutorial.
Update: Saturday, September 12, 2015
Mojang releases the fix! ? Actually, it is much better than a fix. Mojang finally did this right and bundled everything needed into one package/app. This way, everything should always be running the latest and greatest, and the install is as simple as any other Mac app. You just drag the .app file to your Applications folder!
Here is the announcement of the new Mac Minecraft installer for anyone interested.
Of course, you can get this by visiting Minecraft.net downloads area.
YAY!
Free Java Download For MacThe ‘fix’
A real fix needs to come from Mojang, in terms of a new launcher that properly recognizes other Java versions (or the latest version), as well as install instructions for Java as needed. Until then, here is a ‘fix’ you can implement yourself.
Disclaimer: I’m no expert on Minecraft code or Java. Minecraft is my ONLY Java based concern here, so I did no testing to see if this fix impacts other Java dependencies. Also, all my Macs previously had Apple’s Java 6 installed. I don’t have a ‘clean’ Yosemite install to try this on, but my guess is that it would work. (If you try it, I’d LOVE to hear in the comments below! I’m going to try and do some testing soon.) In other words, try this at your own risk.
Important: As noted above, there seems to be an unresolved Java issue where version 7 and 8 automatically use a dedicated GPU if available (vs integrated GPU). This might impact battery performance negatively until resolved (integrated GPUs typically use far less energy and might be quite capable of running Minecraft). I’m running a mid-2013 MacBook Air with integrated Intel HD Graphics 5000, so this is not an issue for me.
Check out our YouTube video instructions:
After upgrading to Yosemite (or on a new Yosemite based machine/install), you’ll get a dialog similar to this one when you try to launch Minecraft. ‘To open “Minecraft.app” you need to install the legacy Java SE 6 runtime. Click “More info…” to visit the legacy Java SE 6 download website.’
Step 1 – Remove old Java
Let’s try a basic attempt to get rid of old versions of Java. (Note: I realize some of the guts of Apple’s Java 6 install go deeper, but this gets rid of the obvious stuff, and should render it non-functional as far as I can tell.) Caution: If you need Java for other reasons, you might not want to do this without a bit more research and/or testing.
Note: I don’t think you’ll see anything JavaScript related in any of these, but if so, you can ignore that, as JavaScript is a different than Java.
Directly inside your hard drive, you’ll see a Library folder. First look in Internet Plug-ins and get rid of anything Java related (probably just a Java applet plugin).
Also under the Library folder, there might be a Java folder. Toss that if it exists.
.
How to download google chrome for mac. Do the same under the ‘home’ (Hard Drive/Users/username/) Library folder, which Apple has hidden, making it a bit more tricky to access. When you are at Finder (ie: click on your Desktop to make it the ‘active’ app), drop-down the ‘Go’ menu and notice a ‘Library’ folder appears if you hold the ‘option’ key down (and disappears if you release it). Select that Library folder and it should open.
Same as above, check your Internet Plug-ins folder (for Java-related items) and look for a Java folder.
Empty your trash (if you’re sure there isn’t anything else in there you need. I say this as I used to have a client who stored stuff in there they didn’t think they might need again, but never emptied it… eeek!)
Update: Tuesday, November 18, 2014
My desktop iMac has an additional Java install location with an alias into the above folders. It is located at:
Java Update Mac
.
I haven’t upgraded this system to Yosemite yet, but am planning to do so in the next few days. It is my production machine, and is the result of at least a couple of years of OS X upgrades (last clean install was probably Snow Leopard). I’m going to test also trashing this Java folder, but if this is your case, you might want to wait until I’ve reported back.
Step 2 – Install Java
Install Java Runtime Environment (JRE)
Open Safari, go to Oracle.com and look for the Downloads menu. To the left side, you should see “Java for your computer.” This will take you to the following page:
You should just be able to hit the red “Free Java Download” button, but you could also go to the “All Java Downloads” link on the left and pick the appropriate version for Mac OS X.
You’ll get a file currently called: jre-8u25-macosx-x64.dmg
Install this. There isn’t anything tricky, but it will need your admin password. On completion, it asks you to test it with your browser. You don’t need to do that or worry about the results (FYI: mine indicated Java wasn’t working).
Step 3 – Configure Java
It is a really good idea to change the default configuration of Java for safety purposes.
Under your system Preferences, there should be a new Java control panel. Open it. We’re going to go to the Security tab and uncheck “Enable Java content in the browser (Only disabled for this user).”
This is an important step, as most of the Java insecurities you’ve probably read so much about over the last year or two were vulnerabilities accessed via web-sites being visited. In other words, they were browser related. You should almost never need Java via the browser (or if you did for some reason, only enable it for that one trusted purpose, then disable it again).
Note: pay attention to the warning that this only applies to the current logged in user if you have multiple users on your computer. If so, remember to disable it for other users as well!
Another Note: Part of the good aspect of Apple’s special version of Java 6 is that they had removed the ability for it to function via browsers. So, we’re effectively trying to replicate that security advantage via these settings. If you are unsure, check individual browser settings to be sure Java (not JavaScript) is disabled.
Install Java Runtime MacStep 4 – Download Minecraft
To make this ‘fix’ work, you’ll need the Linux version of Minecraft (.jar file) from Minecraft.net.
Go to Minecraft.net and look on the right side under the ‘Get Minecraft” button for the “Already bought the game?” and click the “Download it here” link.
That should take you to this page:
Click on “Show all platforms” and download the Minecraft.jar under “Minecraft for Linux/Other”
This file is going to be your new ‘launcher’ or ‘application’ for Minecraft (instead of the Minecraft.app file you already have).
You can put this file in your Applications, or maybe on your Desktop (or an alias to it on your Desktop).
Step 5 – Play Minecraft!
Test it out!
Double-click Minecraft.jar (you might have to ‘right-click’ (or ctrl-click) the icon, and then select ‘Open’ the first time so it becomes trusted by OSX) and you should get the normal Minecraft Launcher you’re used to seeing. Click Play if you’re logged in and you should soon be playing Minecraft!
If want to be sure you’re running on Java 8, you can bring up the ‘debug’ information you’d use to get your coordinates, etc. (Typically F3, so hold down the Function key and press F3, ie: fn + F3).
You should see, in the upper right, “Java: 1.8.0_25 54bit” similar to the following screenshot:
Of course, if Oracle updates Java this will vary and you SHOULD be able to update Java via the control panel or by downloading and installing future updates. You’ll want to keep an eye on this, as new releases often include security patches (and you won’t get them via Apple updates).
Note: The big reason I went with Java 8 vs Apple’s Java 6 is that there have been a bunch of security holes patched since Apple released it. I’m also pretty sure I’m seeing decreased CPU load on Java 8 as well (which I’d also expect). As mentioned above, my MacBook Air doesn’t have a dedicated GPU, so if you’re a MacBook Pro user, you might want to use Apple Java 6 or limit your mobile (on battery) Minecraft time.
So, just launch that new Minecraft.jar to launch Minecraft, just like you used to launch using Minecraft.app.
Enjoy! Please leave a comment below letting me know if it worked (or not). Thanks!
Step 6 (optional) – Make it pretty!
Of course, it bugs me that my old Minecraft.app has a pretty Minecraft grass block icon, while my new Minecraft.jar is just a generic Java app icon. We need to fix that! ?
Do ‘get info’ (Apple + i) on both the Minecraft.app and Minecraft.jar files. Select the little icon in the upper left of the info window (it will highlight) of Minecraft.app and go to Edit -> Copy. Then select the JAR icon in the other info window and do Edit -> Paste.
You’re Minecraft.jar icon should now be nice and pretty like your old Minecraft app.
Step 7 (optional) – Play with a console controller?
Controllers – I love this little app so much, I just had to mention it. If you’d rather play Minecraft with a console controller rather than your keyboard, there is an excellent way to do so on the Mac. It even supports PS3 controllers via Bluetooth with the native Mac hardware Bluetooth (OSX Lion and above). (If you’ve ever tried to make a console controller work with Windows, you’ll quickly recognize the value of this app.)
Please buy the app and send the author a note asking to support ‘toggle’ type key settings. You’ll know what I mean if you’re used to crouch in Minecraft on the PS3. Currently you’ll have to map crouch to a button that is easy to keep pressed down while you’re working the other controls. A ‘toggle’ would allow a button to change the state until pressed again. That would be a really nice addition to an already awesome app.
[divider scroll_text=”SCROLL_TEXT”]
Special thanks to BoaConstructor for the helpful article. While I read a bunch of articles on the topic, this one ended up being the closest to what I found to work best (though, I found I didn’t need the Java JDK step, and wanted to refine it a bit more).
Oh, and if you need a website or know someone who does, please check out our Website design services!
Java Jdk Download Mac
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |