Installation: Unterschied zwischen den Versionen

Aus OpenDino
Wechseln zu: Navigation, Suche
(Writing a Shell Script)
Zeile 1: Zeile 1:
 
== Download ==
 
== Download ==
The compiled software can be downloaded from [[Download]] page. As the software is written in Java, the compiled code runs on most platforms. The software consists of a single jar file <tt>openopal.jar</tt>.
+
The compiled software can be downloaded from [[Download]] page. As the software is written in Java, the compiled code runs on most platforms. The software consists of a single jar file <tt>opendino.jar</tt>.
  
 
== Start ==
 
== Start ==
  
Start OpenOpal with either:
+
Start OpenDINO with either:
  
 
* double clicking on the jar (this is simple, however, not activated on all plattforms and console output may not be seen).
 
* double clicking on the jar (this is simple, however, not activated on all plattforms and console output may not be seen).
* open a Linux shell or Windows Command Line and enter one of the following two command in the same directory as file <tt>openopal.jar</tt> was downloaded (Windows often requires the latter command).
+
* open a Linux shell or Windows Command Line and enter one of the following two command in the same directory as file <tt>opendino.jar</tt> was downloaded (Windows often requires the latter command).
<pre>$ java -jar openopal.jar  </pre>
+
<pre>$ java -jar opendino.jar  </pre>
<pre>$ java -classpath openopal.jar org.openopal.core.OpenOpal</pre>
+
<pre>$ java -classpath opendino.jar org.opendino.core.OpenDINO</pre>
 
* to see additional command line options enter
 
* to see additional command line options enter
<pre>$ java -jar openopal.jar -help </pre>
+
<pre>$ java -jar opendino.jar -help </pre>
  
 
== Writing a Shell Script ==
 
== Writing a Shell Script ==
  
The script assumes an OpenOpal archive file <tt>openopal.jar</tt>. This filename can be replaced to match the actual name or by a filename with absolute path.
+
The script assumes an OpenDINO archive file <tt>opendino.jar</tt>. This filename can be replaced to match the actual name or by a filename with absolute path.
  
In Windows, create a file <tt>openopal.bat</tt> with the following content:
+
In Windows, create a file <tt>opendino.bat</tt> with the following content:
  
   java -cp openopal.jar org/openopal/core/OpenOpal %*  
+
   java -cp opendino.jar org/opendino/core/OpenDINO %*  
  
  
In Linux, create a file <tt>openopal.sh</tt> with the following content:
+
In Linux, create a file <tt>opendino.sh</tt> with the following content:
  
 
   #!/bin/sh
 
   #!/bin/sh
   java -classpath openopal.jar org.openopal.core.OpenOpal $*
+
   java -classpath opendino.jar org.opendino.core.OpenDINO $*
  
 
To make the file executable enter in the shell:
 
To make the file executable enter in the shell:
  
   chmod u+x openopal.sh
+
   chmod u+x opendino.sh

Version vom 12. September 2013, 21:19 Uhr

Download

The compiled software can be downloaded from Download page. As the software is written in Java, the compiled code runs on most platforms. The software consists of a single jar file opendino.jar.

Start

Start OpenDINO with either:

  • double clicking on the jar (this is simple, however, not activated on all plattforms and console output may not be seen).
  • open a Linux shell or Windows Command Line and enter one of the following two command in the same directory as file opendino.jar was downloaded (Windows often requires the latter command).
$ java -jar opendino.jar  
$ java -classpath opendino.jar org.opendino.core.OpenDINO
  • to see additional command line options enter
$ java -jar opendino.jar -help 

Writing a Shell Script

The script assumes an OpenDINO archive file opendino.jar. This filename can be replaced to match the actual name or by a filename with absolute path.

In Windows, create a file opendino.bat with the following content:

 java -cp opendino.jar org/opendino/core/OpenDINO %* 


In Linux, create a file opendino.sh with the following content:

 #!/bin/sh
 java -classpath opendino.jar org.opendino.core.OpenDINO $*

To make the file executable enter in the shell:

 chmod u+x opendino.sh