Bamboo agent cannot start due to error java.lang.RuntimeException: Unable to delete: C:\bamboo-agent-home\classpath\winp.x64.dll

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


Bamboo agent does not start and throws an Unable to delete: C:\bamboo-agent-home\classpath\winp.x64.dll error.


Bamboo agent running on Windows OS.


The following error can be seen in the logs:

FATAL [WrapperSimpleAppMain] [AgentBootstrap] Exiting due to fatal exception.
	at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.removeSpuriousFiles(
	at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.sync(
	at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.getClassLoader(
	at com.atlassian.bamboo.agent.bootstrap.AgentContext.newClassLoader(
	at com.atlassian.bamboo.agent.bootstrap.AgentBootstrap.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at Source)
Caused by: java.nio.file.AccessDeniedException: C:\bamboo-agent-home\classpath\winp.x64.dll
	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
	at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
	at java.nio.file.Files.delete(Unknown Source)
	at com.atlassian.bamboo.agent.bootstrap.ClasspathBuilder.removeSpuriousFiles(
	... 12 more
JVM exited while starting the application.


Java platform SE binary process is using the file C:\bamboo-agent-home\classpath\winp.x64.dll file preventing the agent from starting.


Confirm that the user account that runs the Bamboo service has access to the agent's home directory. Then, terminate the Java process and restart the agent.

Last modified on Nov 16, 2022

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.