Java lobby v2. Untested version.