0:00
uh hello guys uh welcome to this video
0:02
so in this video I will show you how to
0:05
fix this error message whenever you type
0:09
Java inside your terminal this message
0:11
comes that Java is not recognized as an
0:14
internal or external command so this
0:16
simply means if you haven't added the
0:19
path in the environment variables or
0:22
wherever your Java SDK is installed the
0:24
second reason might be if you haven't
0:27
installed Java inside your system so let
0:29
me show you the both the reasons if you
0:32
haven't installed this so just type Java
0:35
SDK download on Google the very first
0:39
link which comes simply go to the Oracle
0:42
website and just select the latest
0:45
version of the Java SDK which is 23 and
0:49
just select your operating system mine
0:51
is Windows so I will just select
0:54
download this x64 installer and just
0:57
click it I've already installed it my
1:00
Java so by default if you follow the
1:05
setup it will store your Java files in
1:09
the C drive and then come to the program
1:13
files right here and just go to there is
1:17
a folder which will be Java you will see
1:19
that this is a Java folder and if you go
1:22
to this folder it will have this jdk 23
1:26
and just go to the bin directory and now
1:29
now you have all the executables which
1:32
are there so if you open command line
1:35
here and try to execute the same command
1:38
if I want to print out the Java version
1:40
you will see the command will perfectly
1:42
run so Java 23 so now we just need to
1:47
make sure that we copy this path right
1:49
click copy and just go to your
1:51
environment variable and just go to the
1:55
system variable system path
1:58
variable right right here and click on
2:01
edit and add a new entry and paste this
2:04
path here so we can simply paste this
2:08
path here C program files Java Java
2:11
SDK 23 bin so click on okay okay to
2:15
restart the system and then restart your
2:18
terminal and execute the same command
2:21
Java just type it you'll see the command
2:23
will be successful so in this easy way
2:26
guys you can fix this error message by
2:28
simply first of all down loing Java SDK
2:30
that I showed you and then explicitly
2:33
setting the environment variable
2:35
Wherever by default it will be stored in
2:37
the C directory program files Java and
2:40
then will be folded as jdk 23
2:44
bin so thank you very much guys for
2:47
watching this video and also check out
2:49
my website as well free mediat tools.com
2:51
uh which contains thousands of tools
2:54
regarding audio video and image and I
2:57
will be seeing you in the next video