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
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Apr 22 2011
Added on Mar 24 2011
5 comments
246 views