Help in configuring datavision in windows

2007-02-12
2013-06-03
  • clifftracker
    clifftracker
    2007-02-12

    Hi...

    I successfully installed and configured datavision in drive C:\dv
    and executed datavision.bat where the content of the file is

    set CLASSPATH=%CLASSPATH%;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar

    java -classpath %CLASSPATH% jimm.datavision.DataVision %1 %2 %3 %4 %5 %6 %7 %8 %9

    *** I was able to open the startup and the connection info but after exiting the command prompt and tried to run datavision.bat again, it contains error:

    jruby/jar;c:\dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5
    /0/4/jar

    C:\dv>datavision.bat

    C:\dv>set CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\dv
    \lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.
    jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVis
    ion.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\li
    b\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar

    C:\dv>java -classpath .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\ dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iTex
    t.jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataV
    ision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\ lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar jimm.datavision.DataVision

    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_0
    6\lib\ext\QTJava/zip;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\ jruby/jar;c:\dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5
    /0/4/jar;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:
    \dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar

    C:\dv>edit datavision.bat

    C:\dv>datavision.bat

    C:\dv>set CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\dv
    \lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.
    jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVis
    ion.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\li
    b\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\d
    v\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;c:
    \dv\lib\mysql-connector-java-5.0.4.jar

    C:\dv>java -classpath .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\ dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iTex
    t.jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataV
    ision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\ lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:
    \dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;
    c:\dv\lib\mysql-connector-java-5.0.4.jar jimm.datavision.DataVision
    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_0
    6\lib\ext\QTJava/zip;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\ jruby/jar;c:\dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5
    /0/4/jar;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:
    \dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar;c:\ dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:\dv\lib\iTex
    t/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar

    C:\dv>datavision.bat

    C:\dv>set CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.
    jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\li
    b\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;c:
    \dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysq
    l-connector-java-5.0.4.jar

    C:\dv>java -classpath .;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iTex
    t.jar;c:\dv\lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\ lib\bsf.jar;c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;
    c:\dv\lib\mysql-connector-java-5.0.4.jar;c:\dv\lib\DataVision.jar;c:\dv\lib\jcalendar.jar;c:\dv\lib\jruby.jar;c:\dv\lib\iText.jar;c:\dv\lib\bsf.jar;c:\dv\lib\my
    sql-connector-java-5.0.4.jar jimm.datavision.DataVision
    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_06\lib\ext\QTJava/zip;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\ jruby/jar;c:\dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:
    \dv\lib\iText/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:\dv\lib\iTex
    t/jar;c:\dv\lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar;c:\dv\lib\DataVision/jar;c:\dv\lib\jcalendar/jar;c:\dv\lib\jruby/jar;c:\dv\lib\iText/jar;c:\dv\ lib\bsf/jar;c:\dv\lib\mysql-connector-java-5/0/4/jar

    C:\dv>

    Hope for any suggestions and solution to this. Thanks

     
    • Jim Menard
      Jim Menard
      2007-02-12

      Since your classpath contains a space, try putting double quotes around "%CLASSPATH%" everywhere it appears in the script. I'm not a Windows person, so if that doesn't work I suggest you ask on the DataVision mailing list.