Hi, I just add the directory of the jar file to my CLASSPATH. I can then run javac with no directory's on the command line. I have not yet distributed anything, so I am not sure what is the best way to do it for distribution.
eg. setenv CLASSPATH /people/hugh/lib/myLibraryDir/:./ I am a bit of a newbie, so if this is rubbish please ignore it. Hugh >>>Delivered-To: [EMAIL PROTECTED] >>>MIME-Version: 1.0 >>>Content-Transfer-Encoding: 8bit >>>X-Priority: 3 >>>X-MSMail-Priority: Normal >>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >>>Subject: Re: [JAVA3D] jar files >>>To: [EMAIL PROTECTED] >>> >>>Struggled with this too ;) >>> >>>For development, put them in your JRE /lib folder, for runtime, in the /lib >>>of the Java run time install. For distribution I put them into a /lib >>>folder under the application directory, then set the classpath in the >>>command line to include it specifically like: >>> >>>javac -cp "./lib/myJarFile.jar"; >>> >>>If there's a better way I'd love to hear it... >>> >>>Scott >>>Virtopia 2 3D Project >>>http://vp2.onebigvillage.com >>> >>>----- Original Message ----- >>>From: "Jürgen Vansteelant" <[EMAIL PROTECTED]> >>>To: <[EMAIL PROTECTED]> >>>Sent: Monday, March 25, 2002 4:17 AM >>>Subject: [JAVA3D] jar files >>> >>> >>>> Hello, >>>> >>>> I have a question about jar files. If you want to add a new jar file to >>>your >>>> library, where exactly do you have to put the jar so if you want to import >>>> them in your application? >>>> There are two maps on my c-drive , forte4j and jdk1.3, bouth of them >>>contain >>>> libraries. What is the difference between them? >>>> >>>> >>>> Thank you >>>> >>>> >>>> _________________________________________________________________ >>>> Join the world's largest e-mail service with MSN Hotmail. >>>> http://www.hotmail.com >>>> >>>> >>>=========================================================================== >>>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the >>>body >>>> of the message "signoff JAVA3D-INTEREST". For general help, send email to >>>> [EMAIL PROTECTED] and include in the body of the message "help". >>> >>>=========================================================================== >>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >>>of the message "signoff JAVA3D-INTEREST". For general help, send email to >>>[EMAIL PROTECTED] and include in the body of the message "help". ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".