简体   繁体   中英

noClassDefFoundException in javafx application in raspberry pi

I'm new to raspberry api, i have created a javaFX application from windows 7 using netbeans 7.3.1 , jdk 1.7 .. database used is firebird .. so i incorporated jaybird jar with library after that i clean and build the application.. then copied the dist folder to raspberrypi machine.

Then i tried to run the jar from command line .. but it gives Exception like "noClassDefFoundError:org/firebirdsql/even/EventManager " and exiting the application..

But it works fine with windows 7,ubuntu and centOS

Why I have the above exception when I start my javafx application in raspberry pi only.Can anyone give any help

thanks...

I think you have to configure Buildpath of your project and add jaybird jar. Do this as suggested below:

RightClick on your Project -> Build Path -> Configure Buildpath

Then the window be will be shown with Libraries as one of the tab. Select that tab.

Then click Add External Jars in the right side buttons list. Add the required Jars and select OK . Once clean and build your project.

Hope this will help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM