|
-
November 2nd, 2017, 08:01 PM
#1
Javac not recognized in cmd prompt
Hello, I just began learning Java programming today. I am going through a course online very basic instructions of writing the source in notepad and saved as Hello.java under all files. JDK is downloaded on my Windows 10. Whenever I try to compile I get this message:
C:\Users\olivi\JavaSource>javac Hello.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
I hear this is common problem and can be fixed through a PATH variable. Can anyone describe that to me and the steps so the complier is recognized? Thanks in advance! 
I tried telling cmd prompt where javac was and it didn't work either. 
C:\Users\olivi\JavaSource>C:\\"Program Files\"\Java\jdk1.8.0_05\bin\javac Hello.java
The system cannot find the path specified.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|