wood burning stoves*
The moose likes Applets and the fly likes Where to place jar files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Where to place jar files?" Watch "Where to place jar files?" New topic
Author

Where to place jar files?

philip depalo
Greenhorn

Joined: Oct 12, 2009
Posts: 26
I am just curious, where do I put jar files that are necessary for the program to run, but that a user wouldn't have on their own system? I am using tomcat to run the server. I have three "java" programs. I have one that runs on the server, "connectmanager", one that loads in the browser window for the user, "sessionclient" and the web page one that authenticates a user through MySQL. I need to make sure the user has access to jndi.jar because it is necessary if they choose to upload a picture from their machine.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
For easy manageability they're generally put in the same directory as the other applet resources (HTML/JSP page, jar file, images etc.).
If you have several applets that all use the same jar files it would be better to put them in a single, shared directory somewhere in the public web space.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to place jar files?