Your application could attempt to access the internet when launched from the jar. No guarantees the user will be connected, but you could choose to close the application or retry the connection again...