'javac-version' is not recognized as a command

Asked 2 years ago, Updated 2 years ago, 116 views

As shown in the command results below, JAVA_HOME is correctly configured as an environment variable and PATH to bin is correctly configured, but entering javac-version displays the error message.

I tried various things such as restarting Windows and reinstalling Java 14, but it didn't work, so I'm having a hard time.Thank you very much.

Microsoft Windows [Version 10.0.18362.720]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\>set JAVA_HOME
JAVA_HOME=C:\Program Files\Java\jdk-14

C:\>Path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk-14\bin;C:\Users\Muroya Ichirakura\Locoa;Windows\Locoa;Apps\Locals\App

C:\>javac-version
'javac-version' is an internal command or an external command.
Not recognized as an operational program or batch file.

java windows-10

2022-09-30 19:23

1 Answers

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.