Jdk+mysql+tomcat configuration method