problem while running java code..
i have written a simple hello world java code.. and compiling the code with GCJ like this
gcj --main test -o test test.java
my code test.java is
public static void main(String args)
and while compiling also it is not giving any problem
the gcj is built for ARM using GCC 4.0.1 so my actual compiling statement is
arm-unknown-linux-gnu-gcj --main -test -o test test.java
and it generates executable test
when i run ./test
it is not printing Hello World! and also not giving any error or warnings :( :(
Please help me to resolve this problem...
whether i need some prerequisits for running this code.. some packages i need to install ? or do i need sun-java-jre for this..
i am using debian linux