5 Replies Latest reply: Mar 25, 2011 3:52 PM by jschellSomeoneStoleMyAlias RSS

    invocation api and wildcard in classpath


      I am sure this topic has been discussed before but I cannot find any thing close to this so I am posting here. Hopefully I will hear back in time.

      I am creating a VM with the option "-Djava.class.path=/home/rrp/classes/*" (using java 1.6 libraries). I am getting a NoClassDefFoundError. The classes directory contains jar files and one of the jar file has this class in it. If I list the jar file in CLASSPATH as "/home/rrp/classes/my.jar" it works fine. Is this a bug? OR am I doing something wrong?