04 - Installing the Java Development Kit

preview_player
Показать описание

In this lesson, we will walk step by step installing the Java Development kit which will enable you to write java code.
Рекомендации по теме
Комментарии
Автор

In windows 10 I think it happens that when you install Java it automatically adds the path there
C:\Program Files\Common Files\Oracle\Java\javapath

java path was a shortcut folder and inside it there was:
java.exe
javac.exe
javaw.exe
jshell.exe

Notice the first 2 Jason asked for, are already there so you can actually skip this step because you can already program from the Command Line.

But make sure that when you go to Advanced System Settings> Environment Variables > System Variables (Path)>
{Edit] , and check if there already is a Java directory path after installing the JDK.

joeroganpodfantasy
Автор

I downloaded the program but it won't open. I downloaded the newest version (the other didn't seem available). Should I be able to open the program or does it only run in the background?

englishgrammar
Автор

the command "java -version" works but the command "javac -version" doesn't. Anyone know why?

edgarisbored
Автор

same problem as EdgarIsBored
But i found the solution of this problem:
the path is under:
C:\Program Files\Java\jdk-10.0.1\bin
NOT
C:\Program Files (x86)\Java\jre1.8.0_171\bin

now try to update the (Path) and you will get the same result as in the video.

AlshokaniChannel
Автор

Now there is a lot of them Java SE 16, 11, 8 which want should I download

mathlee
Автор

looking forward for this session's updated version <3 !

istel-sanyt