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


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


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

Regards


On Fri, Jun 15, 2012 at 2:23 AM, Andy Seaborne <[email protected]> wrote:

> You asked this question on 
> http://answers.semanticweb.**com/<http://answers.semanticweb.com/>approx 3 
> hours before this email.
>
> Patience.
>
>        Andy
>
>
>
> On 15/06/12 08:57, Don S wrote:
>
>> Hi,
>>
>> I used Cygwin for uploading data to TDB Fuseki server. Initially when I
>> execute " ./tdbloader --loc D:/fuseki-0.2.3/TD D:\fuki-0.2.3\pages\search.
>> **owl".
>> I received an error message
>>
>> "Error: no server' JVM atC:Program FilesJavajre6binserverjvm.dll'**.". To
>> avoid this I follow these steps
>>
>>    1. Copy 'server' folder from the JDK's JRE's bin folder (example:
>>    C:Program FilesJavajdk1.6.0jrebinserver)
>>    2. Paste the 'server' folder to JRE's bin folder(example: C:Program
>>
>>    FilesJavajre1.6.0bin)
>>
>> After running I received a new error message
>>
>> "Could not create the Java virtual machine."
>>
>> Rex@Rex ~
>>
>> $ cd $TDBROOT
>>
>> Rex@Rex ~/jena-tdb-0.9.0-incubating
>>
>> $ cd bin
>>
>> $ ./tdbloader --loc D:/fuseki-0.2.3/TD D:fuki-0.2.3pagessearch.owl
>>
>> Error: no server' JVM atC:Program FilesJavajre6binserverjvm.dll'
>>
>> Any solution for this ? Even all my environment variables are ok .
>>
>>
>> Regards
>>
>>
>

Reply via email to