|
From: SourceForge.net <no...@so...> - 2005-01-27 12:51:22
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2962463 By: neonpill I have now also tried the solution suggested by vbguy. I'm getting a different error now (extracted the contents of gcc-core-3.3.1-20030804-1.tar.gz and gcc-java-3.3.1-20030804-1.tar.gz over an installation of MinGW32 3.2.0 RC3, and now I get this error: /mingw/lib/libmingw32.a(main.o)(.text+0x106): undefined reference to `WinMain@16' This is my program, in "HelloWorld.java": // HelloWorld.java import java.util.*; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } } I am compiling by calling gcj -o HelloWorld HelloWorld.java. What am I doing wrong? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=286533 |