Skip to main content

How to import and use java classes from a jar file into javafx project

2 replies [Last post]
moacsjr
Offline
Joined: 2005-09-16

Hello,

I have some java classes packaged into a jar file and I'm having problems importing them into a netbeans javafx project.

I have imported this jar into javafx project libraries but when I tried to instantiate the classes or import them into the javafx script it just don't work.

How to import and use java classes from a jar file into javafx project.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
annaharris
Offline
Joined: 2012-04-08
alexsch
Offline
Joined: 2007-07-12

It looks like the known issue:
https://netbeans.org/bugzilla/show_bug.cgi?id=179448

Just import manually the necessary classes. The project should run even the editor highlights it as error.