added support for new syslinux config with kernel switch, updated source code for Java 7