This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Of course, no compiler allows you to compile object files; object files represent code that's already been compiled. If you're asking whether you can link native object files directly with Java, the answer is no; Java's bytecode is utterly different from native machine code.
If you're asking whether, one way or another, you can call C/C++ functions from Java, on the other hand, the answer is yes, you can -- you can use the Java Native Interface, or JNI.