Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##The Java SE Development Kit(JDK): http://bit.ly/JavaSeDownloads##
- 1. Select Start.
- 2. Click on Run.
- 3. Type 'cmd' and press enter.
- 4. Navigate to the JDK's bin folder by the cd command (cd C:\Program Files\Java\jdk1.7.0_25\bin).
- 5. Type 'notepad newProgram.java', where 'newProgram' is the class name in which main() is going to be.
- 6. Start coding.
- 7. Save the file by pressing Ctrl+S.
- 8. Go back to command prompt, and type 'javac newProgram.java' for compiling your code.
- 9. If the compilation is not successful, go back to your code and figure out what's wrong.
- 10. Type 'java newProgram' to run your code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement