Results 1 to 2 of 2
  1. #1
    mathias is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Run a helloWorld in NetBeans

    Hi, When i make a helloworld programme http://java.sun.com/docs/books/tutorial/getStarted/cupojava/netbeans.html
    why can i not run it, i mean i understand i have to run it through netbeans which works, but say if i wanted to show it to a mate how would i show it to him? Will i have to open netbeans and then run it?

    Thanks

  2. #2
    Join Date
    Aug 2007
    Posts
    25
    Rep Power
    0

    Default

    Just type java <path to class file>.class and it should run.

    Joe

Similar Threads

  1. NetBeans 5.5
    By Ry4n in forum NetBeans
    Replies: 3
    Last Post: 01-26-2008, 07:09 AM
  2. NetBeans 5.5.1 Help.
    By padutch2 in forum New To Java
    Replies: 6
    Last Post: 12-03-2007, 04:01 AM
  3. Problem with my program HelloWorld
    By trill in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 06:32 PM
  4. netbeans 64 bit
    By caspermel in forum NetBeans
    Replies: 1
    Last Post: 06-26-2007, 11:29 PM
  5. About using netbeans
    By yuchuang in forum NetBeans
    Replies: 3
    Last Post: 05-27-2007, 09:06 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
  •