B2B error Cannot compile WMSample code

Hi. I need to drop a file from Business Connector to disk so I decided to use the sample service, writeTOFile.
However, I needed to tweak the openFileWriter code to try and get the file dropped into another directory below sapbc46\Server which is the default.
I made a change to the code(with much help from those around me as I am new to Java) and attempted to save the changes. I received a message that ‘the compiler could not be started or found.’
Anyone able to help? Thanks, spy.

P.S. I am running SAP Business Connector 4.6 on Win2K Server.

You need to install a JDK java complier on the server machine.