error rebuilding eclipse

Andrew Overholt overholt at redhat.com
Fri Jun 6 12:43:21 UTC 2008


On Thu, 2008-06-05 at 13:28 -0700, charles f. zeitler wrote:
> /home/fedora_9/rpmbuild/BUILD/eclipse-3.3.2/plugins/org.eclipse.swt.tools/build.xml:88: 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 "/opt/jre1.6.0_06"

I've never tested a build with just the environment variable (JAVA_HOME)
set.  I'd look in the build.xml and see how it's trying to find a javac.

Andrew




More information about the users mailing list