Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packages, class path etc...

 
Ryan Waggoner
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for a resource that look at java's file structure.

Getting into detail about jars, packages, and class path info.

Anyone have something laying around?

Thanks!
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if these Sun Java docs help...
  • How Classes are Found
  • Setting the class path (also includes "Understanding the class path and package names")

  • [ July 31, 2007: Message edited by: marc weber ]
     
    Mark Garland
    Ranch Hand
    Posts: 226
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This might sound silly, but I always remember the structure of a class file using "PIC" (think picture).

    P - Package delaration
    I - Import statements
    C - Class definition.

    HTH
     
    Stan James
    (instanceof Sidekick)
    Ranch Hand
    Posts: 8791
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    After reading those other resources, see if this tutorial makes things better or worse.
     
    Raghavan Muthu
    Ranch Hand
    Posts: 3381
    Mac MySQL Database Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    The link given by you is excellent and it would be really helpful to the people at the beginning stage Stan James.

    Nice of you.
     
    Ryan Waggoner
    Ranch Hand
    Posts: 75
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for the help.

    I have PIC in my head now

    Stan that was a great link, it made things better, thanks
     
    Mark Garland
    Ranch Hand
    Posts: 226
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You're welcome.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic