Re: handling env variables like JAVA_HOME, M2_HOME...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 17, 2010 at 04:21:11PM +0300, Marius Andreiana wrote:
> How can Fedora work out of the box with apps requiring env variables like
> JAVA_HOME, M2_HOME ?
> 
> Today, even though fedora provides java & maven, one still has to manually
> set these vars. Should Fedora java/maven packages set these (e.g. by files
> in /etc/profile.d/), while still allowing users to overwrite them in
> ~/.bash_profile?

I guess so, but seems better to avoid needing the variables in the
first place.  It seems that JAVA_HOME is not required, provided you
are using the default Fedora package.  (At least, that is my
impression from a small test I just did.)

Rich.

PS. yikes, Java is so verbose ...

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux