Click to See Complete Forum and Search --> : recompiling java byte code as machine code


javadeveloper
12-18-2007, 07:05 PM
Hi
I heard the GCJ can convert java byte code into native machine code so I was wondering if I can recompile Zend Studio (php ide). Right now to lanuch zend I need to use a bash script because it's compiled as a jar. The command that starts up Zend is very long!

Razee Marikar
12-19-2007, 03:59 AM
Yes, gcj can compile java code and byte code to native code. But it may not work for all libraries. I don't suggest you do it for large Java projects not specially designed for this. I suggest you continue using shell scripts, because that is how it is usually done in many large Java projects.