>>> Less brief background. >>> I’ve installed the java 9 ea releases. A while back for the jdk, today the >>> jre as well. >> >> Be careful with those... 9 is undergoing a lot of changes so results may >> vary between ea releases. I highly recommend sticking with JDK 8 releases >> for now, especially for production code. >> >> Moving forward and investigating modularity is the only reason I'd recommend >> looking at 9 right now. > > I was trying to figure out some way to have 8 the default and still have 9 > available for testing last night. Still working on it.
Just move it out of /Library/Java/JavaVirtualMachines, then the stub tools won't be able to find it. Once moved you can use JAVA_HOME to tell the stub tools to use it or call it directly. -DrD-