Hi Bill, not sure where to post this, so I thought I might try this.
I'm having a problem installing libraries from the libraries manager.. This is a resent problem as I have loaded several libraries successfully in the resent past. I get the following error message in the IDE box ,
"
C:\Program Files (x86)\Arduino\libraries\libraries
java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Program Files (x86)\Arduino\libraries\libraries
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:250)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.AccessDeniedException: C:\Program Files (x86)\Arduino\libraries\libraries
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504)"
Do you have any idea what is causing this?
Regards,
LouisR
LouisR
Do any of the suggestions in this topic help?
https://forum.arduino.cc/t/library-manager-cant-install-update-libraries/465361/3
Hi Bill, not sure where to post this, so I thought I might try this.
I'm having a problem installing libraries from the libraries manager.. This is a resent problem as I have loaded several libraries successfully in the resent past. I get the following error message in the IDE box ,
"
C:\Program Files (x86)\Arduino\libraries\libraries
java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Program Files (x86)\Arduino\libraries\libraries
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:250)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.AccessDeniedException: C:\Program Files (x86)\Arduino\libraries\libraries
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSystemProvider.java:504)"
Do you have any idea what is causing this?
Regards,
LouisR
As @yurkshirelad said, check that link, and this looks productive
solved in configure java > network settings > changed from “Use browser settings” to “direct connection”
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
Here are the two (the 3rd is builtin) Library directories on a Mac, Windows is similar with only the names that are different for system stuff being different. In either case you do not manipulate either of these folder contents directly, only the IDE menu interface is used. I documented that earlier. The first taken at 15:03:25 is of the system maintained Arduino Library, the second taken at 15:04:08 is of the user maintained Arduino Library. This library is maintained via the IDE Manage Library menu item and the Include Library menu item for github zip
files.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@yurkshirelad No, not really..I tried looking at the folder security and all the permissions were set as it always has..but thanks anyway for responding.. My system is an old windows 7 with PCMatic super shield security.
Details of the system are in the screen shot posted above, just right click, and choose open in new tab..
regards,
LouisR
LouisR
@inst-tech Sorry, none of that matters with regards to installing a library. It's all done from the IDE. See my long winded description posted earlier. You do not need permission, do not need to use the file manager, it's either all done in the IDE or github download a zip then arduino IDE. You are over thinking it
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
"PCMatic super shield security" - maybe that's part of your problem? Did you recently install it?
@yurkshirelad Has nothing to do with it, him and one other are trying to manually install instead of using the IDE. I am unsubscribing and if I can find it blocking these types of people.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@ronalex4203 Thank you for your help.. I found the problem, and it's fixed..everything working as it should..
Thanks to all that contributed.. problem resolved!! yea...lol
kind regards,
LouisR
LouisR