There are third-party libraries that check for CPU count for licensing purposes without an obvious way to tell them "use 1 core".
To get around this restriction, I want to be able to start the CPU affinity very early in the process.
Is there a way to set CPU affinity for a process launched from within Eclipse? I want to keep the workflow relatively the same, meaning I still want to be able to debug, etc.
I'm fine with modifying the program if that's the only solution, though I'd prefer solutions that rely on JVM options or Eclipse runner parameters.