Cannot Create Classes

It’s not the browsers that messing up the code. Rather I open it through the HTML index or run it in the Pde, the program will still give me that error. At this point, I think it may be the way my JDK or JRE is set up.

What version of the p5.js, JRE, and JDK is everyone else using currently to run p5 programs?