Home java "javac" command in console does not work

“javac” command in console does not work

Author

Date

Category

System variables JAVA_HOME, JRE_HOME made. The “java” command works (did work before creating the variable).


Answer 1, authority 100%

Specify one more system variable PATH: C: \ Program Files \ Java \ jdk \ bin. If you encounter such a problem, then first register this variable. If it doesn’t help, then write JAVA_HOME: C: \ Program Files \ Java \ jdk and JRE_HOME: C: \ Program Files \ Java \ jre.


Answer 2

Try this option
C: \ Users & gt; “C: \ Program Files \ Java \ jdk1.8.0_60 \ bin \ javac.exe” hello.java
It helped me in due time


Answer 3

Look at the path C: \ Program Files \ Java \ ** jre ** \ bin , not this one: C: \ Program Files \ Java \ jdk \ bin .

So you have Russian. runtime for Java – The minimum virtual machine implementation required to run Java applications. No compiler or other development tools.

You just need to install JDK .


Answer 4

Specify one more system variable PATH: C: \ Program Files \ Java \ jdk \ bin. If you encounter such a problem, then first register this variable. If it doesn’t help, then write JAVA_HOME: C: \ Program Files \ Java \ jdk and JRE_HOME: C: \ Program Files \ Java \ jre.

It HELPED


Answer 5

I registered the path, nothing changed, registered the environment variables, nothing changed, I already had this before – I rebooted the computer and it all worked. Perhaps it would be enough just to register the path and reboot the computer. Picture with environment variables


Answer 6

change the environment variable Path in Windows8:
Control Panel ⇒ System ⇒ Advanced System Settings
Switch to the “Advanced” tab ⇒ environment variables
In the “system variables” section, scroll down to “PATH” ⇒ edit

C: \ Program Files \ Java \ jdk \ bin after bin put "\" everything worked C: \ Program Files \ Java \ jdk \ bin \;

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions