error execute datavision.bat

Help
david
2007-04-15
2013-06-03
  • david

    david - 2007-04-15

    Hi i'm novice user,
    I had installed data vision in my w xp profesional.

    i excute datavision.bat from cmd and I have this error:

    C:\util\crystal report y javabeans\datavision-1.0.0>java -classpath .;C:\Archivo
    s de programa\Java\jdk1.5.0_10\lib\tools.jar;C:\Documents and Settings\David.DEL
    L\Escritorio\java\curso inem\servlet\jswdk-1.0.1\lib\servlet.jar;C:\Archivos de
    programa\Java\jre1.5.0_10\lib\ext\QTJava.zip;lib\DataVision.jar;lib\jcalendar.ja
    r;lib\jruby.jar;lib\iText.jar;lib\bsf.jar;lib\DataVision.jar;lib\jcalendar.jar;l
    ib\jruby.jar;lib\iText.jar;lib\bsf.jar;lib\DataVision.jar;lib\jcalendar.jar;lib\ jruby.jar;lib\iText.jar;lib\bsf.jar jimm.datavision.DataVision
    Exception in thread "main" java.lang.NoClassDefFoundError: de

    what's hapen?
    How Can I start to make reports?
    thanks
    david
    spain

     
    • Jim Menard

      Jim Menard - 2007-04-15

      You didn't put double quotes around your classpath when you assigned it to CLASSPATH. "Archivos de programa" looks like three different words to the DOS shell, unless you use quotes. I'm not a Windows person, but your batch file should look something like this:

      set CLASSPATH="C:\Archivos de programa\Java\Jdk1.5.0_10\lib\tools.jar;C:\Documents and Settings..."

      java -classpath "%CLASSPATH%" ...

       
      • Frank W. Zammetti

        FYI, I checked in a (theoretically) permanent fix for this a while back, so with the next release we (hopefully) won't have any more of these types of issues come up.

         
    • Tufick Majul

      Tufick Majul - 2008-04-15

      Hi

      I have another error, I'm using datavision 1.2.0-orc1 orc with WinXP, I hope anyone helps me.

      datavision.bat
      Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
      umber in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12

      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks