MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

java exception even with java 11

Open Fickely opened this issue 1 year ago • 4 comments

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

Fickely avatar Jun 04 '24 16:06 Fickely

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)

tag27 avatar Jun 06 '24 02:06 tag27

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

Rashify avatar Jun 06 '24 07:06 Rashify

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

Fickely avatar Jun 06 '24 11:06 Fickely

If you're still having this issue when double-clicking and are willing to investigate further, a fix that worked was to uninstall all java versions (they had java 8 installed) and then to only install java 11.

jagrosh avatar Aug 06 '24 19:08 jagrosh