GitHub user lahodaj added a comment to the discussion: Support for AOT, AOTCache for faster netbeans startup
I think I concur with @mbien and @neilcsmith-net that this is likely not help NB very much (because of the ClassLoaders, and possibly also other things). But, the "Unknown option" error is confusing me, given this is a `java` launcher option. Are you prefixing the options with `-J` (so that the `java` launcher gets them)? I tried this: ``` ./netbeans --jdkhome ~/tools/jdk/jdk-25/ --userdir /tmp/nbuser.aot -J-XX:AOTMode=record -J-XX:AOTConfiguration=app.aotconf ./netbeans --jdkhome ~/tools/jdk/jdk-25/ --userdir /tmp/nbuser.aot -J-XX:AOTMode=create -J-XX:AOTConfiguration=app.aotconf -J-XX:AOTCache=app.aot ./netbeans --jdkhome ~/tools/jdk/jdk-25/ --userdir /tmp/nbuser.aot -J-XX:AOTCache=app.aot ``` And it seems to run. I am not saying it is faster, just that it runs. GitHub link: https://github.com/apache/netbeans/discussions/8840#discussioncomment-14427425 ---- 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
