The Artima Developer Community
Sponsored Link

Java Answers Forum
NoClassDefFoundError--Java's Pons Asinorum

1 reply on 1 page. Most recent reply: Jul 2, 2002 2:46 PM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Jack Gjovaag

Posts: 1
Nickname: jackg
Registered: Jul, 2002

NoClassDefFoundError--Java's Pons Asinorum Posted: Jul 2, 2002 8:15 AM
Reply to this message Reply
Advertisement
I have had repeated problems with getting
the NoClassDefFoundError exception in various
simple Java programs. The programs compile
properly but when they are run the exception
is thrown.

The description of the exception says that
the class definition could not be found but that
it WAS found when the program was compiled.

Because the class definition WAS found at compile
time, I don't believe the CLASSPATH is the
problem. Does JVM look for class definitions
in a different way than the build environment?

I am using Visual J++ 6.0 as the development
environment.

I do notice that an unusually large number of
people have posted this type of problem on this
forum and on other newsgroups. It appears to
be a VERY common problem but I do not see any
clear answers being posted.

I would very much appreciate responses to this
problem. It is at the point where Java is
essentially useless to me until I can get by
this difficulty.


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: NoClassDefFoundError--Java's Pons Asinorum Posted: Jul 2, 2002 2:46 PM
Reply to this message Reply
Jack,
U pointed the most likely problem your self...
A CLASSPATH problem.
We cannot help you without you either giving a more detailled description of your environment or just trying to solve it by hand compiling !

Thomas,

Flat View: This topic has 1 reply on 1 page
Topic: Runtime.getRuntime().exec() Previous Topic   Next Topic Topic: SMTP and APPLETS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use