How to Prepare Visual Studio Code for Java Development

Ensure the Java SDK is installed

  1. This is an optional step; if necessary, review: https://raybishun.com/2019/12/30/how-to-install-the-java-development-kit-on-windows-10/

Download/upgrade to the latest version of Visual Studio Code

  1. https://code.visualstudio.com/download

Install the Java Extension Pack

The Java Extension Pack is a collection of popular extensions that can help write, test and debug Java applications in Visual Studio Code. Check out Java in VS Code to get started.

Extensions Included

By installing Java Extension Pack, the following extensions are installed:

Create and run a sample app

/**
 * HelloWorld
 */
public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

How to Prepare Visual Studio Code for Java Development

Ensure the Java SDK is installed

  1. This is an optional step; if necessary, review: https://atomic-temporary-170714879.wpcomstaging.com/2019/12/30/how-to-install-the-java-development-kit-on-windows-10/

Download/upgrade to the latest version of Visual Studio Code

  1. https://code.visualstudio.com/download

Install the Java Extension Pack

The Java Extension Pack is a collection of popular extensions that can help write, test and debug Java applications in Visual Studio Code. Check out Java in VS Code to get started.

Extensions Included

By installing Java Extension Pack, the following extensions are installed:

Create and run a sample app

/**
 * HelloWorld
 */
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s