How to Run Java Program in Terminal Ubuntu Linux

preview_player
Показать описание
In this video I am going to show you How to install Java JDK 10 on Ubuntu Linux ( with JAVA_HOME ). also we will see Steps for compiling and running a Java program using cmd on Ubuntu Linux. So let us see How to Compile and Run Java Program Using Command Prompt (CMD) in Ubuntu Linux .
#Java #Ubuntu #Linux #Terminal
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Great Again, no where in the youtube or google I find thing kind of solution. Thanks alot.

dsacppracticequestion
Автор

For ppl looking for commands:
sudo update-alternatives --install /usr/bin/java java 1
sudo update-alternatives --install /usr/bin/javac javac 1

sudo update-alternatives --config java

techutility
Автор

when i type the sudo update alternatives commands i get an error saying that the path doesn't exist. Do you have a solution for this error?

Bulleteyes
Автор

I do not see the commands in the description

wildwestgunslinger
Автор

The ads covering all 4 quadrants of the video were annoying. I am not sure whether I missed some concept

qjhlxbq
Автор

When i type the sudo dpkg thing with the file name it says command not found?

svntexmusic
Автор

when i am typing the 2 commands
it showing unknown option

ubkrvkd
Автор

Error::

dpkg: dependency problems prevent configuration of jdk-17:
jdk-17 depends on libc6-i386; however:
Package libc6-i386 is not installed.
jdk-17 depends on libc6-x32; however:
Package libc6-x32 is not installed.

dpkg: error processing package jdk-17 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
jdk-17

simranpreetkaur
Автор

is JAVA_HOME variable and classpath same thing? 8:07

surendramaharjan-isto
Автор

hello ' how can i install java 17 on linuxe ubunto

moemendesoky
Автор

It can work on virtual machine Ubuntu?

ananyatripathi
Автор

fuck all in the description, all just links

pakfurious