This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41182
    
  45
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
how to run a jar file from the cmd prompt using a specific jre version
Help on WebSphere Application Server 4.0
network connectivity?
One jar file or seperate jar files
Where to put jar files?