<p>I was looking into this just recently. There are libraries and also it seems there are other firmwares offering alternative operating systems you can embed on the Mindstorm.</p>

<p>For C++ you could try:</p>

<ul>
<li><a href="http://lejos-osek.sourceforge.net/" rel="noreferrer">nxtOSEK</a> is an alternative OS offering a C++ api</li>
<li><a href="http://brickos.sourceforge.net/" rel="noreferrer">BrickOS</a> is an alternative OS with a C/C++ development environment</li>
<li><a href="http://nxtpp.clustur.com/" rel="noreferrer">NXT++</a> is a C++ lib for controlling the original Mindstorm with a C++ API (through BlueTooth or USB)</li>
</ul>

<p>For java solutions might be:</p>

<ul>
<li><a href="http://lejos.sourceforge.net/" rel="noreferrer">leJOS</a> an alternative OS with a JVM</li>
<li>The <a href="http://jorgecardoso.eu/processing/NXTComm/" rel="noreferrer">NXTComm Processing Library</a></li>
</ul>

CC BY-SA 3.0
2011-10-26T12:23:02.580Z
2011-10-26T12:58:42.363Z
2011-10-26T12:58:42.363Z
Coyote
<p>Is there a library which makes it possible to write LEGO Mindstorms programs for RCX 2.0 in Java or C++? With the LEGO software it takes so much time to write good programs.</p>

<mindstorms><programming><automation>
Can I write programs for the LEGO RCX 2.0 in Java/C++?
Sibbo
# Can I write programs for the LEGO RCX 2.0 in Java/C++?

(Asked by: username_0 on 2011-10-26)

Is there a library which makes it possible to write LEGO Mindstorms programs for RCX 2.0 in Java or C++? With the LEGO software it takes so much time to write good programs.

**Tags:** mindstorms, programming, automation


---

## 1 answers

### Answer by username_1 on 2011-10-26. Score: 11 | Accepted answer

I was looking into this just recently. There are libraries and also it seems there are other firmwares offering alternative operating systems you can embed on the Mindstorm.

For C++ you could try:

* [nxtOSEK](http://lejos-osek.sourceforge.net/) is an alternative OS offering a C++ api
* [BrickOS](http://brickos.sourceforge.net/) is an alternative OS with a C/C++ development environment
* [NXT++](http://nxtpp.clustur.com/) is a C++ lib for controlling the original Mindstorm with a C++ API (through BlueTooth or USB)

For java solutions might be:

* [leJOS](http://lejos.sourceforge.net/) an alternative OS with a JVM
* The [NXTComm Processing Library](http://jorgecardoso.eu/processing/NXTComm/)


---

