Compiling .java file to shared library

Mike Purdy purdymi@binghamtonschools.org
Tue Sep 26 12:57:00 GMT 2006


So, now I've successfully applied the dawrin x86 patches to a 4.0.2 tarball and have successfully built it.

Now, I would like to take a .java file and compile it into a native shared library so that I could link and use it in a c++ application.  gcj -c -g -O MyLibrary.java successfully creates an .o file.  What is the next step to making a shared library?

Michael



More information about the Java mailing list