Running javafx app with hibernate takes too much time

孤街浪徒 提交于 2019-12-01 14:49:53
jewelsea

NetBeans build time improvement suggestions

It seems that likely your issue is not the time taken to run the application, but more the time taken to build it using your current build settings in NetBeans.

Here are some suggestions you can try out which will improve build speed under NetBeans:

JavaFX Ant Build Script in Netbeans: How to improve build speed?

Background on when you need to sign applications

From Jitendra's answer, which you marked correct, it seems that your main issue is that you are requesting NetBeans to sign all of your jar files.

Unless you will be deploying your application as a browser embedded application or WebStart application, you don't need to sign the application.

Even if you are going to eventually deploy your application using either of those two modes, you can do all of your development of the application as a standalone application (which does not require signing), and just sign the application when you are ready to deliver it.

How to disable signing in NetBeans

Under NetBeans 7.4, to prevent the NetBeans from signing all of your application's jar files, choose:

Project Properties | Build | Deployment

And make sure the following setting is NOT checked:

Request unrestricted access (Enable signing)
Jitendra Pareek

Actually there is some licensing issues, whenever you run Javafx APP Java Environment check your licensing, if you have default jar then Netbeans show warning messages to avail you for the licensing issues. That's why it seems slow than other apps. Try to communicate with Oracle Support it definitely give you better solution.

The below screen shot you will confirm every jar want a licensing key :

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!