how to use the plantUML preview in VSCode? April 5, 2024 by Tarik I had the same issue. My preview started working right after I installed the Java Runtime Environment (JRE).