Article View: borland.public.jbuilder.java.api
Article #2402Re: Newby Question
From: Rich Wilkman
Date: Tue, 24 Oct 2000 00:00
Date: Tue, 24 Oct 2000 00:00
39 lines
2485 bytes
2485 bytes
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:
<39F5EF2F.C75E8FD2@formlessvoid.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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,66c65841f86ddcb1 X-Google-Attributes: gid1089d0,public From: Rich Wilkman <richw@formlessvoid.com> Subject: Re: Newby Question Date: 2000/10/24 Message-ID: <39F5EF2F.C75E8FD2@formlessvoid.com> X-Deja-AN: 685384930 Content-Transfer-Encoding: 7bit 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> X-Accept-Language: en,ja Content-Type: text/plain; charset=us-ascii X-Trace: 24 Oct 2000 13:12:48 -0800, 209.144.169.10 MIME-Version: 1.0 Reply-To: richw@formlessvoid.com Newsgroups: borland.public.jbuilder.java.api