Results 1 to 5 of 5
Thread: making a .main file
- 06-28-2008, 08:55 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 11
- Rep Power
- 0
- 06-29-2008, 11:09 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
In the source package you should have a package(at least the default package). In that you should have the main.java file. Is that structure valid in your case.
- 06-29-2008, 06:21 PM #3
Member
- Join Date
- Jun 2008
- Posts
- 11
- Rep Power
- 0
I solved it. The problem was tat I didnt have my void named main and the whole String[] arg stuff. SO I actually solved my problem an d my program is working almost perfectly except for a few t hrwos that I have to do. By the way how do you have more than 1 throw in a void.
thx a lot
- 06-30-2008, 03:31 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Are you talking about exceptions? What you mean throw in a void?
Exceptions can be thrown more than one from method at a time.
- 06-30-2008, 07:42 AM #5
Similar Threads
-
Making triangle
By banie in forum New To JavaReplies: 4Last Post: 02-02-2008, 11:23 AM -
Help with making this algorithm better
By RLRExtra in forum New To JavaReplies: 6Last Post: 01-17-2008, 04:11 PM -
Making Plugins for Eclipse
By javaplus in forum New To JavaReplies: 0Last Post: 12-17-2007, 08:31 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 -
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