Skip to main content

Thread: maven doesn't see JAVA_HOME variable ubuntu 11.10


hi,

when execute command
code:
mvn --version
i warning

code:
java_home environment variable not set.
i have exported java_home variable

code:
mht@mht-thinkpad-t400:~$ echo $java_home  /work/apps/jdk1.6.0_30
path looks this:

code:
echo $path  /work/apps/jdk1.6.0_30/bin:/work/apps/apache-maven-2.2.1/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
have 1 knows why maven ignores java_home?

regards



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] maven doesn't see JAVA_HOME variable ubuntu 11.10


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account