Hi there, In org/objectweb/jonas_ejb/tools/GenIC.java the JRMICompiler is called but the classpath of the current VM is not used. It only uses the classpath off the environment to run it. We are using Linux and want to call GenIC by ant, but weren't able (and don't think that it would be a nice solution) to set the environment classpath as needed for the compilation. So the jrmicClassName wasn't found by java, causing an exception. The best solution would be to add the classpath-Property to the command which is starting the JRMICompiler. We are using JOnAS 2.2.5 right now and would like to commit a patch. We are using it in our project together with a patched ant task for GenIC. The patch for GenIC is only for Jeremie but it is easily adapted for RMI as well. Please let us know if you want to integrate it in the next release -----------cut------------------------------------------------------- @@ -357,7 +355,7 @@ GenICException("Failed when compiling the implementation classes: "+ "Jeremie stub compiler not found"); } - sRmic = "java " + + " -opt "; + sRmic = "java -classpath "+ System.getProperty("java.class.path") +" "+ jrmicClassName + " -opt "; sCmd = new String(sRmic); } else { sRmic = "rmic -v1.1"; ----------paste------------------------------------------------------- Thanks! Simon ---- To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe jonas-users". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".