Skip to Main Content

Java APIs

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!

rmic task gives class not found exception while using ant

843793Dec 30 2008 — edited Dec 31 2008
hi folks,
if i try to run normal rmic on the class, stub class is generated perfectly but if i try by using ant it says class not found exception. this is what i am using for ant

<target name="rmic">
<mkdir dir="build/classes"/>
<rmic classname="com.services.serviceimpl" base="build/classes/" />
</target>

from same folder if i try to execute rmic com.services.serviceimpl on command prompt it works fine.. do i need to set some classpath in ant or am i missing some this else.

thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 28 2009
Added on Dec 30 2008
6 comments
397 views