I posted this on the forum with no response.  An earlier post suggested:
   Make sure you have JAVA_HOME defined, and set tio your jdk.
   If this does not work you might have to add explicit includes for
   $JAVA_HOME/incude and $JAVA_HOME/include/linux in the
   build of jlibnxt and jbluez, but on my system ant appears to do this
   automatically.

How do I set "explicit includes" the include path in ant?

The error after running ant in the build directory:

jlibnxt:
[cc] 1 total files to be compiled.
[cc] In file included from /usr/local/lejos_nxj/src/libnxt/main_jlibnxt.c:29: [cc] /usr/local/lejos_nxj/src/libnxt/jlibnxt.h:2:17: error: jni.h: No such file or directory
...

[EMAIL PROTECTED]:/usr/local/lejos_nxj# echo $JAVA_HOME
/usr/local/jdk1.6.0_01/

Thanks,
Justin

Lawrie Griffiths wrote:
Hi,
The new firmware release of leJOS NXJ is finally out - see the announcements, download page and API docs on the web site. Apologies for the long delay - it proved difficult to make the flash version work reliably on all NXTs. The release is a true firmware release - you flash new firmware with nxjflash. (All the commands now start "nxj" and you now set the environment variable NXJ_HOME). This release is a lot different to the last one, so read the README.html file. There is now a simple menu system, a file system that stores programs and data in flash memory, and a new set of PC tools, including nxjbrowse - a NXJ file explorer that works over USB and Bluetooth. Let us know if the release works for you, either on this list, or in the forums on the web site. There are still issues with Windows Vista, due to the use of libusb. Some people might have trouble with Bluetooth as the open source library, Bluecove, is used, and this only supports the Microsoft, not the Widcomm Bluetooth stack. This release should work well from Eclipse and other IDEs. All the samples have ant build files that have been tested free-standing, and from Eclipse. If you don't want to use the ant build files, you can set up two external tools in Eclipse: nxjc to compile your program, and nxj to link, upload and run it. This release is currently for Windows and Linux. We hope to have a MAC OS X release out soon. NXT to NXT Bluetooth comms did not make it into the release. We hope to have a new release out in a few weeks with improvement communications - including NXT to NXT comms, and a PC-based comms proxy for communication with the outside world. Lawrie ------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to