Add Java Auto Detect Function

Auto detect Java Run Environment on first start