Pure Java access to native libraries