PScharm Java Runtime

When I tried to install Pscharm on Kaly Linux I got this error: has been compiled with a more recent version of the Java Runtime.
How can I update Java on Kaly.

Ho, can you share screenshot of the exact error?

Yes it looks like your Java version on Kali is outdated. You can follow instructions here to update it -

This is also a good site to follow - How To Install Java with Apt on Debian 9 | DigitalOcean