#JavaFX setup HELP

1 messages · Page 1 of 1 (latest)

tropic imp
#

Hey guys,
i really can't setup the JavaFX with NetBeans.
But i'm open to install it with VS or Intellij also.

lusty ravineBOT
#

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

#
umbral karma
#

the first link helps with project setup

umbral karma
#

did you follow the tutorial?

tropic imp
tropic imp
#

This tutorial was our only guid, which the prof has suggested

umbral karma
#

did you do step 5? Add VM options?

tropic imp
#

I checked it again and it's correct.
I have added VM option.
--module-path "C:\JavaFX\javafx-sdk-21.0.7\lib" --ad d-modules javafx.controls,javafx.fxml

inner fern
#

are you using a build tool?

tropic imp
#

Can i just screenshare to you guys so i'll get it done ? I would appreciate it

inner fern
#

tools like Maven or Gradle. NetBeans typically starts you out with a build tool

#

most IDEs have build tools included. they help you build your project. one of the ways they help is by including dependencies

#

does your project have a pom.xml? or a build.gradle?

umbral karma
#

(its uni context so build tool is probably no)

inner fern
#

how did you create your netbeans project?

#

the project wizard should have almost forced you to use a build tool, for netbeans at least

#

you dont wanna use arguments for this, creates problems when you package the app

#

users would have to run through a terminal & provide the arguments each time they wanted to run your app. a build tool can help package it neatly, so they wont have to

tropic imp
inner fern
#

select Maven or Gradle

tropic imp
#

okay let me try again

inner fern
#

from there, you can follow the start-up guide for FX, which will help you build the app smoothly

tropic imp
#

you mean this here right?

inner fern
#

yup

tropic imp
#

okay, thank you. Imma try it now

inner fern
#

Ant is a very primitive build tool. these days, people use Maven or Gradle

#

thats why theres no Ant guide

tropic imp
#

Now i gotta make the buttons