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

    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 mainApp.java", 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
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. JXL Package
    By gaya3 in forum Java Servlet
    Replies: 1
    Last Post: 05-23-2008, 10: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, 08:10 AM
  4. Replies: 1
    Last Post: 08-07-2007, 07:16 AM
  5. Replies: 1
    Last Post: 08-06-2007, 10: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
  •