This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Windows 8.1 version 6.3 running on amd64 Java; VM; Vendor = 1.8.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02 cd D:\Documents\Bitbucket\sf3-jxakn\sf3-jxakn; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_25" cmd /c "\"\"C:\\Program Files\\NetBeans 8.0.2\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=C:\\Users\\<Myname>\\AppData\\Roaming\\NetBeans\\8.0.2\\maven-nblib\\netbeans-eventspy.jar install\"" Scanning for projects... ------------------------------------------------------------------------ Building sf3-jxakn 1.0-SNAPSHOT ------------------------------------------------------------------------ --- maven-antrun-plugin:1.3:run (ant-magic) @ sf3-jxakn --- Executing tasks compile: [javac] Compiling 194 source files to D:\Documents\Bitbucket\sf3-jxakn\sf3-jxakn\bin ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 3.453s Finished at: Tue May 19 18:29:24 CEST 2015 Final Memory: 6M/77M ------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (ant-magic) on project sf3-jxakn: An Ant BuildException has occured: The following error occurred while executing this line: D:\Documents\Bitbucket\sf3-jxakn\sf3-jxakn\build-jars.xml:396: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jdk1.8.0_25\jre" -> [Help 1]
Created attachment 153753 [details] IDE log
Where else than can the JAVA_HOME property be set in Windows Netbeans with Maven module ? Netbeans etc/netbeans.conf defines a netbeans jdk home, but the maven module ignores it, that's odd /:
from the output ... > Perhaps JAVA_HOME does not point to the JDK. > It is currently set to "C:\Program Files\Java\jdk1.8.0_25\jre"