Difference between revisions of "Java"
From RobotinoWiki
Indorewala (talk | contribs) m (→Examples) |
(→Windows) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | ==Introduction== |
+ | {|cellspacing="20" cellpadding="10" | ||
+ | |- style="vertical-align:top" | ||
+ | |[[Image:Robotino_java_icon_64.png]] | ||
+ | |Java is supported by wrapping Robotino's [[Cpp|C++]] API using [http://www.swig.org Swig] | ||
+ | ! style="text-align:left; width:20em; background-color:#dddddd"| | ||
+ | === Package links === | ||
+ | [[downloads#API2|API2 binary packages]] | ||
+ | |} | ||
− | = | + | =Getting started= |
− | + | Download the Robotino API2 binary package that fits the bitness of your JAVA environment. For Linux we only support 64 bit Linux with 64 bit JAVA environment. Install the package. | |
− | + | ==Windows== | |
+ | * Copy the Java example directory to your home directory. The JAVA examples can be found at c:/program files/REC GmbH/robotino/api2/examples/java. Note that "program files" can differ for 32bit or 64bit windows. | ||
+ | * Start Eclipse and follow the [[Building the examples with Eclipse|instructions how to run the examples using Eclipse]] | ||
− | == | + | ==Linux== |
− | + | *Instal the packages shown [[Ubuntu_12_04_modifications#Java|here]]. Also set the JAVA_HOME environment variable. You might want to set it in .profile and .bashrc. | |
− | + | * Copy /usr/local/robotino/api2/wrapper/examples/java to your home directory. | |
− | + | * Change directory to the Camera example and execute | |
− | + | <pre> | |
+ | ant run | ||
+ | </pre> | ||
− | |||
− | |||
− | = | + | = The Openrobotino Forum = |
− | + | The [http://forum.openrobotino.org/ Openrobotino Forum] connects the developers with the users. Here you will find more support and you can also post your questions/problems/bugs etc and get a quick response. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:48, 17 June 2014
Contents
Introduction
Java is supported by wrapping Robotino's C++ API using Swig |
Package links |
---|
Getting started
Download the Robotino API2 binary package that fits the bitness of your JAVA environment. For Linux we only support 64 bit Linux with 64 bit JAVA environment. Install the package.
Windows
- Copy the Java example directory to your home directory. The JAVA examples can be found at c:/program files/REC GmbH/robotino/api2/examples/java. Note that "program files" can differ for 32bit or 64bit windows.
- Start Eclipse and follow the instructions how to run the examples using Eclipse
Linux
- Instal the packages shown here. Also set the JAVA_HOME environment variable. You might want to set it in .profile and .bashrc.
- Copy /usr/local/robotino/api2/wrapper/examples/java to your home directory.
- Change directory to the Camera example and execute
ant run
The Openrobotino Forum
The Openrobotino Forum connects the developers with the users. Here you will find more support and you can also post your questions/problems/bugs etc and get a quick response.