Hi Nasir,
Make sure that the watt.server.compile property on the WM server point to the appropriate path for javac on the WM server machine (not on the developer machine).
You can access the property via
Settings > Extended –> Edit Extended Settings on the 4.6
mine looks like that (one line - Linux with Sun JVM 1.3.1 and a C1OnRamp installed)
watt.server.compile=/opt/jdk1.3.1_04/bin/javac -encoding ISO-8859-1 -classpath /opt/webMethods/IntegrationServer4/lib/mail.jar:/opt/webMethods/IntegrationServer4/packages/WmMarketConnect/code/classes:{0} -d {1} {2}
cheers
bruno
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods