BinkanSalaryman / Discord-Audio-Stream-Bot

A simple discord audio streaming bot.
229 stars 39 forks source link

Unable to acces jarfile #67

Closed PhastTraveler closed 1 year ago

PhastTraveler commented 1 year ago

When I start the file "run win64.bat" An error popup appears saying "Unable to acces jarfile Discord Audio Stream Bot.jar. imagem_2023-01-21_224650475 imagem_2023-01-21_224709825

BinkanSalaryman commented 1 year ago

" Right click the jarfile in question. Click properties. Click the unblock tab in bottom right corner. The file was blocked, because it was downloaded and not created on my PC. "

Does this work for you?

PhastTraveler commented 1 year ago

It didn't work still show the same message

ODENYGG commented 1 year ago

Same here. Updated today from 2020 release now it's acting up. Old version still works though.

app.log:

15:21:50 [main] INFO  net.runee.gui.MainFrame - Hello World!
15:21:50 [main] INFO  net.runee.misc.Utils - ----------------------------
15:21:50 [main] INFO  net.runee.misc.Utils - Operating system: Windows 10
15:21:50 [main] INFO  net.runee.misc.Utils - OS architecture : amd64     
15:21:50 [main] INFO  net.runee.misc.Utils - Java version    : 1.8.0_321 
15:21:50 [main] INFO  net.runee.misc.Utils - Available cores : 16        
15:21:50 [main] INFO  net.runee.misc.Utils - Available memory: 3628 MB   
15:21:50 [main] INFO  net.runee.misc.Utils - ----------------------------
15:21:50 [main] ERROR net.runee.gui.MainFrame - Uncaught exception in thread main
jouvieje.bass.exceptions.BassException: no bass in java.library.path or org.lwjgl.librarypath
    at jouvieje.bass.BassInit.loadLibraries(BassInit.java:96)
    at net.runee.gui.MainFrame.main(MainFrame.java:55)
15:21:56 [DASB Shutdown Hook] INFO  net.runee.gui.MainFrame - Goodbye!

javaw_2023-01-29_15-21-46

UPDATE:

If i "Run as Admin", error changes:

javaw_2023-01-29_15-24-44

ODENYGG commented 1 year ago

UPDATE: I'm ashamed to admit it, but i solved my problem by just... updating java. That did it for me.

WoozyMammoth commented 5 months ago

I am having this same issue, java is up to date

BinkanSalaryman commented 5 months ago

Did you check if the jar file was blocked by windows? Other than that, you can try to move everything to another folder. Not sure what would be the issue though.