• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

DaysOld - Why JavaRanchCommon.zip?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand why the classpath entry is JavaRanchCommon.zip. I downloaded the file for this assignment and viewed the contents. I see no such file. I understand the format of the import statement for this assingment but not the classpath. Can someone please explain?

Thanks,

Chuck
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chuck Holowecky:
I see no such file.


It sounds like you are looking for a JavaRanchCommon.class file in the zip file. There is no file by that name. The zip file could have been named kalamazoo.jar -- it wouldn't matter. What matters is that you need to include that zip file in your classpath so that you can access the classes that are inside (like GDate and JDate).
 
Chuck Holowecky
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But the name of the zip file is jr.zip. How can it be found if the pathname is JavaRanchCommon.zip?

Chuck
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh. Sorry. I'd forgotten that we changed the name of the jar. You're correct. You need to put jr.zip into your classpath. I need to change the instructions.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic