Pagina 1 di 1

settare alcune variabili di ambiente

Inviato: giovedì 13 gennaio 2011, 20:53
da lorenzohellas
salve a tutti,sto lavorando ad un progetto chiamato LEJOS dove praticamente si installa nel firmware di un lego mindstorm una VM Java e si può riprogrammare attraverso questo linguaggio un robot lego!
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.
ma non capisco come devo fare,una mano?
thanks!

Re: settare alcune variabili di ambiente

Inviato: venerdì 14 gennaio 2011, 0:54
da guybrush.d
Ciao,
questa discussione dovrebbe aiutarti:

http://www.hwupgrade.it/forum/archive/index.php/t-1214159.html

inoltre cerca nel wiki "variabili d'ambiente".