Visual Studio Code is very popular for developers and Java is the most popular programming language in present world.
So in this article, I will show how to set up Visual Studio Code for java in Windows 10 very easily.
VS Code Team released Visual Studio Code with JDK. This is very cool because installing JDK need some configurations but in this download link that kinds of uncomfortable process removed. (downlaod jdk and install / configure environment / configure visual studio code)
Let's see how comfortable it is.
Download and Install Visual Studio Code for Java
- Click Download and Install the Coding Pack for Java - Windows via this link
-
Install Coding Pack for Java
-
Installing Components
-
Finished Setup Wizard
- Now you can see Launched Visual Studio Code
Java Code Test in Visual Studio Code
- Create java file (Application.java)
-
Copy & Paste code below
class Application {
public static void main(String args[]) {
System.out.println("Hello, World");
}
}
What happened when we install Visual Studio Coding Pack for Java - Windows
-
Visual Studio Code installed
- Installed Path: C:\Users\username\AppData\Local\Programs\Microsoft VS Code\Code.exe
-
JDK Installed
-
Installed Path:
C:\Users\username\AppData\Local\Programs\AdoptOpenJDK\jdk-11.0.8.10-hotspot
-
Installed Path:
C:\Users\username\AppData\Local\Programs\AdoptOpenJDK\jdk-11.0.8.10-hotspot
-
Visual Studio Code Configured for JDK
-
Visual Studio Java Extension plugin installed
All these steps done automatically.
Now Enjoy your journey for java coding~ 😉
References
Official Site: https://code.visualstudio.com/
Download Site: https://code.visualstudio.com/download
Comments
Post a Comment