Add new comment

Issue with protected resources.

I'm trying to do this command (Thread.currentThread().getContextClassLoader().getResource("/test.tep"); and using it with runtime.exec that runs a cmd command and then it just reads the bytes. Is there a way to fix? the file is in resources.