how to install JDK and JRE java on windows 10?

-5

Hello;

I'm doing the Android development course. I'm in:

Section - 2 - Installation and configuration in windows

Lesson 5 - Java, JDK and JRE installation

PROBLEM - I am not able to configure the environment variable.

*** The JAVA_HOME system variable is apparently correct (C: \ Program Files \ Java \ jdk1.8.0_151);

*** The PATH system variable, I am not able to configure correctly:

Path without editing (C: \ ProgramData \ Oracle \ Java \ javapath);

Path with editing (C: \ ProgramData \ Oracle \ Java \ javapath;% JAVA_HOME% \ bin);

Even after editing CMD-JAVAC searches, I could not configure the environment variables correctly.

I'd like to request a support;

Thank you!

    
asked by anonymous 30.10.2017 / 17:30

2 answers

0

In Windows 10 Home , when you click edit the path, there is a window that opens. In this window click the "Edit Text" button and not Edit.

Go to the end of the line and add ;&JAVA_HOME%\bin

Give OK and that's it!

    
04.05.2018 / 10:29
0

Edit the item C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%\bin and leave it only as C:\ProgramData\Oracle\Java\javapath .

Create an environment variable called JAVA_HOME with the value C:\Program Files\Java\jdk1.8.0_151 .

    
30.10.2017 / 18:02