So my problem is, that this used to work perfectly.. well it crashed when my code looped a lot. However I was able to use start and run Greenfoot, without any problems. Now none of this is possible. I click it and nothing happens.
I start it through the terminal and this is the error:
I tried reinstalling it a few times, I even looked into the file, but I couldn't really find any problem. I checked the forums here, but I can't seem to find anything.
If you can help me, I'd be really thankful.
Cheers!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java: 763 ) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 142 ) at java.net.URLClassLoader.defineClass(URLClassLoader.java: 468 ) at java.net.URLClassLoader.access$ 100 (URLClassLoader.java: 74 ) at java.net.URLClassLoader$ 1 .run(URLClassLoader.java: 369 ) at java.net.URLClassLoader$ 1 .run(URLClassLoader.java: 363 ) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java: 362 ) at java.lang.ClassLoader.loadClass(ClassLoader.java: 424 ) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 349 ) at java.lang.ClassLoader.loadClass(ClassLoader.java: 357 ) at bluej.Boot.main(Boot.java: 193 ) Caused by: java.lang.ClassNotFoundException: javafx.application.Application at java.net.URLClassLoader.findClass(URLClassLoader.java: 382 ) at java.lang.ClassLoader.loadClass(ClassLoader.java: 424 ) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 349 ) at java.lang.ClassLoader.loadClass(ClassLoader.java: 357 ) ... 13 more |