Environment Variable Question

By default, where does opensuse 11.0 x86_64 and or Java’s jdk/jre and or Tomcat6 store the JAVA_* environment variables ?

Which file or set of files are these variables exported from?

I would like to script out an Eclipse start/stop for Tomcat6 64 bit Java development and another for Tomcat5 32 bit Java development.

Thank you in advance for your time,

Bruce

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On my SLED 11 system it is set system-wide in /etc/profile.d/alljava.*
though that file could be named anything. Most apps that need system-wide
settings can drop a file in /etc/profile.d (usually with a reasonable
name) and then those are run whenever a shell or application is loaded
that knows to run /etc/profile.

Good luck.

brianebruce wrote:
> By default, where does opensuse 11.0 x86_64 and or Java’s jdk/jre and or
> Tomcat6 store the JAVA_* environment variables ?
>
> Which file or set of files are these variables exported from?
>
> I would like to script out an Eclipse start/stop for Tomcat6 64 bit
> Java development and another for Tomcat5 32 bit Java development.
>
> Thank you in advance for your time,
>
> Bruce
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKQizSAAoJEF+XTK08PnB5rYwP+wS0HILRs6s1kyn1/x8Yxspl
xmsxNMWQ+2+3WLDtZH4CH2+idi6kCXPXEuDJuajQCYH4irHolOeFmTqvFR2v1xvV
Pr8stX8tJqZY96URkRiMvXGYagTGhguUbTEk3akUKBUDVJ5scY0X9HBFkSCl3K7O
XIAdEywfRDV3E+SMc2KFoDuMH+Tn1mNIPQKC+fykMxt8FnmQle6gGLDKjrcvPJNC
U34PKmlCc4QP9PV3iTtg9CTCYgvlH63gujrcmCIxggrFr01TzaKUPoHTw3h161ma
/wqaGs3HqH7eMdieUDiNcCGgP5BDGW+lpQSVRwA/Xr4go2TLilXg1JJYiFcaKvC2
faqqlrYDx8xhpT+KykLr/2BeR2jdasWte4qJsM/IqOlSHG3rPNMzgHan3ZOUUk7y
k3q6ENHBE8dgTl1smSvitVGl/L2Cz76x2P6LNTzxtWfsMa3U2m6QeM9TB6CcO0hT
OCEsGMyap9bc2M/wpzr3ZiPgSRaXIbi3pvKU9qo25/QZ8KNQtCwy2oB/PONcQ9AM
I7Ah3FWBj1mk0dXX3Etj4T8pKaU+fK0DrYkeUBzFvIS0U/oB40OyXd5ju6Gc4iCa
5Sci+YXUvYYgtLvkYra4vT0V5eA4a68Tq7nit3962UfaL1Ku5N+/ZtyW3c5A0dJJ
V0HpfnD/edyvFeVpCtb/
=mAL+
-----END PGP SIGNATURE-----

Thank you for your response.

OpenSuSe 11.0 x86_64 uses the following:

/etc/java/java.conf - System-Wide Java Config File which initializes the JAVA and JNI Lib directories.

/etc/profile.d/alljava.sh - Exports the primary Java environment variables and appends to the PATH environment variable prior to its exportation.

It was your assistance which led me in the proper direction,

Thank you.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good information. Thank-you for posting back what you found.

Good luck.

brianebruce wrote:
> Thank you for your response.
>
> OpenSuSe 11.0 x86_64 uses the following:
>
> /etc/java/java.conf - System-Wide Java Config File which initializes
> the JAVA and JNI Lib directories.
>
> /etc/profile.d/alljava.sh - Exports the primary Java environment
> variables and appends to the PATH environment variable prior to its
> exportation.
>
> It was your assistance which led me in the proper direction,
>
> Thank you.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKQkqmAAoJEF+XTK08PnB5QCIP/itr6ACIR/D0G9fo/yYMBG7+
Gv48dqdmVaB73MoFgmejtMUEw6cKRjRqTUeOdeLkMw+aUw+JtpRamP713PidbYZx
lHdaAwQGxV0t6BUtLJC80R3VaVQSz3BpeOwfISG4HMSPods8jz6MBAj7tTifpOnF
HDrmsxe8QTQqC9F8j+TVsrW9kJ+TgQcE/rwhSekGzEVuA9Mf+txgNJBya8n+m9MS
hJpLRick3hf6foTuZlATEpdH5hZMRmABjK9wUMEOaE6oi27oggahy2Cddjg+fhwk
Mr5oUso2g8ONAPCI1xXsCh3EgHlmQdFACYLTX58iJBOCR1BsjpB+n0Mcmd8nj/EF
GzJsSxmLI5Hniog7mxZQG475kPbov59Qx3WDqRFaRmZ+ofVKbxRTQkrYrPOEUtVR
TefadZPsfIP1ZExmN9QsT4FND2AwNehsDYESXB0zeQb2tJYonWdr1geqzip/39/X
SPnsi6aZz0NzEdoFHaKbVG81XzX6hh5XKPNPEFV6zwU5nADmECXcwFDPsJ7q+fhk
Vt3D6+7obvdcRWkDriyt31A6X8Fp+uhJvPXQBpLusfv1wWAz8jZLfBtr9MQu7Qrz
eag3UV1fy9pGk3Axecs2ZrnyWBzbAxKO3LmMgga116udWHedy7dvR9BBpur9136m
Psaw1TafFR3igh2wkN7I
=Ec8b
-----END PGP SIGNATURE-----