Running javafx app with hibernate takes too much time

前端 未结 2 1544
慢半拍i
慢半拍i 2021-01-17 06:04

I am working on javafx 2.0 using netbeans 7.4 and hibernate..

the issue was that i am run application its build all jar and take too much time to run..

how c

相关标签:
2条回答
  • 2021-01-17 06:39

    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)
    
    0 讨论(0)
  • 2021-01-17 06:50

    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 :

    enter image description here

    0 讨论(0)
提交回复
热议问题