Beginner! HelloWorld won't execute (Eclipse, JCOP)

Hello,
I am about to get some insight into Java Card programming and try to get things to work!
My environment is Eclipse 3.6.2 and JCOP 3.3.2 on Win7 x64.
So I tried to execute a simple HelloWorld program (http://umer555.wordpress.com/2012/05/17/java-card-hello-world-applet/) and get the error:
"+- /term "tcl:10"+
+jcshell: Command </term> failed: java.lang.UnsatisfiedLinkError: com.ibm.jc.terminal.NativeJCTerminal.setup(Ljava/lang/String;I)V+
+Unexpected error; aborting execution+"
So I guess something might be wrong with my card reader! In the run configurations I can only check the Philips Pegoda Reader but I am using an Omnikey CardMan (with up2date drivers)
So my big questions: what am I doing completely wrong here?
Hope you can help me!

The reader itself works!
I have another simple java project to find out if the connection works, but I simply don't know why I cannot run a Java Card project with the reader I installed and I cannot find any to "add" a new installed reader...

Similar Messages

  • Beginner Question: Won't execute index to nested while loop

    Problem:
    I have a nested while loop inside a for loop. The for loop runs over and over from 0 to 587. I want the while loop to only execute when the for loop hits 587 by means of a continue condition which is on when 587 = [ i ], the for loop iteration number. However when I try to change the value sent to the while loop from 588 none of the probes execute. This is bad because the index only runs from 0 to 587 and never equals 588.
    Context:
    This is for real time video analysis. Trying to convert a 658 x 492 color video feed frame by frame into low resolution grayscale video. With this index error the output is currently the top left 1/4 of the image, repeated in a 2x2 grid on the image display.
    The VI is attached. I'm very appreciative of your thoughts on this.
    Attachments:
    Bin.vi ‏237 KB

    The for loop is responsible for processing a frame. At the completion of the execution of [ i ] from 0 to 587, the replace array VI outputs the final product of the frame. So every time [ i ] = 587, the replace array VI needs to send its array to the arraytoimage, which in turn must send the image to the image display.
    I got rid of the while loop and replaced it with the case structure. 
    Maybe the problem is with the false case of the case structure? I want to continue outputting the same image for the next [0, 586] each time after it sends an updated image on the [ i ] = 587 iteration.
    Attachments:
    Bin.vi ‏238 KB

  • Open VI Reference Function won't execute in multi process application

    I have a sub vi with Reentrant execution, and it has
    recursive call on some cases.
    It is very similar to OpenG VI “Read Key
    (Variant)__ogtk.vi”, my sub vi works without any problem unit LabVIEW’s Two
    Button Dialog is opened in other process loop.
    I have attached a Test VI, and would like to understand why
    would Loop 1’s Dialog box have any execution impact on Loop 2’s process?
    Why Open VI Reference Function won’t execute when Two Button
    Dialog is opened in other process?
    LabVIEW version 8.6
    Thanks,
    Attachments:
    Test Vi.zip ‏17 KB

    Broken Arrow wrote:
    LabVIEW's native dialog box is Modal. It will not let anything else run which requires (or MAY require) user input. In the case of your code, LabVIEW can't open a VI with a modal process going.
    Broken Arrow thanks for your reply, but not sure if I understand Modal dialog box would cause the problem.
      I already had a work around by using Three Button Dialog VI, and it is s Modal VI.
      I would still like to understand, why would DataFlow halt at Open VI Reference Function in Loop 2 when I use when Two Button Dialog?
    Attachments:
    Test Vi 2.zip ‏20 KB

  • Eclipse-jcop project building { create .cap file } problem??????????????

    hello all,
    I am using jcop tool plugin with eclipse and my atr is:-
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManager--Waiting for card...
    ATR=3B E9 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 32    ;....1.EJCOP41V2
        32 A7                                              2.everything is fine with sample applet { it contain a empty process () or gives 90 00 for select applet apdu }
    I am using eclipse ide and jcop plugin, basically my problem is to building project when any changes occoured, initially when i start a new project with steps like:-
    1- java card project
    2-java applet
    3-package id
    4-applet id
    5-basic template of applet
    N- finish
    ok
    then when screen open, at the left side i saw cap file propery window ,and automatically there are cap file in bin folder.
    It means jcop tool used converter to make .cap file, but when i add some lines according to my requirment,
    I am unable to build it again or unable to get a new cap file. May be i need to set some build path , but first time it automatically build so it also indicate that there are no need to set the build path. I am confused in this area.
    Is i need to reference the path of converter.jar { jcdk 2.2.1 }? or jcop plugin also have the required jar for converting .class to .cap , inside it. how i rebuild it and make a new fresh .cap file.
    some jar file which i paste in plugin folder of eclipse are:-
    com.ibm.bluez.jcop.eclipse.demopack_1.0.2.jar
    com.ibm.bluez.jcop.eclipse.perftest_1.0.2.jar
    com.ibm.bluez.jcop.eclipse.signlite_1.0.2.jar
    com.ibm.bluez.jcop.eclipse.targetpack.gemplus_1.0.0.jar
    com.ibm.bluez.jcop.eclipse.targetpack_1.0.3.3.jar
    com.ibm.bluez.jcop.eclipse_1.0.3.3.jar
    com.ibm.bluez.jcop.eclipse_3.1.1.a.jarbefore i was using JCDE plugin for simulation process but here i did not use JCDE, I have only eclipse + jcop plugin
    I tried to tell you, what is my problem, If you still have any doubt , Let me know.
    Waiting for your reply and thanks for your time ............

    Thanks Umer for your suggestion , but i dont need to do this, It was my silly mistake to handle the things properly.
    Initially i was unable to getting the eclipse and JCOP concept, but now i do. now I am able to build the project or eclipse is building it automatically !!!! I faced this problem b'se i am a newbie in java card. but now things going good to me.
    I want to share my getting here:--
    My dout was - Is jcop intially have all the Jar's , converter which is required to create a cap file????
    My ans is - Yes, EVERYTHING IT HAVE INSIDE.
    you just get eclipse ide and get jcop plugin, and paste jcop plugin jar's inside the plugin folder of ecipse and START ECLIPS AGAIN.
    NOW EVERYTHING IS SET FOR YOU,
    NO REQUIREMENT OF JCDE-java card development envoirnment
    no requirement of jcdk- java card development kit ,
    no requirement of set any build path in eclipse. just make your applet , and run with jcop tool.ECIPSE AUTOMATICALLY BUILD OPTION WILL CREATE A FRESH .CAP FILE WHENEVER U MADE A NEW CHANGES
    cheers!!!

  • PHP won't execute on Dream Weaver testing server

    I have successfully installed an Apache server and MySQL using Xampp.  Using Dream Weaver (CS5.5) I've created .php pages which (after setting up the site and testing server) successfully connect to a database.  However, php code on those pages won't execute.  The pages only display the text code when IE or Firefox links to http://localhost/filename.php.  Following is the Apache log file entries for those failed attempts. [Tue Jul 17 08:20:03 2012] [notice] Child 2656: Starting thread to listen on port 443. [Tue Jul 17 08:20:03 2012] [notice] Child 2656: Starting thread to listen on port 443. [Tue Jul 17 08:20:03 2012] [notice] Child 2656: Starting thread to listen on port 80. [Tue Jul 17 08:20:03 2012] [notice] Child 2656: Starting thread to listen on port 80. [Tue Jul 17 10:38:28 2012] [error] [client ::1] script 'C:/Program Files/xampp/htdocs/phpinfo.php' not found or unable to stat [Tue Jul 17 10:51:25 2012] [error] [client ::1] script 'C:/Program Files/xampp/htdocs/phpinfo.php' not found or unable to stat I've run out of ideas about how to solve this.  Anyone?

    If PHP is running in other locations, then it's a configuration issue with the server whereby PHP is not allowed to run in the folder you have specified.  I can tell you filenames and areas to look for, but I'm personally have never found the XAMPP installation to be the most intuitive when it comes to editing which is why I pointed you in their direction.
    If you look in the httpd.conf file, you should see a DocumentRoot defined.  Make sure that the site definition is within that document root.  There should also be a Directory declaration ( <Directory "/path/to"> ) that should match the path of your DocumentRoot.  It is possible to serve documents from different areas of your computer.  Ususally this is done when you have things like phpMyAdmin above the root, so if you see multiple entries in there, some of which XAMPP installs itself, you should leave them alone and ask their support forum for help because they will know which entries the application puts in that you will not want to remove.

  • Captivate 3 Published file won't execute JavaScript

    Pulbished Captivate 3 course.   Final screen has an exit button with the following script:  ab_SetScoreStatus(100,'completed');ab_CloseWindow();       When I post the course to our LMS it uploads fine, but when I try and run the course I get an error when I click on the Exit button and it doesn't do anything.   I had someone try the same thing on their computer and it works fine for them so I'm thinking it's something with my settings.   This used to work for me but then I got a new computer so not sure if the settings (IE, Flash or ????) are different or what.   I'm running Flash 10, and IE 8.   Any help would be greatly appreciated.  Thank you.

    Good morning Rick, and thank you for trying to help.
    Sheri Delaney
    From: Captiv8r [email protected]
    Sent: Wednesday, February 16, 2011 3:59 PM
    To: Delaney, Sheri
    Subject: Captivate 3 Published file won't execute JavaScript
    Welcome to our community
    See if the following links help.
    http://forums.adobe.com/thread/473021#5
    http://forums.adobe.com/thread/473021#10
    Cheers... Rick
    http://www.robowizard.com/pc.gif
    Helpful and Handy Links
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com

  • .load method won't execute in published .swf

    Hello
    This line of code won't execute in a published .swf. Test movie (ctrl + enter) works fine.
    j_session = new URLVariables();
    j_send = new URLRequest("https://web.e-fon.ch/portal/j_acegi_security_check");
    j_loader.load(j_send);
    I'm assuming it's some type of network permission. Ideas?

    upload to a server and test or add the file that contains that code to your trusted files.
    also, you may need a cross-domain permissions file if that is a cross-domain request (if it's not, use a relative path) and you expect something returned to your flash.
    also, you're not defining or sending any variables which may or may not be an issue.

  • Cannot start the GSM Phone Simulation in Eclipse/JCOP

    When I try to start the GSM Phone Simulation in Eclipse with the JCOP plugin, I get the following error : Unable to instantiate view: com.ibm.bluez.jcop.eclipse.views.phone.
    Please help.

    The current Eclipse JCOP Tools plugin does not include the GSM Phone Simulator.

  • Eclipse + JCOP error??

    Hi,
    I kept getting the error:
    "The project was not built due to "Could not delete: C:\eclipse\workspace\USIMApp\bin\uicc\toolkit\ViewHandler.class.". Fix the problem, then try refreshing this project and building it since it may be inconsistent" whenever I try to "Build All" the project.
    I will then have to close Eclipse & delete the output bin folder manually, and then restart Eclipse again. Only then I can build again.
    Anyone knows how to solve this nagging problem??
    Many Thanks!!!
    Eric

    This shouldn't happen everytime. I sometimes stumble upon this problem, usually if Eclipse was not shut down cleanly and the builders are in an inconsistent state. If this happens all the time, I would file a bug report with the JCOP team.

  • Jar file won't execute

    I have written a program to manipulate an access database, it works fine from Eclipse but when I create a jar file using Jarbuilder 0.8, this jar file wont execute. It returns
    Exception in thread "main" java.io.IOException: invalid header field
    at java.util.jar.attributes.read(Unknown Source)
    at java.util.jar.Manifest.read(Unknown Source)
    at java.util.jar.Manifest.<init>(Unknown Source)
    at java.util.jar.Jarfile.getManifest(Unknown Source)
    The whole set of classes is online together with the database at users.skynet.be/NewOne/Televisie.rar (with Hoofdvenster as Manifest)
    and the jar file at
    users.skynet.be/NewOne/Televisie.jar
    I was wondering, do I have to include anything special because i m working with an ODBC here, or what else could be the problem ?
    All comments and suggestions are welcome, thnx in adance !!

    Hi there!
    After a brief look at your manifest a saw that you specifie the path to your main-class like this:
    Main-Class: gui/Gui
    ...and when you make the jar-file you type:
    jar cmf Manifest.txt JAppointment.jar Gui/*.class ...etc..
    Remember that Java is case-sensitive and look at "gui" and "Gui" differently!
    Maybee that could be the problem?
    /Andrew

  • I can not create interface [Eclipse - JCOP Tools Problem]

    Hello Dear All,
    I have a problem about Eclipse and I want to demonstrate it with an example.Let's say there are two applets, called A and B. I want to share a function of A applet with B applet. To do it, I create an interface(File -> New -> Other -> Interface) and then, a problem occured. For all open projects in eclipse, eclipse shows this error message: "Unsupported Java compiler: Class files with version: 50.0 [Major.minor] are not yet supported by JCOP Tools."
    I worked on this situation too much however I could not solve this problem, I need your help.
    (I use last version of Eclipse and JCOP Tools)
    Thanks in Advance,
    Kindly Regards
    Selcuk

    JCOP Tools does not support Java 6 yet. Reason is the CAP file converter. Just set the Java compiler compliancy in Eclipse to 1.5 and you should be fine.

  • New iPod, tried downloading software, but it won't execute

    I just won this iPod at work, it's a 30 gb with color screen. I've tried following the instructions and downloading the software, and that all seems to work fine, but then when I try to execute it, I get a message saying "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." I've tried some of the fixes I found here, but nothing seems to work. Also, when I plug in m iPod, it just states "Do not disconnect". I had it connected all day, and that never changed. Is apple just having problem with their new version of software? Or is it something else? I have a fairly new lap top (Dell 9300 with Windows XP media edition). Thanks!

    that all seems to work fine, but then when I try to execute it, I get a message saying "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience."
    let's first check to see if this is associated with a problem with your QuickTime. (iTunes needs a properly functioning QuickTime in order to work correctly.)
    try launching your QuickTime. does it:
    (a) launch perfectly fine?
    (b) fail to launch with an error message? (if so, what does it say?)
    (c) exhibit other peculiar behavior? (if so, could you describe it for us?)

  • JVM won't execute code

    Recently, whenever I try to execute a program (a .class file) with the JVM, I get a java.lang.noClassDefFoundError exception. For example, I take a simple test program:
    package test;
    public class HelloWorld {
        public static void main(String[] args) {
         System.out.println("Hello world");
    }This compiles fine into a HelloWorld.class file, as would be expected. Also, javap test.HelloWorld outputs:
    public class test.HelloWorld extends java.lang.Obje
        public test.HelloWorld();
        public static void main(java.lang.String[]);
    }... which is also what's expected. The only thing that isn't working is java test.HelloWorld. It doesn't work any better if I remove the package declaration, take the HelloWorld.java file out of the test directory, and recompile it, nor does the JVM execute any other programs. When this happened once before, I uninstalled the JDK and JRE and re-installed them, which solved the problem for a few days, but I tried that this time and didn't get any results.
    Here's what I get when I type in the command java -version
    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)and I'm running from the command prompt in Windows XP. Any ideas with what's going on would be appreciated.
    Thanks.
    --Jay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I guess in pre-1.5 versions of the JVM, the current
    working directory was already included in the
    classpath but in 1.5, it's not.1.5.0_06 finds classes in the current directory without a classpath setting, as the documentation says. I suspect your problem was that you had a classpath set that didn't include the current directory.

  • How do I install iCloud for Windows 7 using icloudsetup_exe Apple download that won't execute?

    When I download the iCloud for PC application, Apple provides a non-editable file name icloudsetup_exe instead of a normal windows executable name such as icloudsetup.exe, so after double clicking on the setup file, Windows then asks what application to open this file with, instead of executing the setup file.  Has anyone figured out how to make this work?

    Yeah, I use Windows on bootcamp for both my Imac and my Macbook Pro.
    In fact, seeing as my Mac partition on my external hard drive was successful i.e. I installed and can boot from them any time I like, couldn't I just use the external hard drive's partitions' bootcamp assistant and install/boot windows on there?

  • Compile fine in Netbeans, won't execute

    After I compile my file in netbeans, i try to run it and get this error:
    java.lang.NoClassDefFoundError: Game/src/game/Main (wrong name: src/game/Main)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Exception in thread "main"
    What does this mean? Anyone?
    Here is my code
    * Main.java
    * Created on February 7, 2005, 12:34 AM
    package src.game;
    * @author Marcus
    import java.util.Random;
    import java.io.*;
    public class Main
        public static void main(String[] args) throws IOException /** Creates a new instance of game */
            System.out.println("Welcome to LETS MAKE A DEAL!!");
         Random gen;
         InputStreamReader isr;
         BufferedReader buff;
         int user_door;
         int win_door;
            int open_door;
            int closed_door;
         int second_choice;
            String line;     
            String line2;
         gen = new Random();
         isr = new InputStreamReader(System.in);
         buff = new BufferedReader(isr);
         win_door = gen.nextInt();
         win_door = Math.abs(win_door);
         win_door = 1 + win_door%3;
            open_door = 0;
            closed_door = 0;
                if (win_door == 1)
                    /* when win_door = ? then set the other two variables to the other two unused values */
                   open_door = 3;
                   closed_door = 2;
                if (win_door == 3)
                   open_door = 1;
                   closed_door = 2;
                if (win_door == 2)
                   open_door = 1;
                   closed_door = 3;
            System.out.print(" Which door do you want to choose?");
            System.out.print("Door number 1, 2 or 3? ");
            line = buff.readLine();
         user_door = Integer.parseInt(line);
              if (user_door != win_door )
                   System.out.println("Behind door " + open_door + " is a Booby prize! ");
                            System.out.println("You have chosen door " + user_door + "");
                            System.out.println("Do you wish to switch to door? " + win_door);
                            System.out.println("Enter 1 for yes, and zero otherwise" );
                            line2 = buff.readLine();
                            second_choice = Integer.parseInt(line2);
                            if (second_choice == 1)
                                user_door = win_door; // Then change user_door to value of win_door
                            else
                                user_door = user_door; // Else you do nothing
                            System.out.println("Your final choice is door " + user_door);
                            System.out.println(" The good prize is located behind door" + win_door);
              if (user_door == win_door )
                   System.out.println("Behind door " + open_door + " is a Booby prize! ");
                            System.out.println("You have chosen door " + user_door + "");
                            System.out.println("Do you wish to switch to door " + closed_door + "?");
                            System.out.println("Enter 1 for yes, and zero otherwise" );
                            line2 = buff.readLine();
                            second_choice = Integer.parseInt(line2);
                            if (second_choice == 1)
                                user_door = closed_door; // Then change user_door to value of closed_door
                            else
                                user_door = user_door; // Else you do nothing
                            System.out.println("Your final choice is door " + user_door);
                            System.out.println(" The good prize is located behind door" + win_door);
            if (win_door != user_door )
                   System.out.println("Ach, you got the Booby prize! ");                       
                    else
              System.out.println("Congratulations! You won!");
    }

    According to netbeans, your package should be
    Game.src.game

Maybe you are looking for

  • Upgrade from 10.2 to 10.4 on iMac G3 600 MHz ? OS install disk ejects.

    I am trying to help my friend with this one. I gave her my old iMac G3 600 MHz. it has 384 MB memory and currently has Mac OS 10.2.8 which I had installed previously. Now she has a new iPod nano and so the iMac needs the OS system upgraded to be able

  • How to group data for a special case

    Greetings everyone, After a long time brought a query for you people. I have a query(using group by also) such that it fetches record in following form COLUMN_1         COLUMN_2(%) C1                       30 C2                       40 C3           

  • Using UME to read binary attribute from LDAP (objectSID)

    Hi, I am trying to read the ObjectSID of an LDAP user (from MS Active directory) from an IUser object. This attribute is binary retrieved from the LDAP and if I defined a normal extra attribute in the datasourceconfiguration file and retrieve it as a

  • Unable to browse mysite in SharePoint 2013

    HI All, I Configured MySite in SharePoint2013,once i clicking on News feed i am getting access required "Let us know why you need access to this site. " i am unable to browse the MySite,but i can able to access only from farm service account only. Ca

  • Can i create demand with respect to valuation type for a material in MRP

    hI,    is ther any way to create demand for a material ith respect to vaulation type. tha means i want to give a demand for a material during a particular period saying that i want to produce the same material with this vaulation type 200 quantity an