Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:smartcard:javacardcompilation [2013-06-23 19:15] – [Usage hints] petrspublic:research:smartcard:javacardcompilation [2016-12-01 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== JavaCard applet development ======
 +~~NOTOC~~
 +<note tip>The description in section 'JavaCard applet development with NetBeans IDE' is outdated as we now have easier option.</note>
  
-====== JavaCard applet development with NetBeans IDE ======+===== JavaCard applet development with AppletPlayground/GlobalPlatformPro/JCardSim and JCAlgTest ===== 
 + 
 +  * Use AppletPlayground for compilation and conversion into JavaCard applet (by Martin Paljak): https://github.com/martinpaljak/AppletPlayground 
 +  * Use GlobalPlatformPro for upload of converted applets onto real cards (by Martin Paljak): https://github.com/martinpaljak/GlobalPlatformPro 
 +  * Read slides with JavaCard development tutorial (by Petr Svenda): {{:public:research:smartcard:javacard_2016.pdf|javacard.pdf}} 
 +  * Use JCardSim simulator to develop even without real smart card: https://jcardsim.org 
 +  * Consult JCAlgTest project for properties (supported algorithms, performance) of real smart card if you plan to buy one: https://www.fi.muni.cz/~xsvenda/jcsupport.html 
 + 
 + 
 +---- 
 + 
 + 
 +===== (OUTDATED) JavaCard applet development with NetBeans IDE =====
 (c) 2010-2011 by LaBAK FI MUNI (contact us at http://www.fi.muni.cz/research/laboratories/labak/) (c) 2010-2011 by LaBAK FI MUNI (contact us at http://www.fi.muni.cz/research/laboratories/labak/)
  
-{{:public:smartcard:scripttemplates.zip|Download script templates}} for common smart cards.+{{scripttemplates.zip|Download script templates}} for common smart cards.
  
 {{:public:smarthelloworld.zip|Download example project}} with standard Sun Java Card Hello World example with all configurations applied. {{:public:smarthelloworld.zip|Download example project}} with standard Sun Java Card Hello World example with all configurations applied.
  
-[[https://minotaur.fi.muni.cz:8443/~xsmolka/EurOpen_Tutorial/EU2011.zip | Download fully prepared Ubuntu VirtualBox image]] with preconfigured toolchain (1.3GB). Preconfigured JOpenPGPCard applet (PGP/GPG), CardEdge applet (PKCS#11, PKCS#15, ISO/IEC 7816-15), AlgTest (testing supported algorithms) and CesTa framework also included.+{{JavaCard_tutorial_2011.pdf | Download slides with JavaCard tutorial.}} To be used with Ubuntu VirtualBox image.
  
-{{:public:smartcard:JavaCard_tutorial_2011.pdf Download slides with JavaCard tutorial.}} To be used with Ubuntu VirtualBox image.+[[https://www.youtube.com/watch?v=khgT5dwKvOo Oracle JavaCard tutorial (2013)]]
  
 ===== Installation process ===== ===== Installation process =====
Line 226: Line 241:
  
   * Problem: Convert fails with: Error: Could not find or load main class com.sun.javacard.converter.Converter   * Problem: Convert fails with: Error: Could not find or load main class com.sun.javacard.converter.Converter
-    * Compilation was successful, but Converter was not found. +    * Compilation was successful, but Converter was not found. Check if your //jc.home// path is correctly set in nbproject\project.properties file. Note that you must use double \ in path (e.g., d:\\Apps\\JavaCardSDK2.2.2)