Fast java compiler

Hi Everyone!

I am looking for fast java compiler, best with embedded compilation. I would try to write application witch will be self-compiling to improve speed of showing GUI. So I would like to compile java source file or whole package with calling single fu nction instead of invoking new process with javac or another compiler.

I have already find Jikes and Janino.

Unfortunately where are not 100 % good for my purpose. First do not support Java 1.5 (or 1.6), second is not embedded.

Do someone know another compiler better for my solution.

Thank you very much in advance.

Best regards

Lukasz Szymik

[653 byte] By [Szymika] at [2007-11-26 14:44:20]
# 1
don't bother.
jwentinga at 2007-7-8 8:32:02 > top of Java-index,Developer Tools,Java Compiler...
# 2

Agree completely. The JVM already does this behind the scenes for byte code0>assembly code. I don't believe you'll be able to realize the imagined benefits and in any case you'll end up with the nightmare system from hell where you won't ever be able to define what the source code actually is at any point in time.

Rethink.

ejpa at 2007-7-8 8:32:02 > top of Java-index,Developer Tools,Java Compiler...
# 3

Sorry,

I don't want to compile into assembly code or speed up VM. I just have to generate java class full of math evaluation and strange validation rules.

So I just want to compile *.java into *.class.

The benefit for this will be having dedicated classes for all cases instead of having class with millions of if then else structure, strange regex, etc.

If you take for example math library for evaluating complex equation which is generic for all cases and dedicated function for the same equating you will see the speed.

Thanks for help and good points.

Szymika at 2007-7-8 8:32:02 > top of Java-index,Developer Tools,Java Compiler...
# 4
OK well javac has a public API as of Java 6 (JDK 1.6).
ejpa at 2007-7-8 8:32:02 > top of Java-index,Developer Tools,Java Compiler...
# 5
check how ANT does it...
jwentinga at 2007-7-8 8:32:02 > top of Java-index,Developer Tools,Java Compiler...