Problem screen-scraper conection with oracle

Hi,

I'm trying to connect, a script whit oracle database. I added a classpath inside the file screen-scrapper and works fine.

But I like, execute screen-scraper via terminal, like this:

/usr/bin/java -jar screen-scraper.jar -s "City Booking" --params "DISPLAY_RECORD_MIN=1,10"

But I have that error:

An error occurred while processing the script: Comprova Fitxers CityBooking
The error message was: The application script threw an exception: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole BSF info: null at line: 0 column: columnNo
An error occurred while processing the script: Comprova Fitxers CityBooking. The error message was: The application script threw an exception: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole BSF info: null at line: 0 column: columnNo.
com.screenscraper.scraper.ScriptException: The application script threw an exception: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole BSF info: null at line: 0 column: columnNo
at com.screenscraper.scraper.ScriptContext.process(ScriptContext.java:518)
at com.screenscraper.scraper.ScriptInstances.processScripts(ScriptInstances.java:743)
at com.screenscraper.scraper.ScrapingSession.processPostScrapingScripts(ScrapingSession.java:2611)
at com.screenscraper.scraper.Scraper.scrape(Scraper.java:250)
at com.screenscraper.scraper.Scraper.run(Scraper.java:111)

Scraping session "City Booking" finished.

Anyone knows what's is the problem, I think maybe it's the classpath, but I don't know the way to configure correctly.

Thanks and sorry for my English.

adding external libraries

The easiest way to add third party libraries, such as the oracle jdbc driver, is to add the jar files into lib/ext in the screen-scraper install directory. This directory will be included in the classpath by default. The other option would be to use the -classpath option when invoking java to run screen-scraper.jar.