As Andy said, you need not run it using cygwin. I use this command to load data into tdb-
java -Xmx1200M -classpath "../lib/arq-2.8.7-tests.jar;../lib/arq-2.8.7.jar;../lib/icu4j-3.4.4.jar;../lib/iri-0.8.jar;../lib/jena-2.6.4-tests.jar;../lib/jena-2.6.4.jar;../lib/junit-4.5.jar;../lib/log4j-1.2.14.jar;../lib/lucene-core-2.3.1.jar;../lib/slf4j-api-1.5.8.jar;../lib/slf4j-log4j12-1.5.8.jar;../lib/stax-api-1.0.1.jar;../lib/tdb-0.8.9-tests.jar;../lib/tdb-0.8.9.jar;../lib/wstx-asl-3.2.9.jar;../lib/xercesImpl-2.7.1.jar" tdb.tdbloader --desc=file:///C:/db/ttl/entity_type.ttl file:///C:/db/sample/entity_type_en.nt Notice that file:/// before the path and also the required JARs in the classpath. Hope that helps. Regards, Anuj On Tue, May 24, 2011 at 2:30 AM, Andy Seaborne < [email protected]> wrote: > > > On 23/05/11 20:27, Srecko Joksimovic wrote: > >> Hello everyone! >> >> >> >> I am trying to call tdbloader on Windows OS. I have also installed Cygwin, >> because there is no other way to use tdbloader on Windows, as I know. >> > > On windows, you can invoke it directly > > java -cp ...\lib\* tdb.tdbloader > > > I thought that I have configured everything right, but when I try: >> >> >> >> ./bin/tdbloader -loc=C:/temp/tdb C:/temp/file.rdf >> >> >> >> I am getting this message: >> >> >> >> C:/tdb-0.8.10/TDB-0.8.10/bin/tdb_init: line 33: basename: command not >> found >> > > You don't have "basename" installed or not on PATH - it's in cygwin package > coreutils I think (was sh-utils). > > > >> ./bin/tdbloader: line 4: exec: java: not found >> > > PATH does not include java maybe? > > > Does anyone have an idea what could be a problem? >> > > PATH problem? > > >> >> >> Best, >> >> Srecko >> >> >>
