Article View: borland.public.jbuilder.java.language
Article #7764"Main Method" Error
From: Sam Becker
Date: Thu, 24 May 2001 01:48
Date: Thu, 24 May 2001 01:48
15 lines
1573 bytes
1573 bytes
I have JBuilder 4. I haven't gotten a program to complile yet. First I start a new project, then I add a class. Then I place a main function, and have it do some basic things. But I always get the error: java.lang.NoSuchMethodError: main Exception in thread "main" And I get a pop up message saying I have no main function. No matter what the code, this still happens. Even when I have the program add in a main function for me. Does anyone know what is happening? Thanks a lot in advance, Sam Becker sb@beckerpages.com
Technical Details
Message-ID:
<yLZO6.5725$mG4.1721034@news1.mntp1.il.home.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!newspeer.monmouth.com!newshub2.home.com!news.home.com!news1.mntp1.il.home.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d1d255642dd79b73,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-23 18:52:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!newspeer.monmouth.com!newshub2.home.com!news.home.com!news1.mntp1.il.home.com.POSTED!not-for-mail From: "Sam Becker" <sb@beckerpages.com> Newsgroups: borland.public.jbuilder.java.language Subject: "Main Method" Error Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <yLZO6.5725$mG4.1721034@news1.mntp1.il.home.com> Date: Thu, 24 May 2001 01:48:14 GMT NNTP-Posting-Host: 24.5.227.122 X-Complaints-To: abuse@home.net X-Trace: news1.mntp1.il.home.com 990668894 24.5.227.122 (Wed, 23 May 2001 18:48:14 PDT) NNTP-Posting-Date: Wed, 23 May 2001 18:48:14 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster