View Single Post
  #16 (permalink)  
Old February 20th, 2009
PhexAveiro PhexAveiro is offline
Novicius
 
Join Date: February 20th, 2009
Posts: 2
PhexAveiro is flying high
Question

Hi there,

I just downloaded it with svn. Now, I want to integrate it into Eclipse 3.4. However, there are some problems of compiling.
e.g. import org.apache.commons.httpclient.X cannot be resolved etc.

I followed also(http://www.phex.org/wiki/index.php/B...rom_Subversion):
1) With TortoiseSVN installed, from the context menu in windows -> Checkout, I entered as an URL: https://phex.svn.sourceforge.net/svn...ex/phex/trunk/
2) Copied mvn.exe to the phex folder and executed: maven package.
3) got the error:

Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.6.0_07\..\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.

at org.apache.maven.plugin.AbstractCompilerMojo.execu te(AbstractCompiler
Mojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(Compi lerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPlugi
nManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(Defa
ultLifecycleExecutor.java:559)
... 16 more


JAVA_HOME is set to the above C:\Program Files ... path.

Any help ?

Regards,

Last edited by PhexAveiro; February 21st, 2009 at 04:35 AM.
Reply With Quote