Article View: borland.public.jbuilder.java.language
Article #17829Re: Unix platform problem
From: Brad Pepers
Date: Sun, 27 Sep 1998 00:00
Date: Sun, 27 Sep 1998 00:00
29 lines
1632 bytes
1632 bytes
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:
<360F14F2.B0A6DF4C@linuxcanada.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<360C2276.2DB69A32@zorba.jpl.nasa.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8b812c7a4409a188 X-Google-Attributes: gidf74b3,public From: Brad Pepers <brad@linuxcanada.com> Subject: Re: Unix platform problem Date: 1998/09/27 Message-ID: <360F14F2.B0A6DF4C@linuxcanada.com> X-Deja-AN: 395504818 Content-Transfer-Encoding: 7bit References: <360C2276.2DB69A32@zorba.jpl.nasa.gov> Content-Type: text/plain; charset=us-ascii Organization: Linux Canada Inc Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language