• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Path of imports / JFreeChart Question

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) when importing in a JSP and importing (let's say java.awt or other java classes) where are these classes stored?
2) I want to download JFreeCHart. In which directory should I extract the zip into?

I'd appreciate any helpful responses. Thanks in advance.

RH
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If these libraries are shipped as jar files the jars go in WEB-INF/lib
If you're going to unpack then the class files go under WEB-INF/classes/PACKAGE-STRUCTURE/
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben. When importing java classes where are they stored (for instance awt, swing, etc..,)?

RH
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're in a jar file that's part of the JRE installation. They shouldn't be moved around or un-jar-ed.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I was just wondering where they are. Where in the jre? I wouldnt anyway considering there most likely isn't any source. Thanks for ther response (appreciate an answer to the other question too though ;)).

RH
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That greatly depends on the platform and implementation of the JRE that you are using.
[ April 19, 2007: Message edited by: Bear Bibeault ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JRE does include the source code to the class libraries, though, which comes in handy if you need to understand more about a class than what's covered in the javadocs. Hunt for a file called src.zip or src.jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic