|
1) You can put jars in the extentions directory instead of specifying them in your classpath. All the jar files in the extensions directory are in your classpath. The extensions directory is configurable as a JVM property but I forget which on it is. The default location is /qibm/proddata/java400/ext (I think). Poke around on your system a little and you will see how it works. 2) 200+ bytes? Sure. That's small. :-) Set it with a program or a script. That takes all (most) the pain out of it. 3) Don't ever copy them. Put them someplace and create symbolic links to them. Then there is one real file and other 'pointers' to that file. Regards, Richard D. Dettinger AS/400 Java Data Access Team "Biologists have a special word for stability -- dead" Larry Wall Open Source Developers Journal Issue 1, Jan 2000 Buck Calabro <buck.calabro@aptissoftware.com>@midrange.com on 03/01/2001 03:30:06 PM Please respond to JAVA400-L@midrange.com Sent by: owner-java400-l@midrange.com To: JAVA400-L@midrange.com cc: Subject: How do others configure classpath? CLASSPATH is going to be the death of Java. Every toolkit, every 3rd party .JAR file, every new version seems to require a separate entry in CLASSPATH. 1) Why do I ever need to specify the specific jar file (as opposed to pointing to the directory holding it?) 2) Do you really have a CLASSPATH that's 200+ bytes long? 3) Some docs have me copying jar files. How do you manage these "copies?" Buck Calabro Commsoft; Albany, NY "Nothing is so firmly believed as that which we least know" -- Michel Montaigne Visit the Midrange archives at http://www.midrange.com +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.