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]
# 1

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

lathanatesan at 2007-7-2 17:07:07 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
Hello! You can try this .Edit converter.bat & scriptgen.bat and Just Rem echo off. Neelesh
NeeleshD at 2007-7-2 17:07:07 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3

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.

DurangoVa at 2007-7-2 17:07:07 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 4
Possible reason - windows 9x usage. Batch files in 2.1.2 don't have ^Ms in the end of line, it works fine on NT and doesn't on 9x.
Alb at 2007-7-2 17:07:07 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 5
if you still have problem with classpath do like me , i hade the same problem but i solved it like this:set classpath=.;[bin]\..\classes;[bin]\..\lib\classes.zipif it works tell me about the result at hichamjabri@hotmail.com
funny_today at 2007-7-2 17:07:07 > top of Java-index,Java Mobility Forums,Consumer and Commerce...