ClassNotFoundException when calling java code from a different folder than the one holding the code
The problem I want to run java code from the command line, and I don’t understand why I manage to do that from within the folder holding the code, but not from another folder. I am on Windows and am using Cygwin. Example 1: What works The folder /usr/local/lib/mytoolfolder/ contains two folders with java code: […]