Java library path set programmatically for JNI

Fixed some bugs with Gurobi Jar Path dialog.