Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

The Java card simulator (cref.bat) should poll the card reader, shouldn't it?

 
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run the Java sample 'Applet', it is powered down instantly after I typed in "ant all" and all operations are completed?
BTW, I cannot get "Add Platform" to work in Netbeans IDE, All I see is a bunch of files.I don't see the dialog described in the documentation.

In this .scr file (APDU Script), I understand the first 4 bytes, it means to create an Applet, but what about the rest? I know there are some intermixes of lengths and AIDs, I just can't decipher this.
// create wallet applet
0x80 0xB8 0x00 0x00 0x14 0x0a 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x6 0x1 0x08 0 0 0x05 0x01 0x02 0x03 0x04 0x05 0x7F;
Thanks
Jack
 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have these when executing the RMIPurse sample according to the user guide



At the first command prompt, I typed cref -o demoee
and at the next command prompt, I typed ant all, and I got those error messages.
Thanks
Jack
 
Bartender
Posts: 10777
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jack Luk wrote:I have these when executing the RMIPurse sample according to the user guide
...
At the first command prompt, I typed cref -o demoee
and at the next command prompt, I typed ant all, and I got those error messages.


We're going to need an awful lot more information than that.
For starters, this looks like a very specific API,and I still don't know what it is, or what this RMIPurse class is.

The closest I can find is this OTN thread from a year ago.

My suggestion: read the HowToAskQuestionsOnJavaRanch (←click) page (also, this one) and get back to us.

Winston

PS: Those incredibly long lines make your thread very hard to follow. I suggest you re-read the UseCodeTags page as well.
 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My locale is BIG5 if that matters.
I cannot find any documentation on this error message.

build.xml





It seems to be some thing wrong with this string, but I don't know how

applet.opt



Thanks
Jack
 
No, tomorrow we rule the world! With this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic