S
suprajapc
Hi All,
When we try to run the below program
public class fir
{
public static void main(Strings args[ ])
{
System.out.println("Hello World");
}
}
using the following command gcj fir.java
it is giving this error....
[root@localhost root]# gcj fir.java
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18):
In functio
n `_start':../sysdeps/i386/elf/start.S:77: undefined reference to
`main'
collect2: ld returned 1 exit status
Waiting for the reply
Thank You
When we try to run the below program
public class fir
{
public static void main(Strings args[ ])
{
System.out.println("Hello World");
}
}
using the following command gcj fir.java
it is giving this error....
[root@localhost root]# gcj fir.java
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18):
In functio
n `_start':../sysdeps/i386/elf/start.S:77: undefined reference to
`main'
collect2: ld returned 1 exit status
Waiting for the reply
Thank You