• 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

Classpath ......encore .......merde ...

 
village idiot
Posts: 1208
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looking forward to JDBC with Jenny, we're supposed to make sure we have C:\java\jr.jar in our classpath. I do. However, I do not have jr.jar directly in the C:\java directory. It's buried inside other directories.
Should I place a copy directly in C:\java, or can Jenny find it inside a sub-directory if I specify the path? From a housekeeping standpoint, is having duplicate locations for a jar file like this necessary, or does that just clutter things up?
If multiple apps are using jr.jar, is it better to put a copy in each app, or direct the apps to one central copy?
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that for these assignments, it is best to put jr.jar in the lib dir of the directory you have the assignment in. See JavaRanch standards for directory structure.
Especially now that you have your new computer, Carol, with lots of disk space, a very small jar file like jr.jar won't be a problem.
 
reply
    Bookmark Topic Watch Topic
  • New Topic