Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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 on Apr 22 2011
Added on Mar 24 2011
5 comments
381 views