• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help...

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends!

I am having issue with setting up the path. I have "j2skd1.4.1_01" in my C drive.

I am trying to set the path using the following commands:

D:\>set classpath = C:\j2sdk1.4.1_01\lib;.;

D:\>set path = C:\j2sdk1.4.1_01\bin;

I have even tried making a ".bat" file in which I have written these two commands, I am able to compile fine. But, when I am trying to run, I am getting an exception stating "NoClassDefinationFoundError"

This is very annoying

Please help...
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are able to compile just fine, then I doubt it is a classpath problem since javac and java are in the same directory. What is the specific (entire) error? It's more likely that you are not including a needed library.
[ August 12, 2007: Message edited by: Chad Clites ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic