Results 1 to 2 of 2
Thread: Running main in a package...
- 04-07-2008, 11:09 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 4
- Rep Power
- 0
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?
- 04-07-2008, 01:58 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
JXL Package
By gaya3 in forum Java ServletReplies: 1Last Post: 05-23-2008, 09:03 AM -
Importing / compiling and running with .jar package
By splinter64uk in forum New To JavaReplies: 1Last Post: 12-05-2007, 02:47 AM -
ERROR: Exception in thread "main" java.lang.NoSuchMethodError: main
By barney in forum New To JavaReplies: 1Last Post: 08-07-2007, 07:10 AM -
Call a main method from within a running program
By zoe in forum New To JavaReplies: 1Last Post: 08-07-2007, 06:16 AM -
exception in thred main java.lang.nosuchmethoderror: main
By fernando in forum Java AppletsReplies: 1Last Post: 08-06-2007, 09:11 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks