Error   test

Custom dojo Build

Posted March 8, 2007 at 05:03pm in Programming

I just tried building a custom version of dojo and I am getting an error, can someone help me out.

ant -DprofileFile=testing clean release intern-setings

Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_08\lib\ext\QTJava/zip -DprofileFile testing clean release intern-setings

I have JAVA_HOME pointing to my JDK (not JRE) and I have the ANT_HOME set and ant is in my path. I know shit about java and I can’t find an answer, help would be greatly appreciated.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Google
  • del.icio.us
  • Digg
  • e-mail
  • Spurl
  • Facebook

2 Responses to “Custom dojo Build”

  1. Kevin Says:
    March 12th, 2007 at 12:08 pm

    I had this problem too and found the solution.

    Your classpath has “c:\program Files\Java…” in it and the space is screwing up Java. In my case I just deleted the classpath and everything was fine because the file was found in another way.

  2. Peter Manis Says:
    March 12th, 2007 at 1:52 pm

    Thanks Kevin I will give this a try. I know nothing about Java, but don’t you need the classpath?



Leave a Reply