Processing.py-Bugs icon indicating copy to clipboard operation
Processing.py-Bugs copied to clipboard

exception in thread awt-eventqueue-0 java.lang.nosuchmethoderror: java.lang.String processing.app.sketch.getMainProgram()

Open Mahamadou29 opened this issue 3 years ago • 1 comments

I install the Python mode I wrote a two lines of code: size(500, 500) print('Hello, Word!')

and i got this error: exception in thread awt-eventqueue-0 java.lang.nosuchmethoderror: java.lang.String processing.app.sketch.getMainProgram()

Mahamadou29 avatar Feb 25 '22 17:02 Mahamadou29

Which version of Processing is this? Are you using Processing 4.0 beta 6? I'm aware there's a Python Mode issue with that release. Have you tried Processing 4.0 beta 5? (If that solves the problem, there's likely a fix coming in beta 7)

Otherwise, try version 3.5.4 (which you can download from processing.org)

tabreturn avatar Feb 26 '22 05:02 tabreturn