muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

'java' is not recognized #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run bat file
2.
3.

What is the expected output? What do you see instead?
Syncing of calendar!
'java' is not recognized as an internal or external command,
operable program or batch file.

What version of the product are you using? On what operating system?
0.0.5. XP ProSP2

Please provide any additional information below.
This is what I am seeing:

D:\Program Files\SyncNotes2Google>rem @echo off

D:\Program Files\SyncNotes2Google>rem The path to the notes installation

D:\Program Files\SyncNotes2Google>set notes-path=D:\Notes

D:\Program Files\SyncNotes2Google>rem The relative path to the Notes.jar from th
e notes installation. ex. Notes.jar or jvm/lib/ext/Notes.jar

D:\Program Files\SyncNotes2Google>set notes-jar=notes.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar
;.\lib\gdata-client-meta-1.0.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar
;.\lib\gdata-client-meta-1.0.jar;.\lib\gdata-core-1.0.jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar
;.\lib\gdata-client-meta-1.0.jar;.\lib\gdata-core-1.0.jar;.\lib\gdata-media-1.0.
jar

D:\Program Files\SyncNotes2Google>set cPath=.;D:\ACP\PROGRA~1\QT\QTSystem\QTJava
.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gda
ta-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar
;.\lib\gdata-client-meta-1.0.jar;.\lib\gdata-core-1.0.jar;.\lib\gdata-media-1.0.
jar;.\lib\google-collect-1.0-rc1.jar

D:\Program Files\SyncNotes2Google>set path=D:\WINNT\system32;D:\WINNT;D:\WINNT\S
ystem32\Wbem;D:\Program Files\QuickTime\QTSystem\;D:\Program Files\Common Files\
Roxio Shared\DLLShared;D:\Program Files\Common Files\Roxio Shared\10.0\DLLShared
;D:\Program Files\ZANTAZ\EAS Client\;D:\Notes

D:\Program Files\SyncNotes2Google>java -classpath ".;D:\ACP\PROGRA~1\QT\QTSystem
\QTJava.zip;.\syncnotes2google.jar;D:\Notes\notes.jar;.\lib\domingo-1.5.1.jar;.\
lib\gdata-calendar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-
1.0.jar;.\lib\gdata-client-meta-1.0.jar;.\lib\gdata-core-1.0.jar;.\lib\gdata-med
ia-1.0.jar;.\lib\google-collect-1.0-rc1.jar" com.googlecode.syncnotes2google.Syn
cNotes2Google
'java' is not recognized as an internal or external command,
operable program or batch file.

D:\Program Files\SyncNotes2Google>pause
Press any key to continue . . .

Original issue reported on code.google.com by VanDownX...@gmail.com on 26 Oct 2010 at 3:13

GoogleCodeExporter commented 9 years ago
replace the java call with "C:\Program Files\Java\jre1.5.0_09\bin\javaw" or 
whatever your path is

Original comment by Romain.R...@gmail.com on 22 Jun 2012 at 6:20