The Artima Developer Community
Sponsored Link

Java Answers Forum
run time error

3 replies on 1 page. Most recent reply: Apr 18, 2010 11:33 AM by Ramesh K

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 3 replies on 1 page
mohammad alam

Posts: 2
Nickname: mahtab286
Registered: Jan, 2010

run time error Posted: Jan 19, 2010 10:03 PM
Reply to this message Reply
Advertisement
When I run my java progran there is an error Exception in main thread java.langNoClass.DefFoundError
Plz help me to solveout this problem


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: run time error Posted: Jan 22, 2010 1:07 AM
Reply to this message Reply
How are you trying to run it? Sounds like a Class path setting.

Rathish Nair

Posts: 1
Nickname: brathish
Registered: Apr, 2009

Re: run time error Posted: Apr 17, 2010 2:49 AM
Reply to this message Reply
> When I run my java progran there is an error Exception in
> main thread java.langNoClass.DefFoundError
> Plz help me to solveout this problem

This problem occurs if your CLASSPATH is not set properly. Set your CLASSPATH according to the target path where all the compiled class files would go into.

Ramesh K

Posts: 3
Nickname: ramesh009
Registered: Apr, 2010

Re: run time error Posted: Apr 18, 2010 11:33 AM
Reply to this message Reply
set the CLASSPATH to C:\Program Files\Java\jre1.5.0_01\lib\rt.jar

Flat View: This topic has 3 replies on 1 page
Topic: one public class Previous Topic   Next Topic Topic: Can Someone Help Me?

Sponsored Links



Google
  Web Artima.com   

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