Jar and External Resources

From: Sergio B. (sb_touristRIMUOVIQUESTO_at_tin.it)
Date: 12/29/03

  • Next message: Andrew Thompson: "Re: Newbie: How to read HTTP directory"
    Date: Mon, 29 Dec 2003 10:08:50 GMT
    
    

    Hello,

    how can I access, from a source code packed into a Jar, an "external"
    resource which is in the classpath but is not in the Jar?
    Moreover, in the same situation, I'm not able to access a jdbc database
    driver whose Jar is in the classpath, unless I include it in my application
    Jar!
    Where is the problem?
    My JDK is 1.4.2
    Please help me.
    Thank you,
    Good Bye,

    Sergio B.


  • Next message: Andrew Thompson: "Re: Newbie: How to read HTTP directory"

    Relevant Pages

    • Re: how to set up a simple plugin mechanism
      ... > relevant classes or a list of names from which the relevant class ... > classpath or in some jar. ... WhatEverPlugin interface, and if they do I load them. ...
      (comp.lang.java.help)
    • Re: Suchreihenfolge =?ISO-8859-15?Q?f=FCr?= CLASS-Files
      ... Umgebungsvariable CLASSPATH eine aus einem JAR bestehende Anwendung ... Zielrechner eine alte Version meiner Bibliotheken installiert habe und im ... einer fremden Maschine alles installiert hat (meist nur die JVM mit ...
      (de.comp.lang.java)
    • Re: Java on VMS
      ... Maybe you just need to put a missing jar file in WEB-INF/lib. ... I have had some issues with getting jars to show on the classpath, ... I'm no VMS pro so I'm not entirely sure ...
      (comp.os.vms)
    • Re: mixing RPG and Java?
      ... There is a default extension path where you can park a flock of JAR files and they will all be automatically scanned for classes -- no need to add the JAR names to the classpath. ... list of valid classpaths pointing to jars and standalone classes will get ...
      (comp.sys.ibm.as400.misc)
    • Re: Jar and External Resources
      ... You have source code in a JAR? ... "Sergio B." ... >> Same as any other resource on the classpath, ...
      (comp.lang.java.programmer)