#Can someone help me configure javaFX in eclipse? it says all my javaFX jars are not accessible even
37 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @dusky raptor! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
show the whole stacktrace
iirc, you need to add them to module path too
I'm using javaFX sdk which I downloaded and installed via eclipse, its called e(fx)clipse. However, if i don't add my jars from my external folder it says type unresolved, when I add the jars it says not accessible
try "Project" > "Clean..."
I did...
wdym it has to be in modul path?
module*
If I add the jars to module path it says duplicate entry for every jar because it's also in the class path
remove them from classpath, and all all of them to modulepath
and in module-info.java add requirements to access the needed modules
this post says do the opposite: https://stackoverflow.com/questions/64560205/getting-module-javafx-controls-not-found-error-java-eclipse-ide
but ill try
and export your own package, so javafx will be able to rich the constructor of your own class
in module-info.java put code like this:```java
module yourModuleName {
exports your_package;
requires javafx.graphics;
requires javafx.controls;
}```
yeah, but I guess you might have problems running your main class. try
if doesn't work - then edit your module-info.java file
are you sure you downloded right libs?
if I say yes will you have any other idea what i may be?
nope. wrong sdk or wrong architecture (32/64 bits)
so i just downloaded x64 SDK JavaFX build 16 from jdk.java.net for windows
all i have to do is replace the jars in my module path?
yeah
no quantumRenderer error this time
I think it actually has to do with my code, the loadCardImages method because the url im passing is empty
yeah