Skip to content

macOS Optional Dependencies

Fabien Rohrer edited this page Dec 4, 2018 · 23 revisions

Python 3.7

To use the Python API you will need to install the latest version of Python 3.7 from https://www.python.org

Java

To use the JAVA API you will need to install the Java SE Development Kit 1.8.92 for Mac OS X from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Create a Webots.app bundle

In order to launch Webots directly from Finder you could create a Webots.app directory with symbolic links to the Webots local repository content as following:

cd ~/develop
mkdir Webots.app
cd Webots.app/
ln -s ${WEBOTS_HOME}/Contents Contents
ln -s ${WEBOTS_HOME}/resources resources
ln -s ${WEBOTS_HOME}/lib lib
ln -s ${WEBOTS_HOME}/bin bin
ln -s ${WEBOTS_HOME}/change_logs change_logs
ln -s ${WEBOTS_HOME}/doc doc
ln -s ${WEBOTS_HOME}/include include
ln -s ${WEBOTS_HOME}/projects projects
ln -s ${WEBOTS_HOME}/util util

You can now launch Webots.app from the Finder by double-clicking on it.

Clone this wiki locally