FishingBot icon indicating copy to clipboard operation
FishingBot copied to clipboard

Application won't start

Open GehrmanII opened this issue 6 years ago • 4 comments
trafficstars

I'm using Windows 10 latest update and Java 8 r.210, running FishingBot.jar won't do anything. No errors, won't even pop up in Task Manager for a second.

GehrmanII avatar Feb 04 '19 00:02 GehrmanII

Sorry for the late response.

@GehrmanII Can you do the following:

  1. Open CMD
  2. Type java -version and copy paste it here.
  3. Navigate to the directory that FishingBot.jar is located. You can do this via cd and dir. For example C:\Users\GehrmanII\Downloads. Type dir to confirm the contents of that folder.
  4. Type the command java -jar FishingBot.jar. Copy any output you get and I can help identify the problem.

Thanks.

KevinTyrrell avatar Mar 02 '19 04:03 KevinTyrrell

This doesn't appear to work with OpenJDK 8 on windows from the adoptopenjdk project.

beren12 avatar Apr 07 '21 14:04 beren12

This doesn't appear to work with OpenJDK 8 on windows from the adoptopenjdk project.

I'm afraid so, yeah. I should add that warning. Try to obtain a JDK 8 copy ... I JDK 9 might work as well...? Not totally sure. It all has to do with the GUI library JavaFX (it was removed from the standard library somewhat recently).

You can find Oracle's JDK 8 here: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

When this project is updated I'll make sure to have it working on OpenJDK.

KevinTyrrell avatar Apr 07 '21 14:04 KevinTyrrell

Error: Could not find or load main class view.GUI Caused by: java.lang.NoClassDefFoundError: javafx/application/Application I get this error.

MisiatyUszatek avatar Jul 11 '21 20:07 MisiatyUszatek