Hi friends,
I hope everyone is fine and doing well. I've heard and read that gcj converts java bytecode into machine code(executable), is that right? And could you please guide me with the installation of gcj on Solaris 11 machine. And could you please also tell me how to compile a simple java bytecode into an executable? e.g.
public class Hello_Java
{
public static void main( String args[] )
{
System.out.println( "Hello, Java!" );
}
}
javac Hello_Java.java
Now how to compile this .class file into an executable machine code file, e.g. a.out file????
Looking forward to your wonderful replies!
Thanks in advance!