wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Where to place jar files?" Watch "Where to place jar files?" New topic

Where to place jar files?

philip depalo

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

Joined: Mar 22, 2005
Posts: 41029
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
subject: Where to place jar files?
Similar Threads
Help on WebSphere Application Server 4.0
network connectivity?
One jar file or seperate jar files
Where to put jar files?
how to run a jar file from the cmd prompt using a specific jre version