• Post Reply Bookmark Topic Watch Topic
  • New Topic

"Setting the JAVA_HOME and PATH environment variables" problem (newbie)  RSS feed

 
Ivan Kalashnikov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo, i'm new to java and i'm here thanks to the head first book. I followed the instruction in the FAQ but after set the java_home et cetera windows only recognize the java command, not the javac. Where i did wrong?
Thanks in advance

K.
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are probably including the path to your JRE instead of your JDK in your PATH. A JRE is just the runtime engine, while the JDK also includes the compiler and other dev tools. When you do a simple search on this forum, you should be able to find an answer.

Here are some useful threads:
Environment variable
Need guidance on how to get Javac compile to execute
Issues with checking that my JDK is configured properly
 
Ivan Kalashnikov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resolved Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!