I have a java program consisting of jar for a "real program" and a subfolder containing 20 jar library files (there are also dependencies between them). I tried, but to no avail ... I miss the many options that gcj compiles :(. Does anyone know how to compile native code to java program? Thanks
Update : I used the plugin for Eclipse (I use version Eclipse version 3.6 and the plugin works well) http://gcjbuilder.sourceforge.net/ to create a Makefile for compilation. But now I have a different problem :( Some libraries are not compiled (an exit for an error). The error is that GCJ considers all .class files inside a .jar file that have no dependencies with other libraries. But for the purposes of my program, these classes aren’t used (that is, the Java program is working correctly.) So, is there a way to get gcj to only consider classes actually used in my java program?
source
share