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.
I had installed netbeans5.0beta in /opt/netbeans5.0beta. Then I installed a 5.5beta version in /opt/netbeans5.5beta. After trying successfuly running it I uninstall 5.0 bet and got this error ERROR - Ant is misconfigured and cannot be run. java.io.IOException: No such Ant library dir: /opt/netbeans-5.0beta/ide6/ant/lib at org.apache.tools.ant.module.bridge.AntBridge.createMainClassPath(AntBridge.java:344) at org.apache.tools.ant.module.bridge.AntBridge.createStuff(AntBridge.java:251) at org.apache.tools.ant.module.bridge.AntBridge.getStuff(AntBridge.java:241) at org.apache.tools.ant.module.bridge.AntBridge.getInterface(AntBridge.java:230) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:287) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125) The solution is to correct the path manually under Tools Option Ant, but I think , that this should be done during setup (or while importing configuration) PS: sorry for double post, i missclicked.
*** This issue has been marked as a duplicate of 65142 ***