BaseX is a light-weight, high-performance and scalable XML Database engine and XPath/XQuery 3.0 Processor, including full support for the W3C Update and Full Text extensions. An user-friendly GUI provides interactive access to your XML documents and queries.

System requirements
  • Minimum JRE: 1.6.0

BaseX on an eComStation machine with Open JDK

Installing BaseX
Download the file (6,9Mb). Open the zip file and copy the subdirectory/map "basex" to your program drive. You need also the manual, download the file BaseX79.pdf (4,2Mb) and copy it to the subdirectory/map "basex" on your program drive. That's all! Next version needs Java 7.

The basex.cmd file
With this file the program BaseX starts. It is advisable to read the manual about installing and running. The program can startup in different modes. I have made a basex.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: basex]
cd [drive: basex]\basex
set LIB=C:\basex\lib
java -Duser.home=[drive: basex]\basex -cp BaseX.jar org.basex.BaseXGUI %1 2>basex-bugs.txt
I use 2 separate folders (directories), one for Java and one for BaseX with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: basex] = drive with BaseX

should be replaced with real drive letters. Edit and save the file "basex.cmd" from the distribution. This file is copied to the "basex" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: basex]\basex\basex.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "BaseX". You find enclosed in the file a suitable OS/2 icon.

Parameters / options explained
  • The specification "-Duser.home=[drive: basex]\basex" ensures that BaseX will save all necessary files in own directory instead of saving them in the home directory.
  • The addition "2>basex-bugs.txt" ensures that errors are saved in the file "basex-bugs.txt". The 2 in "2>" is not a typo!

In the file you can find the above command file (all driveletters are set to C:) and an OS/2 BaseX icon:

revision November 29, 2016