Originally Posted by sambasivarao
when i try to compile a basic java program in suse linux i am getting a message like this:
sambasivarao@linux-skyl:~/Desktop> javac Test.java
/usr/lib/gcc/i586-suse-linux/4.3/../../../crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
Can anyone plz help me. Thanks in advance
This error message can be caused by trying to compile using the open-source version of Java. Download the Java runtime engine from here
and try again.
If the problem persists, give us the output of: