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

Re: Where to find setup for env variable?



Paul Chany wrote:
Liam O'Toole <liam.p.otoole@gmail.com> writes:

On 2010-04-14, Paul Chany <csanyipal@gmail.com> wrote:

I have setup somewhere the JAVA_HOME environment variable, but
don't know where?
---SNIP---

Maybe /etc/environment?

Here on my GNU/Linux Lenny system this file is empty.

--
Regards, Paul Chany
You can freely correct me in my English.
http://csanyi-pal.info

Given that you have (presumably) installed some or all 'openjdk' packages, you could get a list of the installed files, per package, and see if any of the names listed point to anything of "interest".

Files in /etc, /etc/... (where ... might be 'openjdk'?), files in /lib or /usr/lib that are not library files, etc. could either be the source, or point to other files to check.

This is a 'brute force' sort of technique, but it has helped me in a couple of cases where all else had failed.

Bob


Reply to: