Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with Error

1 view
Skip to first unread message

Dave Devang Bhalchandra

unread,
Aug 16, 2000, 3:00:00 AM8/16/00
to

I am trying to run my code from within JBuilder3 and I get the following
error: err1

I run the same code on another machine and everything runs fine. To the
best of my knowledge I havent deleted any classfiles or jar files. Can
someone provide a hint on how to track down the problem.

Thanks in advance,
Devang

err1:
^^^^^
C:\Program Files\JBuilder3\java\bin\javaw.exe -classpath "C:\Program
Files\JBuilder3\myclasses; (and several others) " caliber.Application1 -mx
64m AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.
Copyright (c) 1997-1999 Inprise Corporation. All Rights Reserved.
java.lang.NoClassDefFoundError: com/borland/jbcl/control/DecoratedFrame
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:403)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:237)
Exception in thread "main"


Colin Jacobs

unread,
Aug 17, 2000, 1:41:03 AM8/17/00
to Dave Devang Bhalchandra
Hi there.

Dave Devang Bhalchandra wrote:
> > I am trying to run my code from within JBuilder3 and I get the following
> error: err1
>
> I run the same code on another machine and everything runs fine. To the
> best of my knowledge I havent deleted any classfiles or jar files. Can
> someone provide a hint on how to track down the problem.

Hmm - possibly you deleted something or monkeyed with your JBuilder
setup.
In any case, here's how you might be able to fix it. Go to
project->properties, click on required libraries tab, click add, click
new, type "borland" or some such in the name box, then click Add;
navigate to your JBuilder directory, then find lib/lbcl31.jar. That has
the com.borland.jbcl.control.* classes in it. Click OK a bunch of times,
and you've now told JBuilder where to find that missing class.

Good luck.

Colin

> err1:
> ^^^^^
> C:\Program Files\JBuilder3\java\bin\javaw.exe -classpath "C:\Program
> Files\JBuilder3\myclasses; (and several others) " caliber.Application1 -mx
> 64m AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.
> Copyright (c) 1997-1999 Inprise Corporation. All Rights Reserved.
> java.lang.NoClassDefFoundError: com/borland/jbcl/control/DecoratedFrame
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:403)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:280)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:237)
> Exception in thread "main"

--
------------
Colin Jacobs
Senior Software Engineer
coljac(@)coljac.net

I don't pretend to have all the answers. I don't
even pretend to know what the questions are. Hey,
where am I? -- Jack Handey

Dave Devang Bhalchandra

unread,
Aug 17, 2000, 3:00:00 AM8/17/00
to col...@coljac.net

Thanks Colin for your help. But I do have jbcl3.0.jar in my classpath (I
checked using winzip that it contains the DecoratedFrame.class. But I
still get the error.

I am really surprised.

Thanks again in advance for any other suggestions/comments.

Devang

0 new messages