multiple java instance for single java program