-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile #39
Comments
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. |
Thanks! I'll try it! |
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: |
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 |
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 forwardjava
tojava.exe
on the host system).The text was updated successfully, but these errors were encountered: