GitHub user OndroMih edited a comment on the discussion: Support for AOT, AOTCache for faster netbeans startup
I agree. I have the same experience with AOT on Java 25. It reduces startup time for me from 9 seconds to 6 seconds, about 30%. But I had issues when I upgraded Netbeans and forgot to regenerated the AOT cache file: https://github.com/apache/netbeans/issues/9392#issuecomment-4443097416 So it's not for general public but yes, it can be configured in netbeans.conf. This is what I have there: ``` netbeans_default_options="-J-XX:AOTCache=/ide.aot ``` and if your system Java is older than 25: ``` netbeans_jdkhome="path/to/java25" ``` To generate the AOT cache file, run netbeans with: ``` netbeans --jdkhome /path/to/java25 -J-XX:AOTCacheOutput=/ide.aot ``` GitHub link: https://github.com/apache/netbeans/discussions/8840#discussioncomment-16907744 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
