set java library path correctly