From: Michael W. <wes...@ja...> - 2023-10-19 01:03:47
|
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 <meg...@gm...>: > 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 <re...@gm...> 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 <meg...@gm...> 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 < >>> lor...@gm...> 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 >>> Exi...@li... >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> >> _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- Michael Westbay Writer/System Administrator http://www.japanesebaseball.com/ |