VisualVM Custom jdk

Reading Time: 1 minute if an older version of java is set as your java home then; open the file “visualvm.conf” in %VISUALVMROOT% etc folder uncomment and change the line: visualvm_jdkhome=”C:\jdk1.8.0_75″  

Enabling Fontawesome icons in Primefaces

Reading Time: 1 minute I’ve tested this in the Primefaces 6.0 and JSF 2.2 configuration Before After web.xml   <context-param> <param-name>primefaces.FONT_AWESOME</param-name> <param-value>true</param-value> </context-param> <mime-mapping> <extension>woff2</extension> <mime-type>application/x-font-woff2</mime-type> </mime-mapping> jsf page   <p:column headerText=”Actions”> <p:commandButton type=”button” value=”Edit” icon=”fa fa-fw fa-edit”/> <p:commandButton type=”button” value=”Delete” icon=”fa fa-fw fa-remove”/> </p:column>