After i upgraded my ubuntu to 22.04 vesiob decided to get rid of old pycharm on my os and install it from snap.The installation was successful, but if ran pycharm old version would still get launched, so i deleted the old one completely. Newer version wouldn't still start it raises some java error and when i tried to reinstall it using snap it gives Error snap "pycharm-proffesional" not found. ( installed and lunched pycharm-comunity with no problem )
I also tried to download pycharm from official website and run but "Error in native method: proccessing of -javaagent failed" is raising when i start pycharm