• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compile and Run  RSS feed

 
Geni d'cruz
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed jdk 8u45 for windows -x64 . I wrote code in Notepad and save it in C drive documents folder. In cmd prompt I typed ,javac "filename.java" ,it displayed 'javac is not recognised as an internal or external command,operable program or batch file.'
Hoe to rectify this?
 
Paweł Baczyński
Bartender
Posts: 2083
44
Firefox Browser IntelliJ IDE Java Linux Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add java's bin folder to the PATH variable.

You can read about the process here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!