Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have NetBeans 7.01 from Debian repository - all works. But I have a problem with NetBeans 7.3 from the official site (installed on the same machine) - I can't compile anything:

ERROR - Ant is misconfigured and cannot be run. java.lang.ClassNotFoundException: at$ at$ at Method) at at$MainClassLoader.findClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at at at at at

Lubuntu x32, all updates. Nimbus plugin.

In Options -> Java -> Ant -> ant Home I can't choose a valid folder. I tried /usr/share/ant, but I get the above error with that even though I have ant.jar in that directory.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.