Skip to Main Content

invocation api and wildcard in classpath

850193Mar 24 2011 — edited Mar 25 2011
Hello,

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?

Thanks
Raj
Comments
Post Details
Added on Mar 24 2011
5 comments
236 views