Prerequisites

In order for Stylus Studio to access files stored on the Berkeley DB XML database, it must be able to access the .jar and .dll files shown in Table 79. Note that specific files vary based on the Berkeley DB XML version you are using, as shown in the following table.

Berkeley DB XML V1.2.1
Berkeley DB XML V2.0.7 and 2.0.9
db.jar (version-specific)
db.jar (version-specific)
dbxml.jar (version-specific)
dbxml.jar (version-specific)
libdb42.dll
libdb43.dll
libdb_java42.dll
libdb_java43.dll
libdbxml12.dll
libdbxml20.dll
libdbxml_java12.dll
libdbxml_java20.dll
Pathan.dll
Pathan_7.1.dll
Xerces-c_2_4_0.dll
Xerces-c_2_4_0.dll
Table 79. Sleepycat Files Required for Stylus Studio Access

These files are supplied by Sleepycat software - either as part of a pre-built binary distribution of Berkeley DB XML, or built by you if you received a source code distribution from Sleepycat. These files are not provided as part of your Stylus Studio installation.

Once you have acquired these files, you must make them accessible to Stylus Studio. You do this by modifying your CLASSPATH and PATH environment variables as follows:

  • The Java CLASSPATH must specify the location of the .jar files
  • The PATH must specify the location of the .dll files

These environment variables must be established before you start Stylus Studio. You cannot set them within Stylus Studio.

Tip

 

Stylus Studio supports Version 1.2.1, Version 2.0.7, and Version 2.0.9, but not in the same session. To switch Berkeley DB XML versions, change the CLASSPATH and PATH environment variables as needed before starting Stylus Studio.

Saving Files to Berkeley DB XML

In order to save files to Berkeley DB XML, you must first edit the settings in a configuration file. See Configuring the BerkeleyDBXML.xml File.

 
Free Stylus Studio XML Training: