Recently want to integrate a tool, Eplise contains a PC automation available set of environment, let other testers, download it can be used, do not need to install other things, JDK installation does not need, this is a little puzzled, eplise integration of SVN and testng, are very good to do, Integrated JDK, a little puzzled, now is the way to solve the problem
1. Download the installation-free JDK version, is currently jdk1.8 64-bit, Ecplise is also 64-bit, version to be consistent, or to error, location in the same directory
2. There is also a need to solve a problem, the installation of the JDK does not need to configure environment variables, wrote a script
@echo Offecho * * The following settings JAVA environment variable **setx java_home "%~dp0%jdk1.864" echo current drive letter and path:%java_home% setx path "%path%;%%java_home%%\ bin; @pause
%~dp0 is to get the project path, mainly to get the path of the JDK, and then go to path to add this path
There is a pit here, run this bat file, you need to run with administrator privileges, otherwise it may be easy to error
Eclipse Integrated JDK