You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vojtech Krizek edited this page Oct 2, 2017
·
1 revision
My jUnit Test Ends With A RuntimeException
I'm getting java.lang.RuntimeException caused by java.lang.ClassNotFoundException: com.sun.tools.attach.VirtualMachine when running SV as Code in jUnit test.
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.