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.
While trying to compile 3.1 beta 24 from sources I encountered the following errors. It seems some parts are missing either from the source or the external binaries (something called gj ?). [javac] Compiling 80 source files to /export/home/luc/rpm/BUILD/linux-gnu/netbeans-src/java/src [javac] /export/home/luc/rpm/BUILD/linux-gnu/netbeans-src/java/src/org/netbeans/modules/java/settings/JavaSettings.java:38: cannot resolve symbol [javac] symbol : class JavaCompilerType [javac] location: package gj [javac] import org.netbeans.modules.java.gj.JavaCompilerType; [javac] ^ [javac] /export/home/luc/rpm/BUILD/linux-gnu/netbeans-src/java/src/org/netbeans/modules/java/settings/JavaSettings.java:99: cannot resolve symbol [javac] symbol : class JavaCompilerType [javac] location: class org.netbeans.modules.java.settings.JavaSettings [javac] CompilerType jcompilerType = new JavaCompilerType(); [javac] ^ [javac] /export/home/luc/rpm/BUILD/linux-gnu/netbeans-src/java/src/org/netbeans/modules/java/settings/JavaSettings.java:235: cannot resolve symbol [javac] symbol : class JavaCompilerType [javac] location: class org.netbeans.modules.java.settings.JavaSettings [javac] FastJavacCompilerType.class : JavaCompilerType.class); [javac] ^ [javac] /export/home/luc/rpm/BUILD/linux-gnu/netbeans-src/java/src/org/netbeans/modules/java/JExternalCompiler.java:94: cannot resolve symbol [javac] symbol : class JavaCompiler [javac] location: package gj [javac] return fo == null || org.netbeans.modules.java.gj.JavaCompiler.isUpToDate(fo); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 4 errors
The gj.* package is actually the implementation of the closed-source Internal Compiler (close source because of licencing/legal issues and used as a library throughout the NetBeans). You need to download this binary as well as some others (XML support etc); please see http://nbbuild.netbeans.org/ant-quick.html for complete build process HOWTO - there's link to the downloads.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.