CodeSV Blog!by CA Technologies, A Broadcom Company

FAQ

How Can We Help?
< Back

My jUnit Test Ends With A RuntimeException

Q: I’m getting java.lang.RuntimeException caused by java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine when running SV as Code in jUnit test.
A: You need to install and use Java Development Kit (JDK) instead of Java Runtime Environment (JRE) because SV as Code requires tools.jar from JDK to be installed.

Previous Supported Environments
Table of Contents

Comments are currently closed.