old02

Installation description for Windows

Installation Description

(Most basic but probably most important case: Operating System is Windows XP, and DeepaMehta is Monolith.)

Prerequisites: 4 big archive files. which are best being carried on an USB stick from some place where a fast internet connection is available:

  • Java JRE (15,4 MB)
  • xampp (29.8 MB, from which, actually, just MySQL is needed, but the installation is so pretty easy, the packet is smaller than the original Setup.exe, and later on you may want some of the other components, too).
  • Apache Ant (9,6 MB)
  • deepamehta itself (8.8 MB)

1. Java

Select the correct download page > Download J2SE JRE > Windows Offline Installation, Multi-language;

install Java by doubleclick, takes some time, result can be verified by Start > Control Panel > Software: the response should display something like: "Java 2 Runtime Envirinment, SE v1.4.2_13"

2. MySQL

Install MySQL by doubleclick on XAMPP (e. g. xampp-win32-1.5.2-installer.exe). Answer all prompt dialogs by the recommended default answer, except "Install Apache?" and "Install FTP?".

3. Ant

Rightclick on the zip file > Extract all...

In the folder window of the unzipped Ant folder, navigate to the sub-folder bin and mark the entire path name in the folder window's address bar (if the address bar is not displayed: View > Toolbars > Address bar); mark with single-click,

copy using CTRL + C

Now navigate to the Path Variable:

  • Start > Control Panel > [Performance and Maintenance > ] System >
  • Tab Advanced > Environment variables (bottom left) > mark Path > Edit>
  • click into the field Value which, unfortunately, cannot be dragged to become wider; go to the very end (if necessary, using CTRL + right arrow key);
  • type a Semicolon (";")

Right here, paste the Path previously copied, using

  • CTRL + V
  • OK > OK > OK

Now test Ant:

  • Start > All Programs > Accessories > Command Prompt >

type ant -version (don't forget the minus sign)

  • Response: Unable to locate tools.jar. Expected to find it in C:\Programme\Java\j2re1.4.2_13\lib\tools.jar (however, this must ignored!), and:

Apache Ant version 1.6.5 compiled on June 2 2005

Ok, the toughest part has been accomplished.

4. Deepamehta itself:

MySQL must still be running, if necessary, restart it by Start > All Programs > apachefriendes > xampp > CONTROL XAMPP SERVER PANEL > MySQL > Start

Wait for response Running; switch to folder cd deepamehta-2.0b7 (example):

  • Start > All Programs > Accessories > Command prompt >
  • cd "My Documents" (you only need to type cd My D and then press the Tab key located on the left next to Q)
  • cd deepamehta-2.0b7 (again, only type cd dee and press Tab)

Now, the main task follows:

ant install

On prompts like Continue?, always reply the default option y, reply to Enter MySQL root user password: with nothing but return. If everything went fine, you can use the same Command Prompt to start Deepamehta: type

ant dm

Hopefully, a login window will appear, where you must use root as Username, and nothing but return as Password;

Now the application shoud be starting.

5. Try out

Simple exercise for Verification: A Topic Map with two nodes and one line:

  • Click the drop-down arrow next to Type Builder and select root
  • Right-click somewhere on the empty backdrop canvas > Create Topicmap.

The name is typed in at the right-hand side pane and it is not shown in the graphic before pressing the Enter key

  • Double-click the new test map
  • Right-click > Create > Topic (Topic 1)
  • once more (Topic 2)
  • Press Alt and, while keeping the mouse button pressed, move from Topic 1 to Topic 2