Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » MacOS JavaFX not working (AIMA-JAVA)
MacOS JavaFX not working (AIMA-JAVA) [message #1832098] Wed, 09 September 2020 00:21
Napoleon  BlownApart is currently offline Napoleon BlownApartFriend
Messages: 5
Registered: March 2020
Junior Member
[MacOS Catalina 10.15.6, Eclipse 2020-06 (PDT and Java)]
Installed Java versions (4):
    12.0.1, x86_64:	"OpenJDK 12.0.1"	/Library/Java/JavaVirtualMachines/openjdk-12.0.1.jdk/Contents/Home
    12.0.1, x86_64:	"OpenJDK 12.0.1"	/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home
    1.8.0_212, x86_64:	"AdoptOpenJDK 8"	/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
    1.8.0_60, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home

I'm trying to get some JavaFX examples in AIMA-JAVA to work, but I'm getting an error:
Error: Unable to initialize main class aima.gui.fx.applications.agent.RouteFindingAgentApp
Caused by: java.lang.NoClassDefFoundError: Pane

I have jfxrt.jar in /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/lib/ext/jfxrt.jar, so I think I have the JavaFX-SDK installed. But to be sure, I'm currently searching my file system for folders called javafx-sdk*, which I believe are part of the SDK itself.

(The full list of errors, warnings, and info messages is attached.)

Can anyone suggest a fix (or link) for this?

[Updated on: Wed, 09 September 2020 00:44]

Report message to a moderator

Previous Topic:Eclipse Crash
Next Topic:Java 15
Goto Forum:

Current Time: Mon Jun 27 10:01:49 GMT 2022

Powered by FUDForum. Page generated in 0.01796 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top