|
If these JAR files are ones you will need to distribute with your app, meaning you cannot be sure they are in the CLASSPATH of your application server, then the easiest method is simply to drag and drop them to the WEB-INF/lib folder of your web project. This will put them in the build path, the runtime path and cause them to be included in your WAR file. If you do not need to distribute them, you can right-click on your project and choose Properties. Then click on Java Build Path on the left, then Libraries in the list of tabs and finally the Add External JAR button on the right. This will only effect compiling and validation, if you try to run your application in the test environment or deploy it to another server, those JAR's will need to be present in the runtime CLASSPATH. Mark wdsci-l-bounces@xxxxxxxxxxxx wrote on 02/18/2004 05:29:22 PM: > All, > > I am using Websphere Development Studio version 5.0. I am having a problem > adding external jar files to the classpath. I am in a web perspective, > selected properties of the project, and attempted to add several external > jar files to the project. When I tried to add them I received an error > "jzentry == 0". I closed the client and tried to open it again. It would > not open. It hung on the computer for 15 minutes then failed to open. No > messages, just failed to initialize. To correct the situation, I had to > change the name of the library where the jar files were located, bring up > WDSC, delete the references to these jar files. > > Can anyone give me any advice how to get these supporting jar files into the > classpath for this project? > > Thanks! > > Mike > > ======================================= > Mike Silvers > Senior Programmer/Analyst > IBM Certified Expert > Hainey Business Systems > Main Office: (717) 718-9601 ext 237 > Branch Office: (410) 397-8739 > http://www.hbs-inc.com > AIM: IBMJavaMan > ======================================= > > > _______________________________________________ > This is the Websphere Development Studio Client for iSeries (WDSCI- > L) mailing list > To post a message email: WDSCI-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > or email: WDSCI-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.