Added slimmed Java-version.