Now that we start to have daemons like Tomcat-6* that require >=1.5 to run we should have an easy way to make our init scripts support vm switching. We could do it via dolauncher but I don't think we should be requiring a shell / per java daemon process so basically this should be gjl for init.d. See tomcat-5.5 init script on how the checking of current VM can be implemented. I think then we could have a /etc/conf.d/java file having something like ${ALLOW_VM_SWITCHING:=true}. This could then be overridden by the conf.d files for the individual daemons.