Hi, I wrote a java service but when I tried to save and compile, it gives me this error message:
“The source was saved, but was not compiled due to the following errors:
com.wm.app.b2b.server.ServiceException: [B2BSERV.0014.9116] Unable to locate or start compiler”
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)
A little comment on the thread : in contrary to what could be expected the {0} in the watt.server.compile classpath is NOT the classpath used to start the server (the one you find in “About” on the admin interface). Hence the addition of mail.jar and the path to the C1OnRamp classes on my javac classpath.
In short, a java service may run on the server but not compile with the default setting (…at least on my Unix like config).