-
Notifications
You must be signed in to change notification settings - Fork 0
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
Could you help us? #2
Comments
To chip in, it would be helpful to set up the project for running without an IDE. Just a few commands should suffice. It would be also better to record the dependencies in a standard format, like pom.xml for the Maven, rather than an IntelliJ .iml . That would perhaps also make the jars in the lib directory unnecessary. Last, it could help to specify the target Java version. Other than that, the project looks like a nice work, so it deserves to be more accessible to users. |
Hey there, I'm kinda in the middle of a hectic semester right now. I do understand your request, but I'm pretty new to Maven or Gradle as I always stick with IntelliJ IDEA's default build tool. By running it without IDE, do you mean running the game on a JAR file? And for the Java version, I used JDK 17 for this project. Responding to the first comment, I'm not sure on how to make it run on Linux Mint since I never use one. I'll try to release it as a JAR file if you just want to run the game and play it. With JVM set up, I think you should be able to run it. I hope I can get back to resolve this issue asap. If you have any tips on how I should do it, pls lemme know, thanks:) |
Short answer: yes, a JAR file would be good. Longer answer: I made it to work on the second try. First, the IDE complained about missing JUnit:
So I had to click around in the tests and tell it to install the missing import. Then there was another missing library:
It turned out that I installed Even longer answer: I am not a Java developer and I am more used to working with command line tools. Installing a whole IDE - and one specific IDE - in order to compile and run a project seems cumbersome to me. In the comparison, running commands like I understand you are busy. Don't worry too much, your reaction is already better than I expected :). Have a nice day |
Glad to hear that and sorry for the inconvenience. I tried to deploy it as a JAR file once, but things didn't work out as expected since some of the images in my resources folder didn't load properly, making the GUI incomplete. That JAR file ran fine on my laptop but not on other devices. I'll try to do it again soon, so that it's more accessible to someone who just wanna run it real quick and enjoy the game. Thanks for ur kind words btw, hope you have fun with Jungle Chess and have a great day!! |
Exception in thread "main" java.lang.ExceptionInInitializerError |
We are unable to build this interesting project..
Can you give us advice how to build it in IntelliJ IDEA community edition?
In Linux Mint, does it need additional libraries to compile?
The text was updated successfully, but these errors were encountered: