Processing software not working

Welcome to the forum.

Have you tried to run something simple like traditional println("Hello World") to verify that environment is ok. If that crashes too it’s in environment if not then that big chunk of code has a problem.