How to setup java

Solo disponible en BuenasTareas
  • Páginas : 2 (461 palabras )
  • Descarga(s) : 0
  • Publicado : 13 de mayo de 2011
Leer documento completo
Vista previa del texto
Open Source Java Jewels

Lab 0 – Environment Configuration

SDK Install and Configuration
  

Install Java 1.5 JDK (not only JRE) in C:\jdks\jdk1.5.X_XX Set JAVA_HOME variable toC:\jdks\jdk1.5.X_XX, i.e. JAVA_HOME=C:\jdks\jdk1.5.0_10 Append the Java bin folder to your system’s PATH variable,



Append from the beginning of the value to override any other JDK’s that might beinstalled in your environment. Open a command prompt window and type java – version, the output must match your JDK version

Ant 1.7 Install and Configuration
  

Unzip the Ant 1.7 package toC:\tools\apache-ant-1.7 Set ANT_HOME variable to C:\tools\apache-ant-1.7, Append the Ant bin folder to your system’s PATH variable,



The exact location where you insert the %ANT_HOME %/bin is notimportant if you have only one Ant install. Open a command prompt window and type ant – version, the output might resemble the following image

Maven 2.0.7 Install and Config
  

Unzip theMaven 2.0.7 package (maven-2.0.7-bin.zip) to C:\tools\maven-2.0.7 Set M2_HOME variable to C:\tools\maven-2.0.7 Append the Maven bin folder to your system’s PATH variable,



The exact location whereyou insert the %ANT_HOME %/bin is not important if you have only one Ant install. Open a command prompt window and type mvn – version, the output might resemble the following image

MySQL 5.0
Install MySQL 5.0 (mysql-essential-5.0*.msi) in default location. Install Query Browser and Administrator (mysql-guitools-5.0*.msi) in default location.



Maven Config for GE


Open theC:\tools\maven-2.0.7\conf\settings.xml file and add the following text between the tag

Maven Config for GE


Open the C:\tools\maven-2.0.7\conf\settings.xml file and add the following textright after the tag
C:\ge_m2\.m2\repository

Eclipse WTP
  

Unzip the wtp-all-in-one-sdk*.zip file to c:\ Install Spring IDE (http://springide.org) for Eclipse. Create the M2_REPO classpath...
tracking img