Posts Tagged ‘jre’

Maven Build Failure Unable to locate the Javac Compiler

Problema: [ERROR] BUILD FAILURE [INFO] ———————————————————————— [INFO] Compilation failure 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. Solução: [...]

Eclipse is running in a JRE, but a JDK is required

Problema: Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders. Solução: Adicionar no arquivo eclipse.ini as seguintes linhas : -vm C:/Program Files/Java/jdk1.6.0_24/bin/javaw.exe