ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Gianni <>
Subject Problems installing Ant under Linux Red Hat: can't find org.apache.ant.launch.Launcher class
Date Wed, 18 Jan 2006 17:04:23 GMT
 Hi all,
  I'm trying to instal Ant 1.6.5 under Red Hat, I have set all the env variable required but
I can't still  run ant.
  Actually I can run
  ant -version
  but when I try with
  ant -diagnostics or just ant
  I have to the following message from the shell
   ant -diagnostics
  Exception in thread "main" java.lang.NoClassDefFoundError:
     at (/usr/lib64/
     at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/
     at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib64/
     at __gcj_personality_v0 (/net/hc291/gianni/java.version=1.4.2)
     at __libc_start_main (/lib64/tls/
     at _Jv_RegisterClasses (/net/hc291/gianni/java.version=1.4.2)
  I tried putting the jars in the lib directory into the CLASSPATH but it doesn't work as
  Anybody has any suggestions?
  Thanks !
  PS: I'm also a newby Linux user

Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message