Results 1 to 2 of 2
  1. #1
    Bizmark is offline Member
    Join Date
    Apr 2008
    Rep Power

    Default Running main in a package...

    Hi, I'm writing a program where I have my main function in a package called firm. Well when I go to the DOS command prompt, change the directory to the "firm" folder, type "javac", and then type "java mainApp", the debugger throws a bunch of errors at me. Is there a certain way I should be calling the mainApp file now that it's in a package?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

  1. JXL Package
    By gaya3 in forum Java Servlet
    Replies: 1
    Last Post: 05-23-2008, 09:03 AM
  2. Importing / compiling and running with .jar package
    By splinter64uk in forum New To Java
    Replies: 1
    Last Post: 12-05-2007, 03:47 AM
  3. Replies: 1
    Last Post: 08-07-2007, 07:10 AM
  4. Replies: 1
    Last Post: 08-07-2007, 06:16 AM
  5. Replies: 1
    Last Post: 08-06-2007, 09:11 AM

Posting Permissions

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