Hi Charles,
I think you should post this on dev list.

Regards,
Willa.
On 03/03/2012 11:04 PM, Charles C. Chou wrote:
Hi,
I am trying to do a build of the openmrs source tree that I checked out from svn.openmrs.org. I am following the instructions in the wiki and first tried to do build maven-install but kept getting the following error:

[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools --- [INFO] Compiling 1 source file to H:\eclipse\workspace\openmrs.trunk\tools\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  C:\Program Files\Java\jre6\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

I know the error indicates that it is looking at the wrong place but I have changed the PATH environment variable as well as added the JAVA_HOME variable to the JDK 1.6.0_31 directory but still no good. I tried logging out and back in, reboot, all no good so it is getting this wrong path from somewhere.

I have installed various Eclipse plugins and drivers without problems and they require the Java VM from the JDK so it knows where that is. Can someone help me get pass this? Thanks!

Regards,
Charles Chou

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]


--
Mhawila A.

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to