On 12/10/2013 01:33 PM, Tero Mäntyvaara wrote: > 1) is it possible to compile java package into machine code shared library? > 2) if 1) is possible, is it possible to use that library within c++ project? Yes, it is, but GCJ is based on an old release of the Java specification, so it might not meet your needs. Andrew.