🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7691

Main Method

#7691
From: Sam Becker
Date: Sun, 27 May 2001 18:23
28 lines
2258 bytes
Hello,

I have JBuilder 4, and it hasn't been working well at all. I have a PC with
Windows 2000 if that matters. So Far, I keep trying to make a java applet my
extending the class JApplet. I keep on making java applets, starting off by
making a Java Applet Project, and then use the javax.swing.JApplet class.
But whenever I do this (including the times when I copy code out of the
book), I get the error:

F:\JBuilder4\jdk1.3\bin\javaw -classpath "F:\Documents and Settings\Sam
Becker\My Documents\Java\Java
Applet\StandardJavaApplet\classes;F:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2D
emo.jar;F:\JBuilder4\jdk1.3\jre\lib\i18n.jar;F:\JBuilder4\jdk1.3\jre\lib\jaw
s.jar;F:\JBuilder4\jdk1.3\jre\lib\rt.jar;F:\JBuilder4\jdk1.3\jre\lib\sunrsas
ign.jar;F:\JBuilder4\jdk1.3\lib\dt.jar;F:\JBuilder4\jdk1.3\lib\tools.jar"
standardjavaapplet.GreenBook
java.lang.NoSuchMethodError: main
Exception in thread "main"

It tells me that I don't have a main function. But this is a java applet.
This software (JBuilder 4) seems to be terrible so far, so any feed back at
all would be greatly appreciated. I'm a beginner and this has all been very
confusing.

Thanks,

Sam
sb@beckerpages.com
Technical Details
Message-ID: <bCbQ6.7804$mG4.2884851@news1.mntp1.il.home.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.mntp1.il.home.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b5ef94718cd35e63,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-27 11:24:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.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
Lines: 30
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: <bCbQ6.7804$mG4.2884851@news1.mntp1.il.home.com>
Date: Sun, 27 May 2001 18:23:03 GMT
NNTP-Posting-Host: 24.5.227.122
X-Complaints-To: abuse@home.net
X-Trace: news1.mntp1.il.home.com 990987783 24.5.227.122 (Sun, 27 May 2001 11:23:03 PDT)
NNTP-Posting-Date: Sun, 27 May 2001 11:23:03 PDT
Organization: Excite@Home - The Leader in Broadband http://home.com/faster