Closed KevinLu closed 9 months ago
@KevinLu Thanks for your feedback! It seems to do with the read access. Could you try to delete the kcef-bundle
and try again?
@KevinLu Thanks for your feedback! It seems to do with the read access. Could you try to delete the
kcef-bundle
and try again?
I've tried deleting that folder and re-running my app. The same thing happens, when the folder is first created and the bundle is downloaded, it works fine. But when I relaunch my app with the existing bundle, it just crashes.
@DatL4g Could you have a look at this issue?
This may be caused by multiple factors and a JVM crash is hard to debug.
Since it's working after the download, make sure to add the jvmArgs
correctly, follow the guide. Your current implementation may come too late.
Then it's either insufficient access rights for the folder (make sure the user has read, write and execute permissions) or something like an antivirus is locking these permissions away: https://youtrack.jetbrains.com/issue/IDEA-256519/EXCEPTIONACCESSVIOLATION-random-crash-on-Windows
build.gradle.kts:
I'm saving the
kcef-bundle
like this, as specified in the README inMain.kt
:Reprod steps:
./gradlew run
kcef-bundle
is downloaded into correct folder./gradlew run