Problems with JCWDE in Win98 (Please help)

Dear all,
I am using the Win98, Sun's JDK 1.3.0, I have also "installed" the JC development KIT 2.1.2, and the CommAPI (from which I can run the BlackBox Examples Properly).
The problems are the following and I hope that you might be able to help:
1) the build_samples needed some modification and only after after that I managed to get the examples compiled, etc.
2) When I try to run the jcwde -p 9025 jcwde.app example from the /demo directory I get the following error messages:
c:\j\jc\samples\src\demo>jcwde -p 9025 jcwde.app
C:\J\JC\bin\jcwde.bat [18] Syntax error "c:\jbuilder5\jdk1.3\lib\comm.jar;C:\J\JC\samples\classes;C:\J\JC\lib\api21.jar;"
C:\J\JC\bin\jcwde.bat [18] Syntax error "c:\jbuilder5\jdk1.3\lib\comm.jar;C:\J\
JC\samples\classes;C:\J\JC\lib\api21.jar;.*"
C:\J\JC\bin\jcwde.bat [18] Unknown command "\samples\classes;c:\jbuilder5\jdk1.3\lib\comm.jar;C:\J\JC\samples\classes;C:\J\JC\lib\api21.jar;"
Java Card 2.1.2 Workstation Development Environment (version 0.18).
Copyright (c) 2001 Sun Microsystems, Inc. All rights reserved.
jcwde is listening for T=0 Apdu's on TCP/IP port 9,025.
java.lang.ClassNotFoundException: com.sun.javacard.samples.JavaPurse.JavaPurse
jcwde terminating on receipt of SimulationException. See previous messages for
cause.
I suspect something is wrong with the classpath but everything looks fine to me and I don't really know why I am getting this error message.
This is my classpath :
c:\jbuilder5\jdk1.3\lib\comm.jar;C:\J\JC\samples\classes;C:\J\JC\lib\api21.jar
I also looked into Sun's forum and I have followed the instraction from below, I have also followed the installation instructions in the JC manual.
I will appreciate it if you could Help,
Regards,
Kon
See do you have the java card Developers kit user's Guide with
you just go to page no 9 . you must be giving the jcwde -p 9025
jcwde.app command ok .
The first most important thing check if you are in demo dir This
is most important .Also check if you set the JC21bin environment
variable to bin subdirectory.Most of the time bcos of this you
get that error so you have to make sure you have set the
environment variable correct .
Try this thing's out hope this help's you if still you find
trouble just mail me at [email protected].
Bye:)
Neelesh dalvi

Thanks for the reply,
The JavaPurse.class file is in the specified directory.
The problem is that even if I try to load another file (Wallet) which is compiled manually (not through the build.bat) file I got the same error message.
It is true that the build.bat file for the JC2.1.2 needs some minor modifications in order to work otherwise it doesn't work in windows. I am surpised how it is released for the windows version without being properly tested.
Is the JC2.1.1 version more stable to use ???
Thanks,
Kon

Similar Messages

  • Firefox is having problems with "Southwest Airlines website" Please help soon

    Whenever I go on Southwest Airline website, it does not work. I am having this problem since last month. Please help on this as soon as you can.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Other things that need your attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    * Shockwave Flash 10.0 r22
    * Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://kb.mozillazine.org/Java
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Problem with adobe acrobat/reader - please help!

    Hello,
    My acrobat reader was fine and I was able to open the pdf files sent to me, then suddenly it just wouldn't open anything at all.  It went into open mode and just stayed there, and wouldn't let me close it.  Then I got a message saying "there is a problem with adobe acrobat/reader.  Please exit and try again".  I've done this lots of times and it still isn't working.
    I would be very grateful for any help or suggestions.  I have windows 7, and as I said its all been fine up until now.
    Thanks.
    mspryce.

    This is the Acrobat forum, not the Reader forum. You should check the reader forum. In the meantime, if you are not running AR9.3 or so, you should update. Prior versions before 9 are not designed for Win7 and that might be your issue -- you gave no indication of version.

  • Problem with Logic XS Key, PLEASE HELP

    I use my G4 Powerbook laptop for live. I am running most recent version of logic.
    What happens is that Logic will load up fine, but then for no apparent reason logic will come up with an error message saying that the logic key has been removed, but i have not touched it!! I then have to restart logic.
    PLease help i have to get this sorted ASAP cuz i have a gig tomorrow nite. Cheers guys

    Hmm, it does it on both USB ports? And you haven't noticed any problems with other USB gear on those ports?
    When the key is next not recognised by Logic, go into the system profiler and find your USB port that the XS key is on - the XS key will be labelled when it's functioning correctly. Is it still recognised by the computer, or has it gone completely?

  • Problem with simple drawing program - please help!

    Hi,
    I've only just started using Java and would appreciate some help with a drawing tool application I'm currently trying to write.
    The problem is that when the user clicks on a button at the bottom of the frame, they are then supposed to be able to produce a square or circle by simply clicking on the canvas.
    Unfortunately, this is not currently happening.
    Please help!
    The code for both classes is as follows:
    1. DrawToolFrame Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolFrame extends Frame
    implements WindowListener
    DrawToolCanvas myCanvas;
    public DrawToolFrame()
    setTitle("Draw Tool Frame");
    addWindowListener(this);
    Button square, circle;
    Panel myPanel = new Panel();
    square = new Button("square"); square.setActionCommand("square");
    circle = new Button("circle"); circle.setActionCommand("circle");
    myPanel.add(square); myPanel.add(circle);
    add("South", myPanel);
    DrawToolCanvas myCanvas = new DrawToolCanvas();
    add("Center", myCanvas);
    square.addMouseListener(myCanvas);
    circle.addMouseListener(myCanvas);
    public void windowClosing(WindowEvent event) { System.exit(0); }
    public void windowOpened(WindowEvent event) {}
    public void windowIconified(WindowEvent event) {}
    public void windowDeiconified(WindowEvent event) {}
    public void windowClosed(WindowEvent event) {}
    public void windowActivated(WindowEvent event) {}
    public void windowDeactivated(WindowEvent event) {}
    2. DrawToolCanvas Class:
    import java.awt.*;
    import java.awt.event.*;
    public class DrawToolCanvas
    extends Canvas
    implements MouseListener, ActionListener {
    String drawType="square";
    Point lastClickPoint=null;
    public void drawComponent(Graphics g) {
    if (lastClickPoint==null) {
    g.drawString("Click canvas first",20,20);
    } else {
    if (drawType.equals("square")) {
    square(g);
    else if (drawType.equals("circle")) {
    circle(g);
    public void actionPerformed(ActionEvent event) {
    if (event.getActionCommand().equals("square"))
    drawType="square";
    else if (event.getActionCommand().equals("circle"))
    drawType="circle";
    repaint();
    public void mouseReleased(MouseEvent e) {
    lastClickPoint=e.getPoint();
    public void square(Graphics g) {
    g.setColor(Color.red);
    g.fillRect(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void circle(Graphics g) {
    g.setColor(Color.blue);
    g.fillOval(lastClickPoint.x, lastClickPoint.y, 40, 40);
    g.setColor(Color.black);
    public void mouseEntered(MouseEvent e) {}
    public void mouseExited(MouseEvent e) {}
    public void mousePressed(MouseEvent e) {}
    public void mouseClicked(MouseEvent e) {}
    Any help would be appreciated!

    Some of the problems:
    1) nothing calls drawComponent(Graphics g)
    2) Paint(Graphics g) has not been overriden
    3) myCanvas is declared twice: once as an instance variable to DrawToolFrame, and once local its constructor. Harmless but distracting.

  • Problem with Desktop Skype freezing, please help

    2 days ago, Dec. 23rd, I started up Skype as usual, but after about a minute, it froze, soon becoming "not responding". I opened Task Manager to try to end it manually, but Task Manager quickly became "not responding" as well, as did Chrome when I opened it when I tried to search for a solution. This had never happened before, and since has only happened when I am trying to use Skype for Desktop. I tried uninstalling and reinstalling multiple times, switching to an older version, and running an antivirus scan to see if a virus might be causing the problem, but none of this helped, and it still freezes itself along with all my other programs, forcing me to restart my computer if I want to be able to use it. I have been using Windows 8 Skype instead today, with no problems, but Skype for Desktop is more convenient for me, and I would very much appreciate it if someone would please help me.
    Also, I don't know if this might be related to the problem, but today I had Task Manager open before starting Skype for Desktop, hoping I could end it before it caused everything to freeze (I couldn't), I was able to see before it froze that Skype was using 100% of my Disk.
    Solved!
    Go to Solution.

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Weird problems with kt7 turbo (6330), PLEASE HELP!!

    I just this last week purchased an older kt7 turbo (6330) to upgrade my brother's computer. I am pairing this with an Athlon XP 1700 processor. After installing all the hardware and booting up the computer, I started getting various errors. Sometimes the screen would just flash all kinds of colors, sometimes it would say something about a bios check not detecting the a: drive followed by insistent beeping, sometimes it just wouldn't start at all. After much hassle, I finally got the newest bios installed from MSI that claimed to fix some stuff between this motherboard and an Athlon XP 1700. (I didn't at the time suspect this to be the true culprit) Finally on Sunday afternoon, after a cold start, it magically started up and I finally got Windows XP installed. I found some drivers on the reference CD that seemed to help some. But now, after about 5-10 minutes, depending on the software being used, the computer will just shut itself down after a 60 second warning message. When I try reseting it, I start getting all of those weird errors again. The only way to get the computer to start up normally again is to let it sit for about 10-15 minutes to cool down, and then cold start it. At which point it will work again for another 10-15 minutes and shut down again. I am getting SOOOOO tired of these MSI motherboards not working for me!! I think MSI has a personal problem with me. PLEASE help me!! By the way, I don't think it's power related, cause I just put in a brand new P4 certified 400Watt powersupply.

    Sounds like your heatsink on your CPU may not be seated correctly. Try pulling it, cleaning, reapplying compound, and reseating it.

  • Problem with touch screen. Please help!!!

    Ok I bought an iPad about a month ago now. At first it worked perfectly, runs apps smoothly, etc. But then something happened to the touch screen, it just randomly like pressed itself, it went into apps on its own and zoom in and out while on safari just randomly. For about 3 weeks this issue disappeared, but now it happens again but more constantly and for more time please help. I think this video will explain my issue more clearly. http://www.youtube.com/watch?v=e1qyvHV43yg Please I just don't want this issue anymore. Any help will be appreciated.

    OK...so it seems that many iPad owners have the same issue with the screen "self registering touches". You'll see multiple posts on the forums from "self touching" to "self registering" to "freaking out".
    Well, I also have this annoying problem.
    Trust me when I say that cleaning the screen, resets, charging, deleting apps, static, and so on haven't anything to do with causing or resolving this issue.
    Here is a little tip to show you what is actually going on. Download a free app that shows you "screen touches". Harbor Master is one that I've heard of that led me to this...but I prefer to use that pocket pond app...only because I can just sit back and watch without having to move boats around.
    ...When you notice the problem, open up the app. I've noticed on mine that it only self registers touches along the side. Exact location is (when holding iPad in landscape position, home button on left) along the top of the screen...from top middle to the top right corner.
    I have called Apple...the tech was polite and tried to help. ...But the only suggestions were to reset (as i've already done) then if that didn't work I was to do a reload while sync'd. He stated that if none of that worked then to take it to the store...
    Since I am in Florida for the month and the nearest Apple store is 6hrs away...I will wait until I go back home HI and visit a store that is close by.

  • PROBLEM with a PEARL 9105 please help me

    Hi ,I've got  a PEARL 9105 (with 14 characters) and I had a problem with it so I made an upgrade of it but when I upgraded it the phone is regognize by the Os as a 9100 with 20 characters. So I can't write correctly an sms or mail or anything . I tried to upgrade again but without success. Please HELP ME.

    Hey dumpeal2,
    Welcome to the forums.
    Try following the instructions here to backup and do a clean reload of your device software. http://bbry.lv/cKy9A0 if you get the same result then I would suggest contacting your service provider and have them escalate your issue to RIM. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Problem with my code!Please help:(

    Hi
    Here is the final code to read each byte at a time (using buffered input stream)from a remote sensed image and then store the values in 3 arrays . The image data (it is a remote-sensed image with 3 bands) are represented as a continuous byte stream band sequential. The format of the header is as follows:
    Bands (int)
    Rows (int)
    Cols (int)
    Bits-per-pixel (int)
    and then the image data follow.
    the code is:
    import java.io.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.Panel.*;
    import java.util.*;
    import java.awt.image.MemoryImageSource.*;
    public class Reader {
    public static void main (String args []){
    int numBands;
    int rows;
    int cols;
    int bpp;
    byte[] band1;
    byte[] band2;
    byte[] band3;
    try {
    FileInputStream fis = new FileInputStream ("BROM3.mar");
    BufferedInputStream bis = new BufferedInputStream (fis);
    DataInputStream dis = new DataInputStream (bis);
    numBands = dis.readInt();
    rows = dis.readInt();
    cols = dis.readInt();
    bpp = dis.readInt();
    if((dis.readByte() !='.') ||
    (dis.readByte() !='\r') ||
    (dis.readByte() !='.'))
    throw new Exception ("Bad format: end-of-header expected !");
    int nBytes = rows*cols*bpp/8;
    band1 = new byte[nBytes];
    band2 = new byte[nBytes];
    band3 = new byte[nBytes];
    for (int j=0; j<nBytes; j++) {
    band1[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band2[j] = dis.readByte();
    for (int j=0; j<nBytes; j++) {
    band3[j] = dis.readByte();
    } catch (Exception e) {
    e.printStackTrace();}
    * Creates three objects of the ImagePanel class
    * and sets the size of both.
    ImagePanel panel1 = new ImagePanel() ;
    ImagePanel panel2 = new ImagePanel() ;
    ImagePanel panel3 = new ImagePanel() ;
    panel1.setSize (512,512);
    panel2.setSize (512,512);
    panel3.setSize (512,512);
    * Converts the 3 arrays into
    * images using the MemoryImageSource class and the Panel's
    * createImage method.
    Image green = panel1.createImage(new MemoryImageSource(512,512,band1[],0,512));
    Image blue = panel2.createImage(new MemoryImageSource(512,512,band2[],0,512));
    Image nir = panel1.createImage(new MemoryImageSource(512,512,band3[],0,512));
    * Displays the images.
    panel1.setDisplayImage (green);
    panel2.setDisplayImage (blue);
    panel3.setDisplayImage (nir);
    * Creates two Frame objects to display the panels in and
    * sets the size of both.
    Frame frame1 = new Frame ();
    frame1.setSize (512,512) ;
    frame1.add (panel1);
    Frame frame2 = new Frame();
    frame2.setSize (512,512);
    frame2.add (panel2);
    Frame frame3 = new Frame();
    frame3.setSize (512,512);
    frame3.add (panel3);
    * Makes the panels and the frames visible
    * and sets the location of the frames.
    panel1.setVisible (true);
    panel2.setVisible (true);
    panel3.setVisible (true);
    frame1.setVisible (true);
    frame1.setLocation (100,100);
    frame2.setVisible (true);
    frame2.setLocation (512,100);
    frame3.setVisible (true);
    frame3.setLocation (1024,100);
    } //End of main
    there is a problem especially in the MemoryImageSource bit.Can you please help me?
    Thank you very much
    Maria

    It usually helps to know what the problem is before trying to solve it. Perhaps you could tell us?

  • Problem With Swf File. Please Help!!!!

    Hi! I recently got adobe flash cs4 and i tried to create swf wallpaper (flash lite 1.1), so everything looked good, untill i opened the file. The problem is its constantly blinking, like its refreshing with every second or frame or something. Then i transfered it to my phone and theres no change. I had the same problem with CS3...I attached the sample, if someone cares to see...Please can somebody help me??? Thank you!

    I think (at a first look) that you should put a stop() command at each frame of your movie.
    Playhead is running through your movie from one frame to another and back to beginning if you don't stop it with stop() command.
    What I mean is:
    in frame one of your movie put ActionScript: stop();
    in frame two of your movie put ActionScript: stop();
    etc.
    If navigation through your movie is linear, like some animations then don't put this AS in frames, but it seems to me that this will solve your problem.
    For more (if this isn't helping) upload your movie along with ActionScript.

  • Big problem with my 4th Gen, please help !!!

    Hi guys.
    Well I've a big problem with a 4th gen Ipod. The prob is that the Select button on the middle doesn't work.
    I've tried everything : Did a reset, a complet restore from Itunes 7, but it was unsuccesful.
    I don't really understand the problem, I was using the Ipod normally then suddenly the button didn't work !!
    Please help me. In addition, I cannot carry it to the Apple Centre because I live in Algeria.
    Thanks.

    No ideas ???
    I've tried to open it as well, I've unplugged all the connectors, cleaned it with alcohol, but the button still not responding.
    Do you think that the problem would come from the logic board ?? Because the button itself worked (I used a METRIX to test it), and I can make a reset with no problem (the reset needs the central button).
    Please help me. Thanks.

  • A problem with the BBM Bold9900 please help me !!

    Hey All , i have a probem with my BBM , when i write something in personal message my conacts can't see what i wrote and when i put my status busy it shows that i'm avaliable, so please i want you to help me !!!!!!!!!!

    Answered in your original thread.
    http://supportforums.blackberry.com/t5/Device-software-for-BlackBerry/a-problem-with-the-BBM/m-p/139...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have problem with my account icloud please help me

    i have problem with my account icloud as i am trying to delete "find my iPhone" in order to format my iPhone .. The main problem in my mobile as my mobile cannot be connected with the data service and "searching" word is appear. Note: my SIM is working

    Hi ELMIR_012,
    Thanks for visiting Apple Support Communities.
    It sounds like you may be setting up your iPhone after updating to iOS 7.
    You may want to skip signing into your Apple ID (iCloud account) until your phone is set up. You will be able to sign into your iCloud account later. See this article for more information:
    iPhone, iPad, iPod touch: How to get started
    http://support.apple.com/kb/ht4053
    Sign in with your Apple ID, which you've created previously, or create a free Apple ID.
    Alternatively, you can tap Skip This Step to sign in or create an Apple ID later.
    If you require assistance with your Apple ID, please see Apple ID Support for more information.
    Additionally, this page can help with resetting your password:
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Best Regards,
    Jeremy

  • MIR7...a problem with an invoice..PLEASE HELP!!!

    Hi all,
    i just want to create a preliminary invoice in the Tx. MIR7, but something happen with the item i want to add to the invoice and, doesnt let me create the preliminary invoice a throw the follow "error": Error in routing MRM_DRSEG_FILL(SAPLMRMH). Why the Tx. shows me that "error"?. Please help, i'm debugging the standard and i cant figure out what is the problem with the item.
    Thanx in advance

    Hi Mariana ,
    I am facing exactly the same error.
    Can you please guide as to how you solved the problem.
    Regards
    Suman Chakraborty

Maybe you are looking for