Title says it all. I've tried getting different system properties with no luck.
Not sure if "java.compiler" is the right one or not, but it always returns null for me. The others I've tried are:
java.home gives me: c:\java\j2sdk1.4.2_05\jre
But javac is in c:\java\j2sdk1.4.2_05\bin
I don't want to assume that the property always goes to the jre directory with bin just being 1 up from it.
Only other option I've found at this point is to let the user specify where the compiler is.