Giter Site home page Giter Site logo

dodev34 / intellij-idea-java-card-project-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fractalizer/intellij-idea-java-card-project-template

0.0 1.0 0.0 1.59 MB

Project template for Java Card applet development using IntelliJ IDEA IDE

Home Page: http://www.fractalizer.ru

Java 100.00%

intellij-idea-java-card-project-template's Introduction

IntelliJ IDEA JavaCard Project Template

This is a template project for Java Card development using IntelliJ IDEA IDE.

Setup

  1. Install latest 1.6.x Java SDK from here. (Java SE 6 Update xx JDK). 1.8 and next Java versions should also be ok. Just ensure javac can emit *.class files in 1.2 version (-source and -target command line switches)
  2. Open project using IDEA’s File -> Open project
  3. Go to Project -> Project Structure -> SDKs and add JDK you installed on step 1. If there is already something, you can delete it before adding newly installed JDK
  4. Go to File -> Project Structure -> Libraries. Remove current Classes entry. Then add either lib\Egate\lib\api.jar or \lib\jc221\lib\api.jar depending on the card type you develop applets for.
  5. Click on the helloWorld`` package in the Project view and press Shift-F6 to rename it to the name you like. The same goes to HelloWorld` applet.
  6. Open `Common.properties`` file and setup everything you need there according to comments, including path to JDK installation folder. Uncomment/comment entries, that control which card platform is the target.
  7. Open build.xml (this is an Ant build package so you need Ant plugin to be installed in IDEA) and correct entries, that follow ${APPLETAIDPREFIX} to suit your AID.
  8. To build applet, use Ant window on the right of the screen. Use binarize.all.egate to build applets for egate cards (experimental) and binarize.all.standard for Gemalto TOPs and similiar.
  9. Target files will be in the \out\helloWorld\javacard folder where helloWorld is your package name

If you have more than one applet in the project, edit build.xml and add a second entry under each tag with the info you need.

Now you have build your applet using IDEA's menu 'Build -> Make project.

intellij-idea-java-card-project-template's People

Contributors

fractalizer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.