Posts

Showing posts from April, 2011

Change Security Certificate jZebra

Open command prompt (Assumes Windows 7) Type: > cd %PROGRAMFILES%\Java\jdk1*\bin Type: > keytool -import -alias myalias -file %USERPROFILE%\Documents\mycert.cer -keystore %USERPROFILE%\Documents\mykeystore.ks Since the keystore doesn't yet exist, it will be created, and you will be prompted for a keystore password; type whatever password you want. This will later be entered into NetBeans. For the purposes of this tutorial we will use password of "randomaccess123". Copy mykeystore.ks to the root of your jZebra project folder (probably %USERPROFILE%\Documents\NetBeansProjects\jZebra) If not already, open NetBeans (Version 6.8+). Make sure Java Web Start is enabled in project properties. Navigate to Files in upper left (if hidden, CTRL + 2) Expand nbproject folder. Double click jnlp-impl.xml. Scroll to the section that says "<!-- Custom - Modified by Tres Finocchiaro 12/8/2010 -->" (Alternately, you can CTRL+F to search for "tres"