RBench Installation Instructions
RDFSuite Overview Download
RBench
Documentation
- Download the latest version of RBench (v1.0)
- Unzip and untar the package
gtar -zxvf rbench1.0.tar.gz
This
will create the directory rbench1.0 which should contain
the following:
- classes/ (directory) - includes the java
packages rbench, rbench.rbenchgui
- jars/(directory) - contains the jar files used by the
RBench.
- src/ (directory) - contains all java source
files of RBench.
- doc/ (directory) - contains all javadoc
files of RBench.
- run_rbench.bat (file) - Executes RBench in
Windows Environment
- run_rbench (file) - Executes RBench in Unix
like Environment
- The jars directory of the RBench contains
the postgreSQL v7.3.3 JBDC driver i.e., the file postgresql.jar. This
package will be used only if you select to use RSSDB. In
case you have installed different postgreSQL version than 7.3.3 you
should replace the postgresql.jar file with the JBDC driver of
your own version and rename it to postgresql.jar.
Note that the JBDC driver can be found in the directory PostgeSQL_Install_Dir/share/java where PostgeSQL_Install_Dir the
directory where postgreSQL have been installed .
- To run RSSDB
- In Windows environment
- Set the variables JAVA_HOME and RBench_HOME found inside
the script run_rbench.bat
- Execute run_rbench.bat script e.g.,
double click on it
- In Unix like environment
- Set the variables JAVA_HOME and RBench_HOME found inside
the run_rssdb script
- Execute run_rbench script i.e., type source
./run_rbench
Note1: To run RBench you need Java v1.4
Note2: If you use RSSDB and your RDF files are large, you should use the -mx
parameter to increase the main memory Java can allocate. If the generated files are huge and the loading procedure
fails even if you use the '-mx' parameter, then choose to load your files in parts (RSSDB needs approximately 3
times bigger main-memory than the actual rdf file size). The GUI, as well the api specification of RBench provide
this opportunity, by enabling user to load only the data file and using the preloaded schema.
The example TestRBenchAPI.java shows
how you can use RBench APIs.
Last modified: December 25, 2005