GitHub user matthiasblaesing added a comment to the discussion: Compile failure

There are multiple problems:

1. Problem: JDK on "cloud drive":

```
java.nio.file.FileSystemNotFoundException: 
C:\Users\mthob\OneDrive\Documents\NetBeansJDKs\openjdk-21.0.2_windows-x64_bin\jdk-21.0.2\modules
        at jdk.internal.jrtfs.SystemImage.open(SystemImage.java:78)
        at jdk.internal.jrtfs.JrtFileSystem.<init>(JrtFileSystem.java:90)
        at 
jdk.internal.jrtfs.JrtFileSystemProvider.newFileSystem(JrtFileSystemProvider.java:109)
```

It makes no sense to push JDK installations through cloud drives, so don't do 
it. In this case the installation also seems to be damaged. Delete it and 
reinstall the JDK.

2. Problem: Persmissions:

```
java.nio.file.AccessDeniedException: 
C:\Users\mthob\AppData\Local\NetBeans\Cache\22\index\s786\java\15\gensrc\com\dyslexia\app\dyslexiaonlineapp\DyslexiaOnlineApp.java
        at 
java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
        at 
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at 
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at 
java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273)
```

There AccessDeniedExceptions in your own home folder make not much sense, and I 
can only speculate how that happend. To fix this, exit "NetBeans" and delete 
the folder "C:\Users\mthob\AppData\Local\NetBeans\Cache". The case will be 
rebuild as needed.

GitHub link: 
https://github.com/apache/netbeans/discussions/9301#discussioncomment-16331960

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to