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