How to create and run Java project on vscode in Ubuntu, Linux | Java Program in Visual Studio Code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to this channel this is a complete tutorial here you will get learn how to install open jdk on linux how to configure visual studio code for java programming how to run a java program on visual studio code if you are new to this channel please subscribe this channel to get more tutorials let's get started at first open your terminal and search which jdk version is available on your system with this command apt hyphen cache source open jdk and then hit enter okay now install latest version of open jdk on your system okay install open jdk with this command sudo apt install open jdk hyphen enter the latest version here and then jre and also install open jdk hyphen the latest version and then jdk okay hit enter now enter your password now enter y to continue installation this will take you while for installing open jdk now verify the installation with this command java hyphen high pin version okay open jdk 17 installed successfully now open visual studio code and configure visual studio code for java programming language okay install an extension named extension pack for java okay install this will take a while for installing extension fact for java contains another extension visual studio in telecode language support for java by red hat divagar for java maven for java test runner for java and project manager for java extension fact for java installed successfully on my visual studio code okay and it required a jdk that i have installed already in my machine okay now create a directory to store java program okay now open this directory on visual studio code okay now go to view and then command palette now type java and then select create java project okay and select no build tools now select the project location in this case my project location is java project folder now enter the java project name in this case hello world then hit enter okay now expand source folder and then open app.java okay and this will take a while for downloading and installing intelli code models for visual studio code okay now i am going to run this program click on this run button and see the output on terminal hello world okay you can run this program from here click on this run button inside the program file okay if you like this video like comment and share thank you so much for watching this video
Info
Channel: TechWebDocs
Views: 22,272
Rating: undefined out of 5
Keywords: How to create and run a Java project in vscode in Ubuntu, Java Program in Visual Studio Code, How to create and run a Java project, run Java project on vscode, How to create java project on vscode, java, vscode, run java program, visual studio code, vs code, java in visual studio code, run java project in vs code, create java project in vscode, java project, vscode java setup, run java on vscode, java program in vscode, create java program, ubuntu 22.04, linux java, vscode java
Id: OhofTsLJc8Q
Channel Id: undefined
Length: 6min 31sec (391 seconds)
Published: Sun Jan 16 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.