Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Java in Windows 7 - Help please!

jbcalvertjbcalvert Posts: 2Member
I am a beginner in Java programming. I just downloaded JDK 1.7.0 to my Windows 7 laptop and wrote my first "Hello World!" program. I went to the command prompt and typed in javac HelloWorld.java and get the following response: "javac is not recognized as an internal or external command, operable program or batch file". I have tried editing the Path file but I'm still getting issues. Any help will be appreciated! Thanks!

Comments

  • skaa7skaa7 Posts: 33Member
    In the command prompt window instead of:
    javac HelloWorld.java
    type full path to javac, it must be like:
    "c:Program FilesJavajdk1.7.0_02injavac.exe" HelloWorld.java
    .
Sign In or Register to comment.