WINDOWS :
- Right-click the My Computer icon on your desktop and select Properties.
- Click the Advanced tab.
- Click the Environment Variables button.
- Under System Variables, click New.
- Enter the variable name as
JAVA_HOME
. - Enter the variable value as the installation path for the Java Development Kit.(Example : C:\Program Files\Java\jdk1.7.0_17)
- Click Ok
Window -->Preferences --> Java --> Installed JREs
Click Search . Point to C:\Program Files\Java\jdk1.7.0_17
Click Ok
3. Custom Run to Build Jar File for Maven Project
Run --> External Tool Configuations..
Add New Program
Put variables like following :
---- Location : E:\TRI\DOWNLOADS\apache-maven-3.0.5\bin\mvn.bat
----Working Directory : ${workspace_loc:/robotium-solo}
----Argument : clean install
Không có nhận xét nào:
Đăng nhận xét