JDK-11.0.4.1 +1 Installation Error on Mac #490
-
Hi I have a problem installing the jdk (jdk-11.0.14.1 + 1) l-intsaller tells me that it is installed correctly but when I go to the terminal and do javac it gives me an error. the operating system I use is MacOS Catalina 10.15.7 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 14 replies
-
Can you try running the full path Also can you tell us what:
|
Beta Was this translation helpful? Give feedback.
-
Ok, ls -la that new full path and see what it really points to 🙂
On Sun, 17 Apr 2022 at 16:36, Michael Bonfanti ***@***.***> wrote:
[image: Schermata 2022-04-17 alle 17 35 49]
<https://user-images.githubusercontent.com/53140578/163721630-da7224ea-9cb2-418f-8547-d28ff264d22a.png>
—
Reply to this email directly, view it on GitHub
<#490 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABME2GC2RETOYYONR6IB73VFQVXTANCNFSM5TOWTB2Q>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
Cheers, Martijn (Sent from Gmail Mobile)
|
Beta Was this translation helpful? Give feedback.
-
Ok see if running javac works for you now 🙂
On Fri, 22 Apr 2022 at 02:35, Michael Bonfanti ***@***.***> wrote:
[image: Schermata 2022-04-22 alle 11 34 32]
<https://user-images.githubusercontent.com/53140578/164679387-e8779a4b-3019-49b6-b392-928fec52b929.png>
—
Reply to this email directly, view it on GitHub
<#490 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABME2DQ6AUDJ5TIKW3B6UDVGJXGBANCNFSM5TOWTB2Q>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
Cheers, Martijn (Sent from Gmail Mobile)
|
Beta Was this translation helpful? Give feedback.
-
OK I see what's going on. Your JAVA_HOME is pointing to the JRE (which doesn't contain |
Beta Was this translation helpful? Give feedback.
Can you try running the full path
/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/javac --version
?Also can you tell us what:
echo $PATH
andecho $JAVA_HOME
are?