• Post Reply Bookmark Topic Watch Topic
  • New Topic

ridiculous NoClassDefFoundError  RSS feed

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this sounds stupid guys but it's getting on my nerves :

I am preparing a production machine with Windows2000 Server as the OS for the eventual deployment of some web applications we've been working on for ages on development and staging.

Now I can't seem to get Java to work right !!!

Installed the JDK 1.4.2_05 from java.sun.com like a good boy, all seems well .. have my JAVA_HOME environment variable in place and the path points to where the java and javac commands sit tightly under the %JAVA_HOME%\bin folder ....

Now if i try to compile a simple Hello World program it works fine .. now to run it i get this :

Exception in thread "main" java.lang.NoClassDefFoundError: TestConnection


I urgently need some tips here!

Merci beaucoup in advance.

kiko :roll: :roll:
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone ? I'm kinda waiting here ?
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much for everyone i just found the culprit ... i missed out the . in my classpath to denote current directory too !!!


cheers
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing what you learned!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!