Error on installing applet into JAVA Simulator

Hello all, i have a very basic question (well...for this you can see how newbie i am...)

I'm having problems installing an applet into the simulator.

My helloWorld.src file looks like this:

powerup;

// Select the installer applet

0x00 0xA4 0x04 0x00 0x09 0xa0 0x00 0x00 0x00 0x62 0x03 0x01 0x08 0x01 0x7F;

// create HelloWorld

0x80 0xB8 0x00 0x00 0x0b 0x09 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x00 0x7F;

// Select HelloWorld

0x00 0xA4 0x04 0x00 9 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x1 0x7F;

powerdown;

I run cref like this:

cref -o demoee

and apdutool like this:

apdutool helloWorld.scr > hello.out

then, the result i get is:

Java Card 2.2.2 APDU Tool, Version 1.3

Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

Opening connection to localhost on port 9025.

Connected.

Received ATR = 0x3b 0xf0 0x11 0x00 0xff 0x01

CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 09, a0, 00, 00, 00, 62, 03, 01, 08, 01, Le: 00, SW1: 90, SW2: 00

CLA: 80, INS: b8, P1: 00, P2: 00, Lc: 0b, 09, a0, 00, 00, 00, 62, 03, 01, 0c, 01, 00, Le: 00, SW1: 64, SW2: 43

CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 09, a0, 00, 00, 00, 62, 03, 01, 0c, 01, Le: 00, SW1: 6d, SW2: 00

so, the 6443 means

Applet not found for installation.

Cause: An attempt was made to create an applet instance, but the applet code was not installed on the card.

Solution: Verify that the applet package has been downloaded to the card.

so, what step did i miss here?

thank you

PS: i also tried with JCWDE but the error was the same

Message was edited by:

Helri

[1835 byte] By [Helria] at [2007-11-27 10:13:36]
# 1

I've noticed that my applet uses the java.lang package. For what i've read the CREF only has installed the Installer Applet and the javacard.framework package, so can that be the problem? i.e., do I have first to load the java.lang package into the simulator?

I really need help...i'm literally stuck on this....

Helria at 2007-7-28 15:27:49 > top of Java-index,Java Mobility Forums,Consumer and Commerce...