Skip to content
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

Open
DavidDGTNT opened this issue Jan 8, 2021 · 10 comments
Open

Cannot compile #39

DavidDGTNT opened this issue Jan 8, 2021 · 10 comments

Comments

@DavidDGTNT
Copy link

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).

@ghost
Copy link

ghost commented Jan 17, 2021

What does the console outputs??

@DavidDGTNT
Copy link
Author

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

@mandar1jn
Copy link

@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.

@DavidDGTNT
Copy link
Author

@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!

@T0biii
Copy link

T0biii commented Apr 27, 2021

maybe the same? #42

@DavidDGTNT
Copy link
Author

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

@ghost
Copy link

ghost commented Apr 28, 2021

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.

@T0biii
Copy link

T0biii commented Apr 28, 2021

@DavidDGTNT
Copy link
Author

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

@T0biii
Copy link

T0biii commented May 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants