wandora and windows 2000

Forum is for miscellaneous user help requests.

wandora and windows 2000

Postby soltyr » Tue Nov 11, 2008 4:14 pm

Hello

I was just downloading wandora and for some reason it is not starting at all.
I have windows 2000 as os and i also downloaded the new java version.
My colleague has the same java version but he has windows xp on his pc and there wandora is working perfectly.

So maybe anyone has a suggestion how i can make wandora work on my windows 2000 pc.

Thank you in advance.

soltyr
soltyr
 
Posts: 1
Joined: Tue Nov 11, 2008 4:10 pm

Postby akivela » Wed Nov 12, 2008 4:42 pm

Hello Soltyr

Windows 2000 limits the size of command line string to 2047 characters [1]. Wandora's SetClasspath.bat script adds every JAR package separately to the WANDORACLASSES environment variable. When Wandora.bat script then uses this rather big environment variable WANDORACLASSES, the command line length is exceeded and command dies silently. To solve the problem, use asterisk (*) character to add multiple JARs at the same time to the WANDORACLASSES environment variable. Below is a code snippet that replaces current SetClasspath.bat script. Copying the code and placing it to empty text document replacing old bin/SetClasspath.bat should fix the problem.

Code: Select all
set WANDORACLASSES=classes
set WANDORACLASSES=%WANDORACLASSES%;resources
set WANDORACLASSES=%WANDORACLASSES%;lib/*
set WANDORACLASSES=%WANDORACLASSES%;lib/fmj/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jmbox/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jena/*
set WANDORACLASSES=%WANDORACLASSES%;lib/MRJToolkitStubs.zip
set WANDORACLASSES=%WANDORACLASSES%;lib/mstor/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jtidy/*
set WANDORACLASSES=%WANDORACLASSES%;lib/gdata/*
set WANDORACLASSES=%WANDORACLASSES%;lib/jetty/*
set WANDORACLASSES=%WANDORACLASSES%;lib/opencalais.zip


I assume this problem will be fixed in next Wandora release (December 2008). Till then you have to fix the bin/SetClasspath.bat manually.

Kind regards,
Aki Kivelä
Wandora Team


[1] http://support.microsoft.com/kb/830473
akivela
Site Admin
 
Posts: 260
Joined: Tue Sep 18, 2007 10:20 am
Location: Helsinki, Finland


Return to How to... and problems

Who is online

Users browsing this forum: No registered users and 9 guests