Re: Java 1.8.0 won't upgrade to the newest Java version.
Michael Westbay <[email protected]> Thu, 19 Oct 2023 10:03:13 +0900
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAJ6MVuMnLsEsGTd7qhfJrV8PXo+ASU3hePfFhBcP-rCN_eTtOA@mail.gmail.com> |
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