Article View: borland.public.jbuilder.java.language
Article #17834Re: Unix platform problem
From: Lui Dussan
Date: Mon, 28 Sep 1998 00:00
Date: Mon, 28 Sep 1998 00:00
36 lines
1985 bytes
1985 bytes
I have my CLASSPATH variable set to /home/dussan/java/gui3.zip and I am using "java Beacon3.GUI3" to invoke it but it keeps on giving me the same dammed message below. lui Brad Pepers wrote: > Lui Dussan wrote: > > > > When I run my application on Soalris 2.5.1 I get this error even though > > I copied the jbcl.zip to a directory in the path. > > What is your CLASSPATH environment variable set to? I assume when > you say path above you mean the CLASSPATH var? > > > java.lang.NoClassDefFoundError: borland/jbcl/layout/XYLayout > > at Beacon3.GUI3.<init>(GUI3.java:351) > > at Beacon3.GUI3.main(GUI3.java:1492) > > > > WHY!!!!!!!?????? > > The problem is that the jbcl.zip file is not being found by Java. > The question is of course why. The answer is almost always the > CLASSPATH. Either its not set correctly or you are using a shell > script to start java which is overriding your CLASSPATH. > > Also don't you have to actually include to full pathname of the > .zip file in the CLASSPATH? You can't just put it into a directory > in the CLASSPATH unless you unzip the file (at least as far as I > know!). > > -- > Brad Pepers > Linux Canada Inc. Home of Linux products in Canada! > http://www.linuxcanada.com Proud supporter of Cyclades, Red > brad@linuxcanada.com Hat, and Caldera.
Technical Details
Message-ID:
<360FEA84.A45903F@zorba.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<360C2276.2DB69A32@zorba.jpl.nasa.gov> <360F14F2.B0A6DF4C@linuxcanada.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8b812c7a4409a188 X-Google-Attributes: gidf74b3,public From: Lui Dussan <dussan@zorba.jpl.nasa.gov> Subject: Re: Unix platform problem Date: 1998/09/28 Message-ID: <360FEA84.A45903F@zorba.jpl.nasa.gov> X-Deja-AN: 395733883 Content-Transfer-Encoding: 7bit References: <360C2276.2DB69A32@zorba.jpl.nasa.gov> <360F14F2.B0A6DF4C@linuxcanada.com> To: Brad Pepers <brad@linuxcanada.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language