sto preparando il pc per questo lavoro,e nelle istruzioni c'è scritto che occorre settare alcune variabili d'ambiente:
Codice: Seleziona tutto
Setting up environment variables
You need to set:
Variable Value Example
NXJ_HOME The folder you installed leJOS NXJ into /opt/lejos
JAVA_HOME The folder where you installed the JDK /usr/java/
PATH Add the bin folders for the JDK and leJOS $PATH:$JAVA_HOME/bin:$NXJ_HOME/bin
Setting JAVA_HOME is not always necessary, but is good practice. The bin directory for the JDK may already be on your PATH.
With most Linux distributions, you can set these environment variables for the current user in .bash_profile or for all users in /etc/profile. If you use Eclipse and the Eclipse plugin, you will also need to add $NXJ_HOME/bin to LD_LIBRARY_PATH so that the Eclipse plugin can access the leJOS NXJ JNI libraries. This should normally be done in /etc/profile, but this may differ for different Linux distributions.thanks!
