Make sure that you run the installer with Java only, if you do not have Java you must download it. If you opened it with Java and nothing happened (or a black box appeared for a second) you can follow this method with command prompt:
or maybe it's some anticheat but i have never seen anticheat like that
It is paper anticheat, it replaces blocks client-side with stone, but ores exposed to air are not replaced with stone (or else you couldn't see them when mining...)