I am trying to view antlr4 parse tree on Windows. I followed the instructions on https://www.antlr.org/ I setup the antlr4 path and grun path also added the CLASSPATH. The grun command with "-tree" works but when I specify "-gui" it freezes in the cmd.
I tried fixing that error message by following instruction on Java could not open/create prefs error and it went away but I still can't see the parse tree.