This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I am using JavaNativeCompiler from windows and also gcj form ubuntu
1) When i delete the references to com.mysql and the mysql lib from the project, i can compile without problems.
2) I tryed to include a class as sugested in some place: public class ForceInclude { private static final Class class1 = com.mysql.jdbc.Driver.class;
ForceInclude() { } }
3) Compiling with JavaNativeCompiler from windows generating code only for linux "undefined reference to `java::util::Iterator* java::sql::SQLException::iterator()"
4) Compiling the same file from ubuntu with gcj compiler containing lib libgcj-4.2.jar i get:
cannot find file for class java.sql.Connection
Hope that helps Marco
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |