I have a Java application that is a wrapper for a different application (which requires >=SSE4_1 to be supported).
Because of this, I want to be able to detect the avaible CPU Features (Instruction Sets) in my Java application. I have not yet found a solution on how to do this in Java, one workaround would be using googles "cpu_features" C Library and creating a simple helper tool that exits with 0 or 1. But that would also require me to compile the C application for all platforms and isn't really an elegant solution. On linux you could cat /proc/cpuinfo
for this, but not on Windows.
And then there is also a difference in the avaible Features on the CPU and the ones that are actually supported by the OS (which is the result you need).
Could someone give me a guiding hand here? Thank you in advance!