Sokobot
Sokobot copied to clipboard
Cannot compile
I'm kind of a beginner to Java, and I can't seen to be able to compile the Jar, even in my copy of IntelliJ. It ends with BUILD SUCCESSFUL, but when I run the jar, it cannot find the Bot class. I'm also a beginner to JDA (not to bot making though!) and can't figure out myself. I cloned the repo with GitHub Desktop, then compiled it with the respective command in the README. Then I created a token.txt and placed my token inside. I ran java -jar Sokobot-1.1-all.jar in my WSL, and it didn't work (I have an alias set up to forward java to java.exe on the host system).
What does the console outputs??
It cannot find the Bot class. I don't feel like running the program rn, but that's all it says other than the usual compiling
@dugo3number2 try running it without the token file. You will be prompted to enter your token and it will create a file for you. You could also download the jar from the release folder.
@dugo3number2 try running it without the token file. You will be prompted to enter your token and it will create a file for you. You could also download the jar from the release folder.
Thanks! I'll try it!
maybe the same? #42
maybe the same? #42
I have a Pi, but I'm doing this on my PC. I'll look at it and reply back with my school account @dugo3number3
maybe the same? #42
I have a Pi, but I'm doing this on my PC. I'll look at it and reply back with my school account @dugo3number3
It is exactly the same, thanks for the help! I won't close the issue until I get a chance to try it at home.
maybe some need this in docker, i tried to build it with Docker: https://github.com/T0biii/Sokobot/blob/master/Dockerfile https://github.com/T0biii/Sokobot/blob/master/docker-compose.yml Still need to change the https://github.com/T0biii/Sokobot/blob/master/build.gradle
maybe some need this in docker, i tried to build it with Docker: https://github.com/T0biii/Sokobot/blob/master/Dockerfile https://github.com/T0biii/Sokobot/blob/master/docker-compose.yml Still need to change the https://github.com/T0biii/Sokobot/blob/master/build.gradle
I'm pretty good in Docker, so if you need any help, let me know. Also, please post it to the Docker Hub
maybe some need this in docker, i tried to build it with Docker: https://github.com/T0biii/Sokobot/blob/master/Dockerfile https://github.com/T0biii/Sokobot/blob/master/docker-compose.yml Still need to change the https://github.com/T0biii/Sokobot/blob/master/build.gradle
I'm pretty good in Docker, so if you need any help, let me know. Also, please post it to the Docker Hub
you can simple build it with docker-compose build. but if @PolyMarsDev want to Publish it on Docker Hub he can.
I can do a Pull Request for the Dockerfiles if it is needed