Wednesday, July 09, 2014


If you face this problem, probably you are using Ant tasks that include the javac task for compiling Java source. This simply means that Ant could not find a Java compiler.

BUILD FAILED
D:\research\ant\firstbuild\build.xml:9: 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\jre7"

Total time: 0 seconds

For Eclipse user you can add items to Ant’s class-path from the Ant > Runtime preference page. If you launch Eclipse by using a full JDK instead of a JRE, tools.jar should appear on the Ant class-path automatically.


Thursday, July 03, 2014

Today, I just tried to install a sample CodeIgniter project in  LAMPP (Ubuntu) machine. I received a following error message in browser, when I try to browse the application.

Message shows some how I am not able to connect to database. I checked the configuration at /opt/lampp/htdocs/doasoil/core/application/config/database.php (path will be different in your case) and everything seems OK to me.

Categories

.
Powered by Blogger.

Popular Posts

Like Us