jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
4.86k stars 2.43k forks source link

java exception even with java 11 #1586

Open Fickely opened 1 month ago

Fickely commented 1 month ago

Bug Description

I've already done the config and downloaded java 11 and the bot doesnt start imagen_2024-06-04_175658666 imagen_2024-06-04_175614873

Steps to Reproduce

1.I install java 11 from Adoptium 2.I restart the PC and when i try to open the bot it shows an error

Expected Result

Iexpected the bot to start

Debug Output

imagen_2024-06-04_180115568 In windows 10 with Jmusic 0.4.1

Additional Info

No response

Checklist

tag27 commented 1 month ago

Open the .jar file from the command prompt, at least it's the only way to open it without double-clicking: image

(See: https://github.com/jagrosh/MusicBot/issues/1497#issuecomment-1987000656)

Rashify commented 1 month ago

Install JDK 22, will fix, also why use adoptium? just install from oracle.com/java/technologies/downloads/

Fickely commented 1 month ago

Thanks it's fixed i don't know what happened but if i use the CMD it works

Open the .jar file from the command prompt, at least it's the only way to open it without double-clicking: image

(See: #1497 (comment))