Closed yblaize closed 2 years ago
[1:38:15 PM] Error: User did not grant permission.
It requires admin permission to install a JDK. Did it prompt to ask you for password?
Yes it does ask for a password that's different from my Apple ID and I don't have it, I think the password is from the first user of the iMac, so what can I do because I can't access the password?!
On Wed, 15 Sep 2021, 3:38 pm Yan Zhang, @.***> wrote:
[1:38:15 PM] Error: User did not grant permission.
It requires admin permission to install a JDK. Did it prompt to ask you for password?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-java-installer/issues/236#issuecomment-920079706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVP2JMWCBBQPJGQ3T5UWQ63UCCVWDANCNFSM5ECLLRNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
It should be the password of your user account.
VS Code Java tool require JDK 11 to launch itself. You can install a JDK 11+ by yourself, e.g. from https://adoptopenjdk.net/ . After installing a valid JDK, just re-run this coding pack. Let me know if that works.
Tried that too but still facing the same error and challenge, asking for Macintosh HD password which I don't have.
On Wed, 15 Sep 2021, 5:22 pm Yan Zhang, @.***> wrote:
It should be the password of your user account.
VS Code Java tool require JDK 11 to launch itself. You can install a JDK 11+ by yourself, e.g. from https://adoptopenjdk.net/ . After installing a valid JDK, just re-run this coding pack. Let me know if that works.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-java-installer/issues/236#issuecomment-920167846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVP2JMUKCGVFV4GFPRUG5TDUCDB2ZANCNFSM5ECLLRNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Then you might have to manually install below components:
I just tried this too, firstly it accepted VS-Code, when I gave a command (cmd+shift+P) to install Shell Command: to install code PATH VS-Code, it came up with the same thing and even when I tried installing JDK 11 too, I think I need another system I can work with.
On Thu, Sep 16, 2021 at 5:04 AM Yan Zhang @.***> wrote:
Then you might have to manually install below components:
- VS Code: https://code.visualstudio.com/Download
- JDK (version >= 11): https://adoptopenjdk.net
- Java Extension Pack: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-java-installer/issues/236#issuecomment-920558155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVP2JMTCFEO7JK6OV5RTY6DUCFUFHANCNFSM5ECLLRNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
:warning:Please attach $TMPDIR/vscode-java-installer/log.txt for more details. version: 0.3.15 env:
log: