set GENOME_SW_LEGACY_JAVA in /etc/genome.conf