Hi friends
I have a problem while running a java code with GCJ...
i recently cross compiled GCC for arm with added language option as java. so
i got arm-unknown-linux-gnu-gcj..
My java code is
class helloworld
{
static public void main(String argc[])
{
System.out.println("Hello World !");
}
}
so i am crosscompiling my java code like this...
arm-unknown-linux-gnu-gcj -g --main=helloworld -o helloworld helloworld.java
and running like this
./helloworld
the above should print Hello World ! as far as my understanding since GCJ
does not require JVM
while compiling and running it is not giving any error or warning..