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

[Bug Report] Jmusic-0.4.0 jar file - a java exception has occured #1497

Open
3 tasks done
itsCrummy opened this issue Mar 9, 2024 · 17 comments
Open
3 tasks done

[Bug Report] Jmusic-0.4.0 jar file - a java exception has occured #1497

itsCrummy opened this issue Mar 9, 2024 · 17 comments
Labels
Milestone

Comments

@itsCrummy
Copy link

Bug Description

  • a java exception has occured when clicking the 0.4.0 file

Steps to Reproduce

download the latest, then attempt to run it after setting up the file

Expected Result

to load up the music bot

Debug Output

cannot get bot to load - just has a the following thing in the image below
image

Additional Info

No response

Checklist

@siggijarl
Copy link

same here

@MichailiK
Copy link
Collaborator

I believe this is because we have upgraded to Java 11 in version 0.4.0 & you're using Java 8 at the moment. Can you check if you have Java 8 & if you do, upgrade to 11?

@siggijarl
Copy link

seems to work with AdoptOpenJDK x64 11 which can be handily installed via ninite dot com

@itsCrummy
Copy link
Author

I believe this is because we have upgraded to Java 11 in version 0.4.0 & you're using Java 8 at the moment. Can you check if you have Java 8 & if you do, upgrade to 11?

that was the reason why - its fixed now thanks

@GenFangirl
Copy link

Can you expand on how to update Java? I downloaded version 11 (11.0.22) and confirmed it is the version I am using by typing java -version into the cmd, but I am still getting the error when trying to run the bot.

@jagrosh
Copy link
Owner

jagrosh commented Mar 9, 2024

With just that screenshot it's a bit hard to debug. For anyone still running into this issue, can you share the output of running both java -version and java -jar JMusicBot-0.4.0.jar on the command line

@GenFangirl
Copy link

Not sure how helpful this is, but here is my output:
CMDOutputMusicBot

@jagrosh
Copy link
Owner

jagrosh commented Mar 9, 2024

Can you navigate to the folder (cd .. to move up a directory, cd directoryname to move into a directory) that contains the jar; that particular error is just saying that the jar isn't in the folder you're running the command from

@GenFangirl

This comment was marked as off-topic.

@GenFangirl

This comment was marked as off-topic.

@GamingTimDE

This comment was marked as off-topic.

@itsCrummy
Copy link
Author

With just that screenshot it's a bit hard to debug. For anyone still running into this issue, can you share the output of running both java -version and java -jar JMusicBot-0.4.0.jar on the command line

the issue was because i didnt know i needed Java 11 Lmao - and i dont run it via CMD - but i downloaded Java 11 and it worked so :)

@jagrosh jagrosh added the bug label Mar 11, 2024
@TheDjRider

This comment was marked as off-topic.

@jagrosh
Copy link
Owner

jagrosh commented Mar 11, 2024

Please keep in mind that the issue we are tracking is a java exception occurring. This happens immediately upon double-clicking the jar in a desktop environment.

@jagrosh jagrosh added this to the 0.4.1 milestone Mar 15, 2024
@GogoDG
Copy link

GogoDG commented Apr 8, 2024

I have the same problem. I have java 21 installed and 4.0 jar fails to start.

@GamingTimDE

This comment was marked as off-topic.

@MichailiK

This comment was marked as off-topic.

@jagrosh jagrosh modified the milestones: 0.4.1, 0.4.2 May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants