Error in Compiling getPurchaseOrder.java

I am new to webMethods.
I am trying the examples of it.
While trying the Java Service with getPurchaseOrder , I am getting a Error message on saving it.It is like

THE SOURCE WAS SAVED BUT NOT COMPILED DUE TO THE FOLLOWING ERROR.
com.wm.app.b2b.server.ServiceException:
[B2BSERV.0014.9116]Unable to locate or start compiler

Please help me to trace the problem.
Thanks in advance.
Maneesh

Add the directory that java.exe is in to your path. For me it’s c:\webMethods\wment41\jvm\win.sun13\bin
This requires a reboot.

Or you could change the server.cnf in the /config directory.
put full path here
/
/
watt.server.compile= javac -classpath {0} -d {1} {2}

Stop the IS before you make the change. When you start the IS back up, it should work.

Thanks briedes,
After putting it in my PATH I am able to compile and run the program.But as you mentioned I didn’t found server.conf file in my IntegrationServer directory.
anyway thanks a lot.

server.cnf is in the config directory under the IntegrationServer directory.

C:\Program Files\webMethods6\jvm\win142\bin
For me the path was like above.
Thanks Briedes!