El Capitan has been released, and because got a lot more traffic than I expected, I’ve decided to consolidate all the information from it and create a guide for installing just the JRE (Java Runtime Environment). In case you want clearer instructions for the JDK, I have also created if that’s what you require. Installing the JDK is actually simpler because Oracle includes an installer which does a few of the steps for you, so some people may actually prefer those instructions. The instructions below should also work for future updates to the JRE, so no need to worry about having to find and update version numbers in the code for an update this time! • Go to the and download the JRE.tar.gz version. This is important, because the.dmg installer does not work as you might expect. Java 1.8 download in Windows Software. Windows Top Windows Mobile Mobile Top Mac Game. You should end up with a file named something similar to jre-8u60-macosx-x64.tar.gz, but perhaps a newer version. • Open Terminal • Go to your Downloads folder and unzip the JRE download: cd ~/Downloads tar -xzf `ls -1 jre-8u*-macosx-x64.tar.gz| sort -rn -t u -k 2| head -1` cd `ls -1d jre1.8.*.jre/| sort -rn -t _ -k 1.8 -k 2| head -1` If this failed for some reason, you can alternatively open the downloaded.tar.gz file from Finder then navigate to the unzipped directory in Terminal and continue. • Edit the Info.plist file within to enable the JRE to be used from the the command line, and from bundled applications: defaults write '`pwd`/Contents/Info.plist' JavaVM -dict-add 'JVMCapabilities' 'JNIBundledAppCommandLine' chmod 0664 Contents/Info.plist plutil -convert xml1 Contents/Info.plist The second line fixes a permissions issue create by using defaults write. The third line is not required, but makes the file more user-friendly if you open it again in a text editor. • Move the JRE folder to the correct location: sudo mv '`pwd`' /Library/Java/JavaVirtualMachines/ Your password is required here because it is outside of your user folder. ![]() ![]() Be sure you are in the correct directory (the JRE folder) when you issue this command, because it will move your current directory to /Library/Java/JavaVirtualMachines/! • Create a link to add backwards compatibility for some applications made for older Java versions: mkdir -p Contents/Home/bundle/Libraries cd Contents/Home/bundle/Libraries ln -s././lib/server/libjvm.dylib libserver.dylib You should be done now, so try and open the application. If it does not work, some applications require to be installed. You can have it installed without actually using it, however, it’s possible to trick the applications into thinking legacy Java 6 is installed, without actually doing so. Check for yahoo mail updates. Add a check box The preparation steps are completed, and now we are getting to the main part - add checkboxes to our Party Planning list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |