-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
native-image-agent #161
Comments
build.gradle buildscript { plugins { group 'com.example' repositories { ext { sourceCompatibility = '11' tasks.withType(JavaCompile) { application { javafx { dependencies {
} apply plugin: "com.gluonhq.gluonfx-gradle-plugin" test { jlink { jlinkZip { |
The error just means that the previous run crashed...you need to remove the .lock file manually. |
Hello,
I have such a problem, please help me
run this command gradlew nativeRunAgent
os: windows 10 x64
graalvm version:graalvm-ce-java11-22.1.0
jdk path:C:\graalvm-ce-java11-22.1.0\bin\java.exe
error log error.txt
Error occurred during initialization of VM
agent library failed to init: native-image-agent
native-image-agent: Error: Output directory 'src\main\resources\META-INF\native-image' is locked by process 19228, which means another agent instance is already writi
ng to this directory. Only one agent instance can safely write to a specific target directory at the same time. Unless file '.lock' is a leftover from an earlier proc
ess that terminated abruptly, it is unsafe to delete it. For running multiple processes with agents at the same time to create a single configuration, read Agent.md o
r https://www.graalvm.org/reference-manual/native-image/Agent/ on how to use the native-image-configure tool.
:nativeRunAgent (Thread[Execution worker for ':',5,main]) completed. Took 0.387 secs.
The text was updated successfully, but these errors were encountered: