Notifications
Clear all

Can't install library files from the Arduino library manager

9 Posts
3 Users
2 Likes
1,844 Views
Inst-Tech
(@inst-tech)
Member
Joined: 2 years ago
Posts: 554
Topic starter  

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


   
Quote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 

Do any of the suggestions in this topic help?

https://forum.arduino.cc/t/library-manager-cant-install-update-libraries/465361/3


   
Inst-Tech reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6990
 
Posted by: @inst-tech

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.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6990
 

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

Screen Shot 2022 02 05 at 15.03.25
Screen Shot 2022 02 05 at 15.04.08

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.


   
ReplyQuote
Inst-Tech
(@inst-tech)
Member
Joined: 2 years ago
Posts: 554
Topic starter  

@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.

image

Details of the system are in the screen shot posted above, just right click, and choose open in new tab..

regards,

LouisR

LouisR


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6990
 

@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.


   
ReplyQuote
(@yurkshirelad)
Member
Joined: 3 years ago
Posts: 493
 

"PCMatic super shield security" - maybe that's part of your problem? Did you recently install it?


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6990
 

@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.


   
ReplyQuote
Inst-Tech
(@inst-tech)
Member
Joined: 2 years ago
Posts: 554
Topic starter  

@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


   
Ron reacted
ReplyQuote