problem with tdb

17 views
Skip to first unread message

magesh vasudevan

unread,
Feb 5, 2010, 11:55:44 AM2/5/10
to semantic web google groups
hi andy ,

could you help me with this error for the following command , i m using cygwin.

$ bin/tdbverify
Exception in thread "main" java.lang.NoClassDefFoundError: tdb/tdbverify
Caused by: java.lang.ClassNotFoundException: tdb.tdbverify
        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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: tdb.tdbverify.  Program will exit.


is there any tdb release where i can get with win .bat files, and why do we have two bin folders in it ?


thanks in advance.

Andy Seaborne

unread,
Feb 5, 2010, 2:32:00 PM2/5/10
to semant...@googlegroups.com

On 05/02/2010 4:55 PM, magesh vasudevan wrote:
> hi andy ,
>
> could you help me with this error for the following command , i m using
> cygwin.
>
> $ bin/tdbverify

Mostly, TDBROOT is not set or is set wrongly, causing the calculation of
the classpath to be wrong.

tdb.tdbverify is the entry point - Java hasn't found the main method.

Andy

> Exception in thread "main" java.lang.NoClassDefFoundError: tdb/tdbverify
> Caused by: java.lang.ClassNotFoundException: tdb.tdbverify
> 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)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> Could not find the main class: tdb.tdbverify. Program will exit.
>
>
> is there any tdb release where i can get with win .bat files, and why do
> we have two bin folders in it ?

bin/ contains the scripts

bin2/ contains wrappers you can copy to any directory on the PATH. This
is to help if you don't want to put the TDB bin/ directory on the exec PATH.

Andy

>
>
> thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Semantic Web" group.
> To post to this group, send email to semant...@googlegroups.com.
> To unsubscribe from this group, send email to
> semantic_web...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/semantic_web?hl=en.
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________

Duane Nickull

unread,
Feb 5, 2010, 2:43:12 PM2/5/10
to semant...@googlegroups.com
More than likely the context for relative CP lookup is not right. Are
you building in Eclipse? By setting the properties then including
external jars it should run. I can help if you want.

Duane
********
22nd Century (my band) - http://22ndcenturyofficial.com/
Twitter - @duanechaos
Blog - http://technoracle.blogspot.com
********

magesh vasudevan

unread,
Feb 6, 2010, 11:04:07 AM2/6/10
to semant...@googlegroups.com
i guess its some problem with cygwin..
as i followed same procedure in ubuntu.. now it is working fine..
thanks.


On Sat, Feb 6, 2010 at 1:13 AM, Duane Nickull <duane....@gmail.com> wrote:
More than likely the context for relative CP lookup is not right.  Are you building in Eclipse?  By setting the properties then including external jars it should run.  I can help if you want.

Duane
********
22nd Century (my band) - http://22ndcenturyofficial.com/
Twitter - @duanechaos
Blog - http://technoracle.blogspot.com
********

magesh vasudevan

unread,
Feb 6, 2010, 11:06:47 AM2/6/10
to semant...@googlegroups.com
i use eclipse ... but now i need to configure tdb... so just checking with the release and i find the above exception only in cygwin .. must be some kind of error with dll used by cygwin(i guess). thanks for ur response

On Sat, Feb 6, 2010 at 1:13 AM, Duane Nickull <duane....@gmail.com> wrote:
To unsubscribe from this group, send email to semantic_web...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/semantic_web?hl=en.

Andy Seaborne

unread,
Feb 6, 2010, 3:26:23 PM2/6/10
to semant...@googlegroups.com
Probably a problem in the setting of TDBROOT.

It's a Unix style path (for cygwin).

Andy

> <mailto:semant...@googlegroups.com>.


> To unsubscribe from this group, send email to
> semantic_web...@googlegroups.com

> <mailto:semantic_web%2Bunsu...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/semantic_web?hl=en.
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email
> Security System.
> For more information please visit
> http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "Semantic Web" group.
> To post to this group, send email to
> semant...@googlegroups.com

> <mailto:semant...@googlegroups.com>.


> To unsubscribe from this group, send email to
> semantic_web...@googlegroups.com

> <mailto:semantic_web%2Bunsu...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/semantic_web?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Semantic Web" group.
> To post to this group, send email to semant...@googlegroups.com

> <mailto:semant...@googlegroups.com>.


> To unsubscribe from this group, send email to
> semantic_web...@googlegroups.com

> <mailto:semantic_web%2Bunsu...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/semantic_web?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Semantic Web" group.
> To post to this group, send email to semant...@googlegroups.com.
> To unsubscribe from this group, send email to
> semantic_web...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/semantic_web?hl=en.
>

magesh vasudevan

unread,
Feb 7, 2010, 3:00:02 AM2/7/10
to semant...@googlegroups.com
yeah you are right andy
Reply all
Reply to author
Forward
0 new messages