Urgent Help Please
Hello!
When I run the built_samples.bat file when it comes to converter command and scriptgen command it gives me a error "Bad Command".Even for Jcwde and other tools it is giving bad command.
I know there is problem with classpath .I am writing my class path which I have given .Please tell me where I am wrong.
set JC21_HOME=C:\java_card_kit-2_1_2
set JAVA_HOME=C:\jdk1.3.1
SET PATH=%JC21_HOME%\bin;%PATH%
set CLASSPATH=c:\java_card_kit-2_1_2\bin;C:\java_card_kit-2_1_2\lib\api21.jar;C:\java_card_kit-2_1_2\lib\apduio.jar;C:\java_card_kit-2_1_2\lib\apdutool.jar;C:\java_card_kit-2_1_2\lib\jcwde.jar;C:\java_card_kit-2_1_2\lib\converter.jar;C:\java_card_kit-2_1_2\lib\scriptgen.jar;
Thanks in Advance .
Sheetal
[787 byte] By [
SheetalV] at [2007-9-26 14:53:44]

Hi,
This is the batch file contents. I have just used to do it.
SET PATH=C:\JC212\java_card_kit-2_1_2\BIN;%PATH%;
SET PATH=C:\jdk1.2.2\BIN;%PATH%
SET CLASSPATH=C:\JC212\java_card_kit-2_1_2
SET CLASSPATH=C:\jdk1.2.2;%CLASSPATH%
SET JAVA_HOME=C:\jdk1.2.2
SET JC21_HOME=C:\JC212\java_card_kit-2_1_2
set path=C:\commapi;%path%
set classpath=C:\commapi\comm.jar;%classpath%
Try it and write to me at latha@siptech.co.in
Reg,
Latha
One thing I've noticed is that you are missing the commapi stuff. Make sure you're using them.
Side note, you don't have to include any of the jars, api21.jar, apduio.jar, apdutool.jar, jcwde.jar, converter.jar or the scriptgen.jar in you classpath. Take a look at the various batch files and you'll notice that they already set them for you as long as you have JC21_HOME defined.