Difference between revisions of "Startup"

From BaseX Documentation
Jump to navigation Jump to search
Line 10: Line 10:
 
===BaseX===
 
===BaseX===
 
Download the latest BaseX version for your operating system [http://phobos38.inf.uni-konstanz.de/basex/products/download/ here].
 
Download the latest BaseX version for your operating system [http://phobos38.inf.uni-konstanz.de/basex/products/download/ here].
Get the BaseX.zip archive or the windows installer for all project components inclusive the [[Starting Script Files| starting script files]]. <br />We also recommend to add the starting script files to your path environment, so you can access them from every folder in the shell/terminal.
+
Get the BaseX.zip archive or the windows installer for all project components inclusive the [[Starting Script Files| starting script files]]. We also recommend to add the starting script files to your path environment, so you can access them from every folder in the shell/terminal.
  
 
== Starting the BaseX GUI==
 
== Starting the BaseX GUI==

Revision as of 13:49, 11 January 2011

Here you find all instructions you need for starting the three modes of BaseX.

Requirements

For running BaseX, all you need is an installed Java 1.6 and the BaseX application. As such it is platform-independant and should run on any platform that has a Java Virtual Machine available. BaseX has been tested on Windows (2000, XP, Vista, 7), Max OS X (10.x), Linux(SuSE xxx, Debian) and OpenBSD (4.x).

Java 1.6

You need to have Java 1.6 installed. If you haven't installed it yet, please visit java.com.

BaseX

Download the latest BaseX version for your operating system here. Get the BaseX.zip archive or the windows installer for all project components inclusive the starting script files. We also recommend to add the starting script files to your path environment, so you can access them from every folder in the shell/terminal.

Starting the BaseX GUI

There are several methods for starting the GUI:

  • Double click on BaseX.jar
  • Execute command: java -cp BaseX.jar org.basex.BaseXGUI
  • Starting the script basexgui

Note: The BaseX GUI is just working on local databases. Anyway you can set your database path to the BaseX Server path over the network. In this case we suggest you to avoid accessing databases with the GUI and the Server at the same time.

Starting the BaseX Server

There are several methods for starting the Server:

  • Execute command: java -cp BaseX.jar org.basex.BaseXServer
  • Starting the script basexserver

Starting the BaseX Client

There are several methods for starting the Client:

  • Execute command: java -cp BaseX.jar org.basex.BaseXClient
  • Starting the script basexclient

see also the advanced client/server information section.

Starting the BaseX Standalone

There are several methods for starting the Standalone mode:

  • Execute command: java -cp BaseX.jar org.basex.BaseX
  • Starting the script basex