library for accessing memory directly from java