java.lang.RuntimeException: Missing com.sun.tools.attach.VirtualMachine in tools.jar

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Pablocgdev
, 1 year ago
Missing com.sun.tools.attach.VirtualMachine in tools.jar
java.lang.RuntimeException: Missing com.sun.tools.attach.VirtualMachine in tools.jar
at org.evosuite.runtime.agent.ToolsJarLocator.validateAndGetLoader(ToolsJarLocator.java:132)
at org.evosuite.runtime.agent.ToolsJarLocator.considerPathInProperties(ToolsJarLocator.java:113)
at org.evosuite.runtime.agent.ToolsJarLocator.getLoaderForToolsJar(ToolsJarLocator.java:78)
at org.evosuite.classpath.ClassPathHacker.initializeToolJar(ClassPathHacker.java:58)
at org.evosuite.ClientProcess.initializeToolJar(ClientProcess.java:109)
at org.evosuite.ClientProcess.run(ClientProcess.java:74)
at org.evosuite.ClientProcess.main(ClientProcess.java:203)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.