Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
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.

Clone this wiki locally