muhammadnaveed / syncnotes2google

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

Can't run th tool du to classpath issue #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I need your help to make syncnotes2google running.
I am facing this error when I launch it :

C:\INSTALL\syncnotes2google-0.0.5>syncnotes2google.bat
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre6\lib\e
xt\QTJava/zip;/\syncnotes2google/jar;C:\notes\jvm\lib\ext\notes/jar;/\lib\doming
o-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-media-1/0/jar;/\lib\google-collect-1/0-rc1/jar
Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip;
.\syncnotes2google.jar;C:\notes\jvm\lib\ext\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
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip;.\syncnotes2go
ogle.jar;C:\notes\jvm\lib\ext\notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gdata-cale
ndar-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;.\l
ib\google-collect-1.0-rc1.jar.  Program will exit.

Here is my .bat file configuration :

@echo off
rem The path to the notes installation
set notes-path=C:\notes
rem The relative path to the Notes.jar from the notes installation. ex. 
Notes.jar or jvm/lib/ext/Notes.jar
set notes-jar=jvm\lib\ext\notes.jar

set cPath=%CLASSPATH%;.\syncnotes2google.jar
set cPath=%cPath%;"%notes-path%\%notes-jar%"
set cPath=%cPath%;.\lib\domingo-1.5.1.jar
set cPath=%cPath%;.\lib\gdata-calendar-2.0.jar
set cPath=%cPath%;.\lib\gdata-calendar-meta-2.0.jar
set cPath=%cPath%;.\lib\gdata-client-1.0.jar
set cPath=%cPath%;.\lib\gdata-client-meta-1.0.jar
set cPath=%cPath%;.\lib\gdata-core-1.0.jar
set cPath=%cPath%;.\lib\gdata-media-1.0.jar
set cPath=%cPath%;.\lib\google-collect-1.0-rc1.jar

set path=%path%;%notes-path%
cd %~dp0
java -classpath %cPath% com.googlecode.syncnotes2google.SyncNotes2Google

Please advise

Original issue reported on code.google.com by abdelkar...@gmail.com on 6 Oct 2011 at 6:29