Setting classpath java for use in Runtime.exec
- by phil swenson
I am trying to spawn a process using Runtime.exec. I want to use my current classpath : System.getProperty("java.class.path")
Unfortunately, I am having all kinds of issues. When it works on my mac, it doesn't work on Windows. And doesn't work on my mac ever when there is a space in the classpath. The error I always get is ClassDefNotFound,…