Problem compiling Openfire

Hi, I’ve been trying to build a plugin to get the .jar and I found these documents: and , which are really useful, except Openfire won’t build. No matter what I do and no matter how hard I search, I can’t find the variable that I need to modify. Here’s the error that I get:

D:\workspace3\openfire_src\build\build.xml:281: Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files (x86)\Java\jre6"

Does anyone know how I can fix this?

Thank you in advance.


Have you JDK installed on that box where you compile? If yes adjust JAVA_HOME to point to it (as the error suggests) if not, download and install latest.

I did both, But it still didn’t run. Eventually, I fould out that I could build my plugin separately, without compiling Openfire, so problem solved. Kinda.