Java

Moderators: zibadian
Number of threads: 7818
Number of posts: 18218

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Java in Windows 7 - Help please! Posted by jbcalvert on 14 May 2012 at 7:43 PM
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!
Report
Re: Java in Windows 7 - Help please! Posted by skaa7 on 17 May 2012 at 8:51 AM
In the command prompt window instead of:
javac HelloWorld.java
type full path to javac, it must be like:
"c:\Program Files\Java\jdk1.7.0_02\bin\javac.exe" HelloWorld.java
.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.