Java is a runtime environment maintained by Oracle that you must install on your Mac to be able to run applications written using the Java programming language. Moreover, Java allows developers to make apps available on multiple operating systems at the same time because Java-based utilities. Java 5 compatibility has been dropped. To use DrJava, you will need Java 6 or newer. New features since the last stable release: - DrJava is now compatible with Java 8 and perhaps with future editions of Java. Bug fixes since the last stable release: - DrJava correctly finds and labels Oracle JDK 7 compilers on Mac. OldVersion.com provides free. software downloads for old versions of programs, drivers and games. So why not downgrade to the version you love? Because newer is not always bett.
Support for Java in Visual Studio Code is provided through a wide range of extensions. Combined with the power of core VS Code, these extensions give you a lightweight and performant code editor that also supports many of the most common Java development techniques.
This article will give you an overview of different capabilities of Visual Studio Code for Java developers. For a quick walkthrough of editing, running, and debugging a Java program with Visual Studio Code, use the button below.
VS Code provides essential language features such as code completion, refactoring, linting, formatting, and code snippets along with convenient debugging and unit test support. VS Code also integrates with tooling and frameworks such as Maven, Tomcat, Jetty, and Spring Boot. Leveraging the power of Visual Studio Code, Java developers get an excellent tool for both quick code editing and also the full debugging and testing cycle. It's a great choice for your Java work if you're looking for a tool which:
- Is fast, lightweight, free, and open source.
- Supports many other languages, not just Java.
- Helps start your Java journey without installing and learning a complex IDE.
- Provides great microservices support including popular frameworks, container tooling, and cloud integration.
- Offers team-based collaboration features such as Visual Studio Live Share.
- Improves your productivity through IntelliSense and other code-aware editing features.
Install Visual Studio Code for Java
VS Code is a fast editor and ships with great editing features. Before you begin, you must have the Java SE Development Kit (JDK) on your local environment. To run VS Code for Java, Java SE 11 or above version is required; for projects, VS Code for Java supports projects with version 1.5 or above. For more details, refer to Configure JDK.
To help you set up quickly, you can install the Coding Pack for Java, which includes VS Code, the Java Development Kit (JDK), and essential Java extensions. The Coding Pack can be used as a clean installation, or to update or repair an existing development environment.
Install the Coding Pack for Java - macOS
Note: The Coding Pack for Java is only available for Windows and macOS. For other operating systems, you will need to manually install a JDK, VS Code, and Java extensions.
Alternatively, you can also add Java language support to VS Code by installing the popular Java extensions by yourself.
Download VS Code - If you haven't downloaded VS Code yet, quickly install for your platform (Windows, macOS, Linux).
To help set up Java on VS Code, there is a Java Extension Pack, which contains the most popular extensions for most Java developers:
There are also other popular Java extensions you can pick for your own needs, including:
Thanks to the great Java community around VS Code, the list doesn't end there. You can search for more Java extensions easily within VS Code:
- Go to the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)).
- Filter the extensions list by typing 'java'.
This document describes some of the key features included in those Java extensions.
NOTE: If you are using VS Code on Windows and want to take advantage of the Windows Subsystem for Linux, see Developing in WSL.
For developers new to Java or new to VS Code, we provide a Getting Started experience. Once you've installed the Java Extension Pack, you can open the Getting Started experience from within VS Code with the Java: Getting Started command from the Command Palette. Open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) and type 'Java: Getting Started'.
Working with Java source files
You can use VS Code to read, write, run, and debug Java source file(s) without creating a project. VS Code for Java supports two modes, lightweight and standard. Lightweight mode is ideal for scenarios that only deal with source file(s). If you want to work with a full scale project, standard mode will be required. You can easily switch from lightweight mode to standard mode, when needed. To learn more, see Lightweight Mode.
Working with Java project
There are three things you must understand to work with Java in VS Code:
- How does VS Code handle Workspaces?
- How does VS Code handle Java?
- How does VS Code handle Workspaces that contain Java?
VS Code Workspaces
In Visual Studio Code, a 'Workspace' means a collection of one or more filesystem folders (and their children) and all of the VS Code configurations that take effect when that 'Workspace' is open in VS Code. There are two kinds of 'Workspaces' in VS Code, 'folder workspaces' and 'multi-root workspaces'.
A 'folder workspace' is presented by VS Code when you open a filesystem folder (directory) in VS Code.
A 'multi-root workspace' can refer to multiple folders (directories) from disparate parts of the file system and VS Code displays the contents of the folder(s) of the workspace together in the File Explorer. To learn more, see Multi-root Workspaces.
Java project in VS Code
In contrast to IDEs such as IntelliJ IDEA, NetBeans, or Eclipse, the concept of a 'Java project' is provided entirely by extensions, and is not a core concept in the base VS Code. When working with 'Java projects' in VS Code, you must have the necessary extensions installed to work with those project files.
For example, Maven, Eclipse, and Gradle Java projects are supported through Language Support for Java(TM) by Red Hat, by utilizing M2Eclipse, which provides Maven support, and Buildship, which provides Gradle support through the Eclipse JDT Language Server.
With Maven for Java, you can generate projects from Maven Archetypes, browse through all the Maven projects within your workspace, and execute Maven goals easily from an embedded explorer. Projects can also be created and managed with the Project Manager for Java extension.
Visual Studio Code also supports working with standalone Java files outside of a Java project, described in the Java Tutorial with VS Code.
VS Code Workspaces that contain Java project
Assuming the necessary Java extensions are installed, opening a VS Code workspace that contains Java artifacts will cause those extensions to understand those artifacts and present options for working with them.
More details about Java project support can be found in Java Project Management in Visual Studio Code and Build Tools.
Java in Visual Studio Code also supports source code navigation features such as search for symbol, Peek Definition, and Go to Definition. The Spring Boot Tools extension provides enhanced navigation and code completion support for Spring Boot projects.
One of the key advantages of VS Code is speed. When you open your Java source file or folder, within a few seconds, with the help of Lightweight Mode, you will be able to navigate your code base with Outline view as well as commands such as Go to Definition and Go to Reference. This is especially useful when you open a project for the first time.
IntelliSense is a general term for language features, including intelligent code completion (in-context method and variable suggestions) across all your files and for built-in and third-party modules. VS Code supports code completion and IntelliSense for Java through Language Support for Java(TM) by Red Hat. It also provides AI-assisted IntelliSense called IntelliCode by putting what you're most likely to use at the top of your completion list.
See also in Java Code Navigation and Editing. VS Code also supports a range of Refactoring and Linting features.
Debugger for Java is a lightweight Java Debugger based on Java Debug Server. It works with Language Support for Java by Red Hat to allow users to debug Java code within Visual Studio Code.
Starting a debugging session is easy, click on the Run Debug button available at the CodeLens of your
main() function, or press F5. The debugger will automatically generate the proper configuration for you.
Although it's lightweight, the Java debugger supports advanced features such as expression evaluation, conditional breakpoints, and hot code replacement. For more debugging related information, visit Java Debugging.
With the support from the Java Test Runner extension, you can easily run, debug, and manage your JUnit and TestNG test cases.
For more about testing, read Testing Java.
Spring Boot, Tomcat, and Jetty
To further improve your Java productivity in VS Code, there are extensions for most popular frameworks and tools such as Spring Boot, Tomcat, and Jetty created by the community.
The Tomcat extension includes an explorer to easily navigate and manage your Tomcat servers. You can create, start, debug, stop, and rename your Tomcat server with the extension.
See Application Servers to learn more about support for Tomcat and Jetty as well as other application servers with VS Code.
Spring Boot support is provided by Pivotal. There are also Spring Initializr Java Support and Spring Boot Dashboard extensions available from Microsoft to further improve your experience with Spring Boot in Visual Studio Code.
See Spring Boot with VS Code to learn more about Spring Boot support with VS Code.
Java For Mac Version 8
You may Sign up to follow the latest of Java on Visual Studio Code.
Learn more about Java in VS Code
Java Version Mac Change
Read on to find out more about Visual Studio Code:
- Basic Editing - Learn about the powerful VS Code editor.
- Code Navigation - Move quickly through your source code.
- Tasks - use tasks to build your project and more
- Debugging - find out how to use the debugger with your project
Pick a software title...to downgrade to the version you love!
Java Platform Latest Version
Java For Mac Latest Version
Java Platform 7 Update 5
- Jun 13, 2012
- 20.08 MB
Java Platform Popular Version
Java Platform Runtime 5.0 Update 5
- Feb 6, 2006
- 15.67 MB
Select Version of Java Platform to Download for FREE!
|Software Version||Release Date||Size|
|Java Platform 1.1.7||Add info||2.61 MB|
|Java Platform 1.1.8||Add info||2.63 MB|
|Java Platform 22.214.171.124||Add info||2.64 MB|
|Java Platform Runtime 1.2.1||Jun 21, 1999||11.94 MB|
|Java Platform 126.96.36.199||Add info||5.05 MB|
|Java Platform 188.8.131.52||Add info||5.14 MB|
|Java Platform 1.3.0||Add info||7.34 MB|
|Java Platform Runtime 1.3.1||May 20, 2001||7.69 MB|
|Java Platform 184.108.40.206||Add info||5.26 MB|
|Java Platform Runtime 1.4.0||Jul 12, 2004||11.65 MB|
|Java Platform 1.4.1||Add info||9.47 MB|
|Java Platform Runtime 1.4.2||Sep 9, 2004||13.51 MB|
|Java Platform 220.127.116.11||Add info||15.12 MB|
|Java Platform 1.5.0||Add info||15.67 MB|
|Java Platform 18.104.22.168||Add info||15.08 MB|
|Java Platform 22.214.171.124||Add info||15.25 MB|
|Java Platform 126.96.36.199||Add info||15.26 MB|
|Java Platform 188.8.131.52||Add info||15.54 MB|
|Java Platform 184.108.40.206||Add info||15.67 MB|
|Java Platform 220.127.116.11||Add info||16.00 MB|
|Java Platform 18.104.22.168||Add info||18.23 MB|
|Java Platform 22.214.171.124||Add info||15.74 MB|
|Java Platform 126.96.36.199||Add info||15.74 MB|
|Java Platform 188.8.131.52||Add info||15.82 MB|
|Java Platform 184.108.40.206||Add info||15.80 MB|
|Java Platform 220.127.116.11 (x64)||May 21, 2007||11.26 MB|
|Java Platform 18.104.22.168||May 21, 2007||15.88 MB|
|Java Platform 22.214.171.124 (x64)||Sep 26, 2007||11.26 MB|
|Java Platform 126.96.36.199||Sep 26, 2007||15.92 MB|
|Java Platform 188.8.131.52||Nov 5, 2007||16.10 MB|
|Java Platform 184.108.40.206 (x64)||Nov 5, 2007||11.38 MB|
|Java Platform 220.127.116.11 (x64)||Feb 12, 2008||11.39 MB|
|Java Platform 18.104.22.168||Feb 12, 2008||16.11 MB|
|Java Platform 22.214.171.124||Jun 17, 2008||16.13 MB|
|Java Platform 126.96.36.199 (x64)||Jun 17, 2008||11.39 MB|
|Java Platform 1.6||Add info||12.56 MB|
|Java Platform 188.8.131.52||Add info||13.16 MB|
|Java Platform 184.108.40.206||Add info||13.89 MB|
|Java Platform 220.127.116.11||Add info||13.93 MB|
|Java Platform 18.104.22.168||Feb 5, 2008||15.12 MB|
|Java Platform 22.214.171.124||Add info||15.18 MB|
|Java Platform 126.96.36.199||Add info||15.21 MB|
|Java Platform 188.8.131.52||Jul 9, 2008||15.24 MB|
|Java Platform 184.108.40.206||Oct 26, 2008||15.55 MB|
|Java Platform 220.127.116.11||Dec 3, 2008||15.56 MB|
|Java Platform 18.104.22.168||Jan 20, 2009||15.67 MB|
|Java Platform 22.214.171.124 (x64)||Jan 21, 2009||16.16 MB|
|Java Platform 126.96.36.199||Mar 25, 2009||15.68 MB|
|Java Platform 188.8.131.52||May 30, 2009||15.50 MB|
|Java Platform 184.108.40.206 (x64)||May 30, 2009||16.38 MB|
|Java Platform 220.127.116.11||Aug 5, 2009||16.04 MB|
|Java Platform 18.104.22.168||Oct 3, 2011||20.33 MB|
|Java Platform 1.7.01||Oct 3, 2003||19.26 MB|
|Java Platform Runtime 5.0 Update 5||Feb 6, 2006||15.67 MB|
|Java Platform 5 Update 17 (x64)||Nov 19, 2008||11.40 MB|
|Java Platform 5 Update 18 (x64)||Mar 4, 2009||11.42 MB|
|Java Platform 5 Update 22 (x64)||Add info||11.66 MB|
|Java Platform 5 Update 17||Nov 19, 2008||16.26 MB|
|Java Platform 5 Update 22||Add info||16.70 MB|
|Java Platform 5 Update 18||Mar 4, 2009||16.30 MB|
|Java Platform 5.0 Update 22||Jan 10, 2006||16.70 MB|
|Java Platform 5.0 Update 15||Jan 2, 2006||16.11 MB|
|Java Platform 6 Update 27||Aug 23, 2011||16.33 MB|
|Java Platform 6 Update 27 (x64)||Aug 23, 2011||16.39 MB|
|Java Platform 6 Update 29||Oct 18, 2011||16.34 MB|
|Java Platform 6 Update 26 (x64)||Jun 7, 2011||16.14 MB|
|Java Platform 6 Update 26||Jun 7, 2011||16.07 MB|
|Java Platform 6 Update 24||Feb 15, 2011||15.98 MB|
|Java Platform 6 Update 24 (x64)||Feb 15, 2011||15.90 MB|
|Java Platform 6 Update 25||Apr 27, 2011||15.99 MB|
|Java Platform 6 Update 25 (x64)||Apr 27, 2011||16.09 MB|
|Java Platform 6 Update 29 (x64)||Oct 18, 2011||16.40 MB|
|Java Platform 6 Update 30||Dec 15, 2011||16.37 MB|
|Java Platform 6 Update 30 (x64)||Dec 15, 2011||16.47 MB|
|Java Platform 6 Update 31||Feb 14, 2012||16.41 MB|
|Java Platform 6 Update 31 (x64)||Feb 14, 2012||16.46 MB|
|Java Platform 6 Update 32 (x64)||May 2, 2012||16.41 MB|
|Java Platform 6 Update 33||Jun 13, 2012||16.20 MB|
|Java Platform 6 Update 32||May 3, 2012||16.20 MB|
|Java Platform 6 Update 33 (x64)||Jun 13, 2012||16.41 MB|
|Java Platform 6 Update 23 (x64)||Dec 14, 2010||15.92 MB|
|Java Platform 6 update 29 64 bit||Oct 18, 2011||16.40 MB|
|Java Platform 6.0 Update 25||Apr 27, 2011||15.77 MB|
|Java Platform 6.0 Update 27||Aug 23, 2011||14.42 MB|
|Java Platform 6.0 Update 26||Jun 7, 2011||16.07 MB|
|Java Platform 6 Update 23||Dec 14, 2010||16.02 MB|
|Java Platform 6.0 Update 3||Nov 17, 2007||13.93 MB|
|Java Platform 6.0 Update 5||Add info||15.18 MB|
|Java Platform 6.0 Update 24||Feb 15, 2011||15.76 MB|
|Java Platform 6.0 Update 23||Dec 14, 2010||15.79 MB|
|Java Platform 6.0 Update 10||Sep 6, 2008||15.41 MB|
|Java Platform 6.0 Update 11||Nov 10, 2008||15.42 MB|
|Java Platform 6.0 Update 12||Jun 10, 2009||15.67 MB|
|Java Platform 6.0 Update 13||Jul 16, 2009||15.53 MB|
|Java Platform 6.0 Update 7||Nov 10, 2008||15.24 MB|
|Java Platform 6.0 Update 29||Oct 3, 2011||888.28 KB|
|Java Platform 6 Update 21 (x64)||Jul 7, 2010||15.37 MB|
|Java Platform 6 Update 22||Oct 12, 2010||15.55 MB|
|Java Platform 6 Update 16||Aug 13, 2009||15.89 MB|
|Java Platform 6 Update 21||Jul 7, 2010||15.55 MB|
|Java Platform 6 Update 20 (x64)||Apr 14, 2010||15.66 MB|
|Java Platform 6 Update 22 (x64)||Oct 12, 2010||15.44 MB|
|Java Platform 6 Update 20||Apr 14, 2010||15.76 MB|
|Java Platform 6 Update 17||Nov 4, 2009||16.05 MB|
|Java Platform 6 Update 18||Jan 14, 2010||15.72 MB|
|Java Platform 6 Update 19||Mar 30, 2010||15.76 MB|
|Java Platform 6 Update 19 (x64)||Mar 30, 2010||15.66 MB|
|Java Platform 7 Update 5 (x64)||Jun 13, 2012||20.86 MB|
|Java Platform 7 Update 2 (x64)||Dec 13, 2011||20.46 MB|
|Java Platform 7 (SDK) x64||Aug 1, 2011||80.25 MB|
|Java Platform 7 (SDK)||Aug 1, 2011||79.48 MB|
|Java Platform 7 Update 2||Dec 13, 2011||19.35 MB|
|Java Platform 7 Update 4||May 2, 2012||20.08 MB|
|Java Platform 7 Update 4 (x64)||May 2, 2012||20.85 MB|
|Java Platform 7 Update 5||Jun 13, 2012||20.08 MB|
Java Download For Mac
Do you have software version that is not currently listed?Upload it now and get rewarded!
Need a software version that is not currently listed?Make a software request now!
Java Platform Description
The Java platform is the name for a computing environment, or platform which can run applications developed using the Java programming language and set of development tools.
The Java Platform provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language.