#cannot resolve symbol javafx

1 messages ยท Page 1 of 1 (latest)

terse voidBOT
#

<@&987246487241105418> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
I am trying to get my project to work but it's not working. JavaFX swing is added i even have vm variables that should make it work, but it still says cannot resolve symbol javafx

It seems like you may have an issue with your project setup. Make sure that you have properly set up your JavaFX libraries in your project's build path or dependencies. Also, double-check that your VM variables are correctly pointing to the JavaFX SDK.

You can find more information on JavaFX setup and troubleshooting from these reliable sources:

Useful links:

  1. JavaFX Documentation
  2. JavaFX Tutorial on Baeldung
  3. JavaFX Getting Started Guide on Oracle
#

cannot resolve symbol javafx

#

Changed the title to cannot resolve symbol javafx.

robust pumice
#

mind sharing ur stuff with us please

#

currently there isnt really much we can actually work with

quasi whale
#

you mean, the code?

robust pumice
#

anything that helps us locate what you did wrong

#

code, setup, screenshots, ...

#

๐Ÿ™‚

quasi whale
terse voidBOT
# quasi whale

I uploaded your attachments as Gist. This makes them more accessible, for example to mobile users.

quasi whale
#

ok so this is the code, there's so much errors in it, it's generated with chatgpt

#

i am trying to make a game but first of all im trying to fix the import of the javafx

#

then ill go on with the rest

#

here in project structure i have added the lib

#

and this is inside of run

#

--module-path "C:\javafx-sdk-21\lib" --add-modules javafx.controls,javafx.fxml

mental phoenix
#

It's easier to add a module-info

#

and just use standard maven dependencies

quasi whale
#

i dont know how to do that