0

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.

ScreenShot

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.

Mike Lischke
  • 48,925
  • 16
  • 119
  • 181

1 Answers1

1

I don't have this problem on Windows 10. I am using Java SE 13 and ANTLR 4.8. I followed the section "Generate and compile the parser" on this blog to set up properly on Windows 10. The blog uses Git Bash and Windows 10.

Song Yang
  • 407
  • 5
  • 14