antlr / antlr4-lab

A client/server for trying out and learning about ANTLR
MIT License
39 stars 11 forks source link

Problems Running on Linux Mint / Ubuntu #65

Closed 7enderhead closed 1 year ago

7enderhead commented 1 year ago
>cat /etc/os-release 
NAME="Linux Mint"
VERSION="20.3 (Una)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.3"
VERSION_ID="20.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=una
UBUNTU_CODENAME=focal
parrt commented 1 year ago

hi. That's likely an issue with the use of ~ from the command line... Please use the full path to the jar file and it should work

parrt commented 1 year ago

Although I just noticed that I've been using ~. hmm... yeah, that should work. did you mvn install first?

7enderhead commented 1 year ago
parrt commented 1 year ago

This is very strange. Definitely just a class path issue and not related to the tool though... This is the command I used to executed on the server:

sudo -E nohup java -cp ~/.m2/repository/org/antlr/antlr4-lab/0.2-SNAPSHOT/antlr4-lab-0.2-SNAPSHOT-complete.jar org.antlr.v4.server.ANTLRHttpServer

oh, do you have the -complete on there?

7enderhead commented 1 year ago

Uhh, my bad. Surely enough I did not run the -complete.jar... that fixed it!

parrt commented 1 year ago

cool!