Re: no JAVA_HOME in the path

2022-09-27 Thread Roland Müller
Hello, here is some clarification of the relationship between JAVA_HOME and the PATH. JAVA_HOME points to the base directory of a Java JRE or JDK (=development) directory. Under $JAVA_HOME one should find a bin directory which contains java, javac and other binaries. In the case you just n

Re: no JAVA_HOME in the path

2022-08-26 Thread Amn
Thanks! The problem is solved. On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote: On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote: When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing, 'echo $PATH' reports - /usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr

An aside on having . in PATH, Re: no JAVA_HOME in the path

2022-08-23 Thread David Wright
On Tue 23 Aug 2022 at 16:33:40 (+0200), rudu wrote: > On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote: > > > On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote: > > > >     When I type echo $JAVA_HOME, Debian 11's Konsole > > > > displays ... nothing, > > > >     'echo $PATH' reports - > > > > /

Re: no JAVA_HOME in the path

2022-08-23 Thread Markus Schönhaber
23.08.22, 15:49 +0200, Amn: Thank you for your prompt response. Adding Java to the $PATH variable requires me to know the location where Java was installed, which I don't know. Is there a way to find out where Java was installed? As Tomas wrote, the more interesting question than *how* to set

Re: no JAVA_HOME in the path

2022-08-23 Thread rudu
On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote: On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote:     When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing,     'echo $PATH' reports - /usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool:     /usr/b

Re: no JAVA_HOME in the path

2022-08-23 Thread tomas
On Tue, Aug 23, 2022 at 09:49:10AM -0400, Amn wrote: > Thank you for your prompt response. > Adding Java to the $PATH variable requires me to know the location where > Java was installed, which I don't know. Is there a way to find out where > Java was installed? Wait. I think you are confusing two

Re: no JAVA_HOME in the path

2022-08-23 Thread Amn
Thank you for your prompt response. Adding Java to the $PATH variable requires me to know the location where Java was installed, which I don't know. Is there a way to find out where Java was installed? On 2022-08-23 9:40 a.m., Roberto C. Sánchez wrote: On Tue, Aug 23, 2022 at 09:21:38AM -040

Re: no JAVA_HOME in the path

2022-08-23 Thread Roberto C . Sánchez
On Tue, Aug 23, 2022 at 09:21:38AM -0400, Amn wrote: >When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing, >'echo $PATH' reports - > > /usr/local/[1]bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool: >/usr/bin/libtool /usr/share/libtool /usr/share/man

no JAVA_HOME in the path

2022-08-23 Thread Amn
When I type echo $JAVA_HOME, Debian 11's Konsole displays ... nothing, 'echo $PATH' reports - /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:libtool: /usr/bin/libtool /usr/share/libtool /usr/share/man/man1/libtool.1.gz - However if I type, 'java --version' I get - /usr/local