To easily and quickly open the Java Preferences pane in Mac OS X you can simply call spotlight with. The Java Runtime Environment Settings tab opens as below: Double click on the Path item and copy the path (cmd+c). This is the latest one installed by the JDK installer/updater. Java environment free download - Apple Java for OS X 10.6, Apple Java for OS X 10.7/10.8, Java 2 SE, and many more programs. Java for OS X is an Apple vetted Java environment, designed to be as highly integrated as possible within its own operating system. Java for OS X has been created to mix OS X's advanced technologies and Java's adaptability and omnipresence on almost all software platforms out there. $ java -version java version '10.0.2.1-ea' Java(TM) SE Runtime Environment (build 10.0.2.1-ea+13) Java HotSpot(TM) 64-Bit Server VM (build 23.2-b04, mixed mode) Note: If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences application.
Developer(s) | Apple Inc. |
---|---|
Stable release | |
Operating system | classic Mac OS |
Type | Java Virtual Machine |
License | Apple SLA |
Website | docs.info.apple.com |
Mac OS Runtime for Java (MRJ, originally Macintosh Runtime for Java) was Apple's proprietary virtual machine for Java-based applications in the classic Mac OS (i.e. versions prior to Mac OS X). Both a runtime environment and a software development kit (SDK) are available.
The runtime environment includes a JIT compiler developed by Symantec, the standard Java class library from Sun, additional classes providing Macintosh-specific functionality, and the Apple Applet Runner (a lightweight application for running Java applets without the overhead of a web browser). A number of web browsers could use MRJ to run Java applets in web pages, including MicrosoftInternet Explorer, iCab and HotJava.
The SDK includes ports of most of the tools from Sun's Java Development Kit (in the form of MPW tools and Macintosh applications), additional tools for packaging Java applications as double-clickable Macintosh applications, libraries for Macintosh-specific functionality, and documentation for the MRJ-specific classes and tools.
MRJ v2.2.5 was compatible with Sun's Java Development Kit version 1.1.8.[1]
Since the transition to Mac OS X, Apple has discontinued MRJ and instead maintains and distributes a port of Oracle'sHotSpot Java virtual machine.[citation needed]
Implementations[edit]
- Java 1.0.2 with Mac OS Runtime for Java v 1.5.1 [1]
- Java 2.2.6 with Mac OS Runtime for Java v 2.2.6 [2]
References[edit]
- ^Cohen, Peter (1 June 2001). 'New Mac OS Runtime for Java available for Mac OS 9'. PCWorld. Retrieved 30 October 2017.
External links[edit]
- Apple.com - Java at the Wayback Machine (archived June 5, 2009)
Since OS X 10.7 Java is not (pre-)installed anymore, let’s fix that. As I’m writing this, Java 11.0.4 is the latest version and AdoptOpenJDK is one of the best places to find Prebuilt OpenJDK Binaries. Easy to follow details about how to install OpenJDK are available here.
However, the easiest way is to select OpenJDK 11 (LTS), the HotSpot JVM, and macOS x64, which will expose two option like these:
Clicking on “Install JDK installer”, will download the OpenJDK installer package, e.g. OpenJDK11U-jdk_x64_mac_hotspot_11.0.4_11.pkg, which when executed, will install into this location: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk
Almost done. After opening a terminal, the successful installation of the JDK can be confirmed like so:
… hopefully showing something like this:
JAVA_HOME is an important environment variable and it’s important to get it right. Here is a trick that allows me to keep the environment variable current, even after a Java Update was installed. In ~/.zshrc, I set the variable like so:
In previous macOS versions, this was done in ~/.bash_profile. Now it’s done.
Source Code
The source code of the Java Platform, Standard Edition 11 Reference Implementations binaries is available under the GPLv2 in a single zip file.
Java Runtime Environment Macos Catalina
API Specification
Java Se 6 Runtime Mac Download
The API Specification of the Java Platform, Standard Edition and Java Development Kit
can be found here: https://docs.oracle.com/en/java/javase/11/docs/api/
.