Quantcast

Ben McCann

Co-founder at Connectifier.
ex-Googler. CMU alum.

Ben McCann on LinkedIn Ben McCann on AngelList Ben McCann on Twitter

Eclipse

Maven on Eclipse Tutorial

04/12/2009

Install Java and Maven First off, make sure you have a Java JDK installed and that your JAVA_HOME environment variable points to it. You can check by typing “echo %JAVA_HOME%” in Windows or “echo $JAVA_HOME” in Linux. You’ll next want to download and install Maven by following the directions on their website.  Once Maven is Read More

Running Ant within Eclipse

01/30/2008

I tried to run an Ant target within Eclipse today and got a fun error: BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type This happened because Ant could not find tools.jar, which contains classes to used to run javac and javadoc. The solution: Open up Window->Preferences->Java->Installed JREs Set your default JRE to a JDK/SDK Open up the one you Read More