[ale] ClassNotFoundException even though the class is there

Jim Philips briarpatch.jim at gmail.com
Sun Jul 12 11:38:17 EDT 2009


Problem solved. A reinstall did it.

On Sun, Jul 12, 2009 at 11:33 AM, Jim Philips <briarpatch.jim at gmail.com>wrote:

> I'll paste it all below. This worked flawlessly until Java was updated by
> apt-get on July 2.
>
> # Run GCALDaemon
> #
>
> GCALDIR=`dirname "$0"`/..
>
> java -Xmx256m -cp
> $GCALDIR/lib/commons-codec.jar:$GCALDIR/lib/commons-lang.jar:$GCALDIR/lib/commons-logging.jar:$GCALDIR/lib/gcal-daemon.jar:$GCALDIR/lib/gdata-calendar.jar:$GCALDIR/lib/gdata-client.jar:$GCALDIR/lib/ical4j.jar:$GCALDIR/lib/logger.jar:$GCALDIR/lib/commons-collections.jar:$GCALDIR/lib/commons-io.jar:$GCALDIR/lib/shared-asn1.jar:$GCALDIR/lib/shared-ldap.jar:$GCALDIR/lib/rome.jar:$GCALDIR/lib/commons-httpclient.jar:$GCALDIR/lib/jdom.jar:$GCALDIR/lib/mail.jar:$GCALDIR/lib/activation.jar
> org.gcaldaemon.standalone.Main $GCALDIR/conf/gcal-daemon.cfg
>
> But it's looking like other applications are having Java trouble too.
> OpenOffice complains there is no usable Java installation as well. I think
> there was an interruption of some kind in the update that never got
> resolved. I'm reinstalling now.
>
>
> On Sun, Jul 12, 2009 at 11:11 AM, JK <jknapka at kneuro.net> wrote:
>
>> Jim Philips wrote:
>> > I've been using GCalDaemon to sync the calendar in Kontact with my
>> > Google Calendar. I noticed that it hadn't really synced lately. So, I
>> > checked the file where it stores synced data. It hasn't updated since
>> > July 2. Next I tried to start GCalDaemon from the command line:
>> >
>> > rebus at rebus-desktop:/usr/local/sbin/GCALDaemon/bin$
>> ./standalone-start.sh
>> > Error occurred during initialization of VM
>> > java/lang/ClassNotFoundException: error in opening JAR file
>> > /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/rt.jar
>> >
>> > So I do:
>> >
>> > cd /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/
>> >
>> > Sure enough, rt.jar is there, but it was updated on July 2. What would
>> > cause Java to say the class is not found?
>>
>>
>> That is a rather odd ClassNotFoundException.  It should mention the
>> class it was trying to load.  What is in standalone-start.sh?
>>
>> -- JK
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090712/1d343478/attachment.html 


More information about the Ale mailing list