Installation: Unterschied zwischen den Versionen
Aus OpenDino
Admin (Diskussion | Beiträge) (→Start) |
Admin (Diskussion | Beiträge) (→Writing a Shell Script) |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
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>. | 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>. | ||
− | == | + | == Running OpenDino == |
− | Start OpenDino | + | Start OpenDino by either: |
− | * double clicking on the jar (this is simple, however, not activated on all | + | * double clicking on the jar (this is simple, however, not activated on all platforms 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>opendino.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 opendino.jar </pre> | <pre>$ java -jar opendino.jar </pre> | ||
− | <pre>$ java -classpath opendino.jar org.opendino.core. | + | <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 opendino.jar -help </pre> | <pre>$ java -jar opendino.jar -help </pre> | ||
Zeile 15: | Zeile 15: | ||
== Writing a Shell Script == | == Writing a Shell Script == | ||
− | The script assumes an | + | The script assumes an OpenDino archive file <tt>opendino.jar</tt>. |
For '''Windows''', create a file <tt>opendino.bat</tt> with the following content: | For '''Windows''', create a file <tt>opendino.bat</tt> with the following content: | ||
− | java -cp opendino.jar org/opendino/core/ | + | java -cp opendino.jar org/opendino/core/OpenDino %* |
+ | To use the batch file also from different directories, use the absolute path, e.g.: | ||
+ | |||
+ | java -cp C:\Programs\opendino.jar org/opendino/core/OpenDino %* | ||
+ | |||
+ | Now you can also double click project files (*.opl). When Windows ask for the program/app to open this file, choose the batch file written above. | ||
For '''Linux''', create a file <tt>opendino.sh</tt> with the following content: | For '''Linux''', create a file <tt>opendino.sh</tt> with the following content: | ||
#!/bin/sh | #!/bin/sh | ||
− | java -classpath opendino.jar org.opendino.core. | + | 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 opendino.sh | chmod u+x opendino.sh |
Aktuelle Version vom 5. April 2019, 21:56 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.
Running OpenDino
Start OpenDino by either:
- double clicking on the jar (this is simple, however, not activated on all platforms 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.
For Windows, create a file opendino.bat with the following content:
java -cp opendino.jar org/opendino/core/OpenDino %*
To use the batch file also from different directories, use the absolute path, e.g.:
java -cp C:\Programs\opendino.jar org/opendino/core/OpenDino %*
Now you can also double click project files (*.opl). When Windows ask for the program/app to open this file, choose the batch file written above.
For 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