• Java Error

    By Benjamin Plummer 1 decade ago

    I get the following error when trying to run the .bat file. Any ideas how to fix?





    C:\GooCalSync>set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C

    :\Program Files\LSinfo\;C:\Program Files\Sybase\Shared\Win32;C:\Program Files\Sy

    base\SQL Anywhere 7\Win32;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C

    :\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Windows Ima

    ging\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ActivIdentity\Secure

    Login\;c:\program files\java\jre1.5.0_17\bin;c:\lotus\notes



    C:\GooCalSync>set classpath=.;c:\program files\java\jre1.5.0_17\lib;c:\goocalsyn

    c\gdata-core-1.0.jar;c:\goocalsync\gdata-client-1.0.jar;c:\goocalsync\gdata-cale

    ndar-2.0.jar;C:\Lotus\Notes\jvm\lib\ext\Notes.jar;C:\goocalsync\goocalsync.jar



    C:\GooCalSync>cd c:\goocalsync



    C:\GooCalSync>java goocalsync.GooCalSync

    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'

    has value '1.5.0_17', but '1.5' is required.

    Error: could not find java.dll

    Error: could not find Java 2 Runtime Environment.



    C:\GooCalSync>pause

    Press any key to continue . . .

    • This seems to be due to path enviromnent value.

      By Muneyuki Ohkawa 1 decade ago

      Hi,

      Thank you for trying GooCalSync.



      I gess this error is caused by any another java.exe program on your system.

      Please change "set path= …" statement in goocalsync.bat as following.



      set path=c:\program files\java\jre1.5.0_17\bin;c:\lotus\notes;%path%



      Best regards.