Article View: borland.public.jbuilder.java.api
Article #2404Re: Newby Question
From: James A. Schulz
Date: Tue, 24 Oct 2000 00:00
Date: Tue, 24 Oct 2000 00:00
64 lines
3102 bytes
3102 bytes
OK. I finally got it straightened out. Sometimes when I went to choose my main class, I would see UnicodeDisplay at the bottom of the list. But if I only extended the source path to the src folder, it wouldn't be there. Now I see that what I needed to do was expand the "com" item and follow that down to the source. Thanks to all for your help (and your patience). James "Rich Wilkman" <richw@formlessvoid.com> wrote in message news:39F5EF2F.C75E8FD2@formlessvoid.com... > James: > > Either extend the source on disk to match the package statement *or* -- never > mind. Just extend the source location to include the package info. You'll be > able to use it in JB and select it in JB because JB works on the premise that > Java conventions are being followed. > > After you get the sample running, *do* pause and read up on/learn about packages > and what they entail. They are very key to Java (so key that the language has > implementation to fake it if you don't use it which should tell you how > important they are). > > -Rich > > "James A. Schulz" wrote: > > > Joi, > > > > If I don't extend the source path all the way (i.e. if I leave it at > > c:\window\jbproject\unicode\src), then I cannot see UnicodeDisplay in the > > list from which I am to choose my main class. If I extend the source path, > > thus: > > > > c:\windows\jbproject\unicode\src\com\davidflanagan\examples\i18n > > > > then I can see (and choose) UnicodeDisplay as my main class. > > > > However I still get the same "Main class not found error." Below is the > > full text of the JB4 output window: > > > > C:\JBUILDER4\JDK1.3\bin\javaw -classpath > > "C:\WINDOWS\jbproject\unicode\classes;C:\JBUILDER4\JDK1.3\demo\jfc\Java2D\Ja > > va2Demo.jar;C:\JBUILDER4\JDK1.3\jre\lib\i18n.jar;C:\JBUILDER4\JDK1.3\jre\lib > > \jaws.jar;C:\JBUILDER4\JDK1.3\jre\lib\rt.jar;C:\JBUILDER4\JDK1.3\jre\lib\sun > > rsasign.jar;C:\JBUILDER4\JDK1.3\lib\dt.jar;C:\JBUILDER4\JDK1.3\lib\tools.jar > > " UnicodeDisplay > > java.lang.NoClassDefFoundError: UnicodeDisplay > > Exception in thread "main" > > > > James >
Technical Details
Message-ID:
<8t5m7a$t2n12@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8stob4$hjb1@bornews.borland.com> <39f2ec4b_1@dnews> <8t1b28$mbv10@bornews.borland.com> <8t1pcu$qop5@bornews.borland.com> <8t1rq2$qp97@bornews.borland.com> <8t26tt$2gi1@bornews.borland.com> <8t2ur5$8k61@bornews.borland.com> <8t3047$8n45@bornews.borland.com> <8t468c$j808@bornews.borland.com> <8t4ar6$j2611@bornews.borland.com> <8t4ket$nl64@bornews.borland.com> <39F5EF2F.C75E8FD2@formlessvoid.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,66c65841f86ddcb1 X-Google-Attributes: gid1089d0,public From: "James A. Schulz" <jaschulz@wiseware.com> Subject: Re: Newby Question Date: 2000/10/24 Message-ID: <8t5m7a$t2n12@bornews.borland.com> X-Deja-AN: 685517059 References: <8stob4$hjb1@bornews.borland.com> <39f2ec4b_1@dnews> <8t1b28$mbv10@bornews.borland.com> <8t1pcu$qop5@bornews.borland.com> <8t1rq2$qp97@bornews.borland.com> <8t26tt$2gi1@bornews.borland.com> <8t2ur5$8k61@bornews.borland.com> <8t3047$8n45@bornews.borland.com> <8t468c$j808@bornews.borland.com> <8t4ar6$j2611@bornews.borland.com> <8t4ket$nl64@bornews.borland.com> <39F5EF2F.C75E8FD2@formlessvoid.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Reply-To: "James A. Schulz" <jaschulz@wiseware.com> Newsgroups: borland.public.jbuilder.java.api