automatically finds java port
automatically finds java port