NobilityDeviant / Wcofun.com_Downloader

A java & Kotlin cartoon and anime downloader for https://www.wcofun.com/
26 stars 3 forks source link

Error: Could not find or load main class TWCD.jar #4

Closed yash-10x closed 1 year ago

yash-10x commented 1 year ago

Error: Could not find or load main class TWCD.jar Screenshot (1)

NobilityDeviant commented 1 year ago

The command is java -jar TWCD.jar

yash-10x commented 1 year ago

The command is java -jar TWCD.jar

Error: Could not find or load main class com.nobility.downloader.Main

NobilityDeviant commented 1 year ago

I believe it's due to openjdk because it doesn't come with javafx, Since it looks like you are running it inside some sort of linux sandbox, you can try sudo apt-get install openjfx Not sure if it's compatible though If you can't figure it out you can use liberica instead https://bell-sw.com/pages/downloads/#/java-8-lts make sure you use the Full JRE not the standard one

NobilityDeviant commented 1 year ago

one day i will ditch javafx in favor of jetpack compose, but that could take awhile

yash-10x commented 1 year ago

thank you for help i am sorry for late reply

CesiumCs commented 1 year ago

Had this issue too. Maybe you could note this in the readme? I know it already states which specific Java is used but it would help people like me who figured they were functionally interchangeable and didn't realize it wouldn't work on openjdk

NobilityDeviant commented 1 year ago

Had this issue too. Maybe you could note this in the readme? I know it already states which specific Java is used but it would help people like me who figured they were functionally interchangeable and didn't realize it wouldn't work on openjdk

Yes that's a good idea

NobilityDeviant commented 1 year ago

I have updated the readme.