This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant build error

 
Neo Wills
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I tried building the 6.0.x tomcat source. From the installation looks like we had to execute "ant download" and then "ant".

Executing "ant download" completed fine. But executing "ant" after it fails with this error:

Any idea if some envt variable is messed up ? The JAVA_HOME path is pointing right at the jdk directory - /usr/lib/jvm/java-6-openjdk/.



Neo.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17625
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the Sun JDK instead. The open-source versions of Java were not complete implementations, and I'm not sure that even the latest versions of them are complete.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure JAVA_HOME is set to openjdk? I ask because the missing class appears to be from the gnu implementation of the JVM, which as Tim points out is not complete. So my guess is that it is not openjdk but rather the gnu version of the JVM that is running. Try adding the -v option to the ant command line, it will print out, among other things, the JDK it is using:

ant -v
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic