Fixinstall

Fix install to address #159 
@grosu please review
And can you have java in your path, but not jar?