Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in when compiling in NetBeans 4.1  RSS feed

 
Atlas Cot
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I get the following error message when i run my program in NetBeans:

java.lang.NoClassDefFoundError: javaapplication4/Test
Exception in thread "main"
Java Result: 1

How do fix this?

thanks in advance,
Atlas
 
Norm Radder
Rancher
Posts: 1772
26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that the referenced class is on the classpath
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!