google: ubuntu add environment variable
first link is the answer:
https://help.ubuntu.com/community/EnvironmentVariables

under: 'Persistent environment variables'

have fun



tibi wrote:
> this is not realy an appfuse question.
> this is about linux and howto add ad environment vars permenently to
> your enviroenment.
>
> but as i myself need it sometime i will google for it...
>
> tibi
>
> A.S wrote:
>   
>> Hi all,
>> Im new in appfuse user community,  so  i need Your help:
>> I was add maven to variable:
>> [ra...@localhost ~]$   export PATH=/usr/local/apache-maven-2.2.1/bin:$PATH
>>
>> I was set JAVA_HOME :
>>
>> [r...@localhost ~]#  export JAVA_HOME=/usr/java/jdk1.6.0_13
>>
>> [r...@localhost ~]# echo $JAVA_HOME
>> /usr/java/jdk1.6.0_13
>>
>> now, I restart gnome-terminal and  try get JSF basic .... and
>> I see this message, with error :
>>
>> [...@localhost ~]$ mvn archetype:create
>> -DarchetypeGroupId=org.appfuse.archetypes
>> -DarchetypeArtifactId=appfuse-basic-jsf
>> -DremoteRepositories=http://static.appfuse.org/releases
>> -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app
>> -DartifactId=myproject
>> bash: mvn: command not found
>>
>> When i didn't restart terminal window i can get JSF basic:
>>
>> How add this variale ( mvn and JAVA_HOME) ?
>>
>>
>> TIA
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>>   
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to