Re: Java 1.8.0 won't upgrade to the newest Java version.

Michael Westbay <[email protected]> Thu, 19 Oct 2023 14:17:11 +0900
Newsgroups gmane.text.xml.exist
Message-ID <CAJ6MVuPOuqssrMntcRBVsg12+mxYYKY0qUR2xh6gdz8N=qzrVQ@mail.gmail.com>
Hi Ted,

It would be useful to know more about your environment. Please type the
following:

set | grep -i java


What I want to know are the following environmental variables:

JAVA_HOME
JAVA_OPTIONS
PATH


Looking at your error message again, I think that a different java
executable is running than the first one we're expecting.

Take care.





2023年10月19日(木) 12:11 Ted Hickox <[email protected]>:

> I typed your export PATH=$PATH:$JAVA_HOME/bincommand exactly as you
> printed it here in your e-mail and nothing happened.  Did I do something
> wrong?
>
> On Wed, Oct 18, 2023 at 8:03 PM Michael Westbay <
> [email protected]> wrote:
>
>> Please run:
>>
>> export PATH=$PATH:$JAVA_HOME/bin
>>
>> java --version
>>
>>
>> if that works, add the above export command to your .zshrc right after
>> setting the JAVA_HOME environmental variable.
>>
>> Hope this helps.
>>
>> 2023年10月19日(木) 1:38 Ted Hickox <[email protected]>:
>>
>>> I tried to install Java.  When I did I ran java --version.  I got an
>>> error message.
>>>
>>> Error could not create the Java Virtual Machine
>>> Error a fatal exception has occurred.  Program will exit.
>>>
>>> On Wed, Oct 18, 2023 at 11:12 AM Jean-Paul Rehr <[email protected]>
>>> wrote:
>>>
>>>> >when I tried to find java on my computer, it said bash: /dav/null: no
>>>> such file or directory.
>>>>
>>>> Because you have a typo? /*dev*/null not /*dav*/null
>>>>
>>>> On Wed, Oct 18, 2023 at 6:09 PM Ted Hickox <[email protected]> wrote:
>>>>
>>>>> when I tried to find java on my computer, it said bash: /dav/null: no
>>>>> such file or directory.  I'm trying to install java now.
>>>>>
>>>>> On Wed, Oct 18, 2023 at 7:48 AM Loren Cahlander <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> You might have multiple versions of java on your system.  Please run:
>>>>>>
>>>>>> *sudo find / -type f -name java -print 2> /dev/null*
>>>>>>
>>>>>> My call responded with the following, including others.
>>>>>>
>>>>>>
>>>>>> /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
>>>>>>
>>>>>> My .zshrc contains
>>>>>>
>>>>>> *export
>>>>>> JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home*
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>> Exist-open mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>>>
>>>> _______________________________________________
>>> Exist-open mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>>
>>
>> --
>> Michael Westbay
>> Writer/System Administrator
>> http://www.japanesebaseball.com/
>>
> _______________________________________________
> Exist-open mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>


-- 
Michael Westbay
Writer/System Administrator
http://www.japanesebaseball.com/

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open