The Artima Developer Community
Sponsored Link

Java Answers Forum
Problem occur during runtime..........

2 replies on 1 page. Most recent reply: Feb 10, 2006 4:39 AM by casper newbie

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 2 replies on 1 page
casper newbie

Posts: 7
Nickname: casper3
Registered: Jan, 2006

Problem occur during runtime.......... Posted: Feb 9, 2006 4:06 AM
Reply to this message Reply
Advertisement
I'm program a java code, then i compile it, it says execution finish after i compile my program........ But when i try to run the program theres an error occur, it notes "java.lang.NoClassDefFoundError". Could anyone help solve this problem pleasee............. Thank you in advance and God bless..............


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Problem occur during runtime.......... Posted: Feb 9, 2006 5:42 AM
Reply to this message Reply
The standard response is: check your CLASSPATH

execute the program like this:

java -cp .;jarfile1.jar;sourcedir1 packagename.ClassName

casper newbie

Posts: 7
Nickname: casper3
Registered: Jan, 2006

Re: Problem occur during runtime.......... Posted: Feb 10, 2006 4:39 AM
Reply to this message Reply
> The standard response is: check your CLASSPATH
>
> execute the program like this:
>
> java -cp .;jarfile1.jar;sourcedir1 packagename.ClassName



By the way i'm using ConText in programing java........ what could i do to fix this problem? please help me..........

Flat View: This topic has 2 replies on 1 page
Topic: Array problem Previous Topic   Next Topic Topic: need help

Sponsored Links



Google
  Web Artima.com   

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