Is it possible to link a C++ library to a Java program statically, in a way that will make them into a single file ,just like linking 2 C++ libraries?  

(I read that java programs can also be compiled to EXE).