On 16/06/12 11:08, Don S wrote:
HI,

          I modified the bin/tdb_init file by removing
-server.JVM_ARGS=${JVM_ARGS:--Xmx1200M}. When I run the program
I received the same error as
http://superuser.com/questions/286388/tdbloader-on-cygwin-java-lang-noclassdeffounderror
.
So I modified the tdb_init file as
SEP=':'
if [ "$OSTYPE" = "cygwin" ]
then
     SEP=';'
     fi

and run these commands in cygwin editor Rex@Rex~/jena-tdb-0.9.0-incubating/bin
./tdb_path
./tdb_init
source tdb_init
echo $TDB_CP

What does that print?

Again I received the same error. My previous java version was jdk1.6.0_12
and jre6. I re-installed to jdk1.7.0_05 and jre7.

This time I got the error with out mentioning the " caused by ...

??



Rex@Rex ~/jena-tdb-0.9.0-incubating/fuseki-0.2.3
$ tdbloader --loc ./TD ./pages/search.owl
Error: Could not find or load main class tdb.tdbloader

Try printing the classpath at the point java is executed. It looks like your changes are not affecting the calculated classpath.



Is it because of my java installation or TDB.
Kindly give a solution to solve this.

Regards

You can run the program with

java -Xmx1200M -cp 'lib\*;' tdb.tdbloader .......

(I think it's 'lib\*;' for windows)
where "lib" has all the jars.


        Andy

Reply via email to