Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    0

    Default where I should view the output if I write java codes in notepad?

    If I write java codes in Notepad, How and where I can view the output? how to compile it?

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Go to start, search for cmd and open it. This is the command line, next you need to find the file you want to compile, navigate your way with cd and dir.

    Next step is to type
    Java Code:
    javac FileName.java
    java FileName
    javac is the compiler command, and java runs the class file Javac created.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

Similar Threads

  1. How to Output in Notepad using JButton
    By pogz in forum Advanced Java
    Replies: 6
    Last Post: 05-14-2011, 05:15 PM
  2. Output write into a file
    By priya2184 in forum New To Java
    Replies: 11
    Last Post: 05-13-2011, 06:42 PM
  3. Replies: 8
    Last Post: 06-24-2010, 08:59 AM
  4. Replies: 1
    Last Post: 07-25-2009, 05:53 PM
  5. PLZ...PLZ!!!HELP ME TO WRITE THE TASK 2's CODES
    By hhoa87 in forum Advanced Java
    Replies: 3
    Last Post: 03-22-2008, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •