Which  is  jar file   the corresponding OCFCardAccessor Class?

hello,
when I complied my java file. I have following error:
can't file the OCFCardAccessor.Class
CardRequest cr = new CardRequest(CardRequest.NEWCARD, null,OCFCardAccessor.class);
I already include the all jar file in the project,I find the jar file which include the OCFCardAccessor.class file,but can't file.
if you known that please tell me.
Regards
deng

Raktim,
check this thread
Re: How to use IUserfactory in Webdynpro?
Thanks
Bala Duvvuri

Similar Messages

  • In which J2EE jar file is javax.DataSource jar contained?

    Does anyone know in which J2EE jar file the javax.DataSource class is contained?
    L.F.

    Thanks for the reply, but when I do a jar -tvf on both of these jar files I see that tools.jar 1.4.2 contains only com.sun.tools... and dt.jar 1.4.2 contains javax.swing..... So where is javax.sql.... hiding? I have checked all the other jar files in the J2EE Standard and Enterprise edition as well. Has it moved alltogether. Any assitance would be appreciated.
    Lennart

  • URGENT ! Forms (jar file vs directory and classes)

    Hi,
    Our java developper has made an applet that we have to integrate with Forms.
    I said that I need a jar file that I will put in the forms90/java directory.
    The java developper want's to deploy instead of a jar file the whole directory and sub directory and all classes under the forms90/java.
    My question is, are both deployement giving the same result in term of performance on the client side when downloading the classes or the jar file.
    I always tought that jar file was better in performance.
    What is the best way to deploy our applet?
    Thanks for quick answer.
    Jean-Yves

    If you choose jar file client JVM will probably cache your jar. This will increase speed of application loading.
    Another benefit is that when you use jar file there is lazy/on demand loading option available (in my experience on demand loading doesn't work out of the box - jar file and all referenced jar files must be indexed). In other words: users that don't use forms that use your applet will not download that jar file (I have used this for FormsGraph example and some custom java application) and they don't have to download all of the jars your jar file references.

  • Application in JAR file cant find JDBC classes

    Hi,
    When I run an application from the JAR file the ClassNotFound exception is throw! When I run from the application classes in the directory the program works. The JDBC classes are in the CLASSPATH, the manifest of JAR file is:
    Manifest-Version: 1.0
    Created-By: xxxxx
    Main-Class: com.xxx.jhdesk.JHelpDesk
    Class-Path: classes111.jar JdbcDomino.jar
    I tried to put "class-path" parameter in the manifest but the problem continues.
    I need to send only my jar file, and the JDBC classes would be anywhere at the client machine.
    Any hint will be appreciated!
    Thanks in advance!
    Daniel Carvalho

    Those two jar files in the Class-Path entry in the manifest file, are they in the same directory as the jar file? (What you put there is supposed to be relative to the jar file, and you have no directory information.) And is there a line-ending character at the end of that line?

  • Problem is when iam exporting the jar file the manifest file  chaning

    LogWriter.java
    MiniBrowser.java
    SendMail.java
    TestMiniBrowser.java
    iam running the site scope program ,program is running fine
    i add the mail.jar and activation.jar
    when iam Exporting the JAR file ,the Manifest files is changing with out classpath
    only showing the like this
    Manifest-Version: 1.0
    Sealed: true
    Main-Class: p1.TestMiniBrowser
    Actually i created the manifest files like this ..
    Manifest-Version: 1.0
    Sealed: true
    Class-Path: mail.jar activation.jar icsops.jar
    Main-Class: p1.TestMiniBrowser
    problem is when iam exporting the jar file the manifest file is changing then iam not able the run the jar file ..

    iam Useing Eclipse sdk3.1
    after exporing the jar the manifewst is canging but iam updating mauvally but when iam runingg the jar file
    D:\pavansitescope>set calsspath=%classpath%C:\j2sdk1.4.1_03\bin;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\mail.jar;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\activation.jar;.;
    D:\pavansitescope>set calsspath=%classpath%D:\pavansitescope\mail-plugin.jar;.;
    D:\pavansitescope>java -jar icsops.jar
    Arguments Usage:
    1. URL link
    2. From Address
    3. To Addresses (seperated by comma)
    4. Mail Server Host Name
    D:\pavansitescope>java -jar icsops.jar [http://69.27.230.104/SiteScope/accounts/l]
    ogin5/htdocs/Progress.html [[email protected]|mailto:[email protected]] [[email protected]|mailto:[email protected]] HYDMA
    IL03
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingE
    xception
    at p1.TestMiniBrowser.start(TestMiniBrowser.java:42)
    at p1.TestMiniBrowser.main(TestMiniBrowser.java:156)
    D:\pavansitescope>

  • Which tables, apart from the tables of class UPC, are used by STS ?

    Hello, all,
    does anybody know which tables, apart from the tables of class UPC, are used by STS in BW-BPS?
    Merry X-Mas and best regards
    Nina

    Hi Nina,
    there are 20 tables starting with UPS_* that are used by STS.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Add jar files and use those classes at the runtime

    Hi All,
    I need to add some jar files at the runtime depends on which the user selects where the jar file is located and i need to import those classes in other class for some functionalities . I could add jar files by using the URLClassLoader and Class.forName("myjar.myclassname") is also succeeded and i have no clue how to use those classes with in the jar file as i couldn't import those classes also in the source because the jar files are being added at the runtime(This leads to class not found exception at the compile time).
    I had found a complicated way of using those classes after being added at the run time as below.
       Class clazz = Class.forName(myClass);
                final Method method = clazz.getDeclaredMethod(requiredMethod, new Class[]{URL.class});
                final Object returned = method.invoke(clazz.newInstance(), new Object[]{request}); but, its really pain to use in this way in all the places.
    Does any of you have simpler suggestions on how to achieve this?
    Thanks,
    Venky.

    Thanks jschell. Yes, you are right. I had found that using reflection API is the only way to load classes at the run time. But according to our application using reflection makes the application little complex, so while start of the application or during other modifications, i am overwriting my jar file to the latest one using FileChannel class as below
          FileChannel ic = new FileInputStream("new.jar").getChannel();
          FileChannel oc = new FileOutputStream("old.jar").getChannel();
          ic.transferTo(0, ic.size(), oc);
          ic.close();
          oc.close();After this code is executed, our application totally uses the new jar file.It is little fast than using reflection. Is this a good idea?

  • In which jar file  is he HttpServlet Class ?

    I've just downloaded J2SE 1.5. I haven't found a jar which contents classes such as HTTPServlet, HTTPSession, and so forth.
    I guess it is part of the "Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2", but I do not need all these stuffs, because I have already an Web application Server (Tomcat). I need only what it used to be called j2EE.jar.
    Is it a way to download separalety from a location ?
    Thanks
    Gege

    I've just downloaded J2SE 1.5. I haven't found a jar
    which contents classes such as HTTPServlet,
    HTTPSession, and so forth.It isn't there. It is part of J2EE (or now Java EE) not J2SE (or Java SE).
    I guess it is part of the "Sun Java System
    Application Server Platform Edition 8.1 2005Q2 UR2",Well, That server implements Java EE, so yeah...
    but I do not need all these stuffs, Also correct.
    because I have
    already an Web application Server (Tomcat). I need
    only what it used to be called j2EE.jar. It is called J2EE.jar in the J2EE reference implementation, and maybe some other servers.
    Is it a way to download separalety from a location ?Don't need to. You already have it. Tomcat comes with a partial implementation of the Java EE spec. Depending on the version of Tomcat, it might be:
    servlet.jar (Tomcat 4)
    servlet-api.jar and jsp-api.jar (Tomcat 5)
    If you plan on working with JSPs, custom tags, and the like, then adding the jsp-api.jar to the classpath (for Tomcat 5) will save some headaches later. But all the servlet stuff is in servlet.jar or servlet-api.jar.
    >
    >
    Thanks
    Gege

  • How to read file in JAR file (the one containing applet class)

    my applet needs to read a file (font file) that will be bundled in the jar file. how do i read that file?
    i tried using
    URL u = new URL("file:///myfont.ttf");
    u.openStream();i got AccessControlException. is there anyway for the applet to load file in the JAR file? i see applet can load image in the jar file so figured that it should be able to do so with some other type of file
    thanks

    The reason you're getting access violation is the way you code your URL -- it's pointing to a file on the user's local disk. If my.ttf is in the jar, try:
          URL url=myApplet.class.getClassLoader().getResource("myfont.ttf");Where myApplet is the name of your applet and the font file is assumedly kept in the same directory level in the jar file as the class file for your applet.
    ;o)
    V.V.

  • Access jar file from in-memory classes...

    I have some classes that I compile to memory and everything works fine until one class that must access some external jar files. I have been unable to access those jar files from disk after trying every suggestion using URLClassLoader. I even tried someone's example to hack the SystemClassLoader which properly adds the jar file paths, but still they can't be seen. The only way it works is if I put the files in the jdk/jre/lib/ext directory. Then everything works fine. There must be a way to load the jar files in memory as well as the class files so they can be accessible. Has anyone done anything like this? Is it possible? Even though the class files are in memory, why would the jar files not be seen even when they are added to the same URLClassLoader's URL's. Thanks.

    Sorry that wasn't clear. What I mean is that the classes are compiled to byte code directly to memory and no physical .class file is created. Yes, I'm using my own ClassLoader that extends URLClassLoader and I'm setting the parent to ClassLoader.getSystemClassLoader(). I also should mention that I'm doing this inside a Netbeans module that is part of a Netbeans Platform application. I don't know why that should matter though, since I'm trying to do everything in memory without creating the physical files. Thanks.

  • Help! How to create Jar file for a packaged class?

    Hi!
    I am new in jar complexities. I made a swing frame that just prompts a JOptionPane when executed. I accomplished the same using jar without packaging my class SwingTest.
    But when i package it, it doesn't run. Can any one tell me how to make jar file of packaged classes and include images in the jar files too!
    Really Thanx!

    Call the Jar from the commandline to see the exceptions thrown.
    java -jar <jarFileName> <className>

  • How to make .jar file for a multiple class program

    I have a code for a chat room that contains two folders , one for Server and one for Client
    What I need is to create a jar file for the server and a jar file for the clients
    but here the first problem , I have a file that named (SocketMessengerConstants.class) that is located outside the two folders and is being read by the two projects .
    I mean the server uses it while running and the client uses it too .
    the second problem is : I don't know how to create a jar file at all !
    please tell me how to do it in detail
    Thank you

    ChuckBing wrote:[Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
    I tried to read this tutorials before I come here but I couldn't understand it
    can you please tell me a specific steps to follow instead of the explaining .. because I understand the explanation but I can't apply it

  • How to reference JAR files in stored java class ?

    I don't know if it's exactly the right place to post this, I hope it could be :-)
    Here is the problem :
    I developped a Java class with some public static functions.
    To store this class in Oracle, I use the SQL below :
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "SYSTEM"."MYCLASS" AS
    // ... (Java source code) ...
    This works pretty well with simple functions, but we need to import specific class. Here is for MQSeries : import com.ibm.mq.*;
    When using the SQL to put the Java class, we get an error message saying that the class wasn't correctly compiled. It seems it's about the import.
    The question is : how to proceed to reference the JAR files needed so that my class can correctly import the needed packages ?
    Thanks in advance,

    Here is a simple example of code :
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "SYSTEM"."TEST" AS
    import com.ibm.mq.*;
    public class Test {
    public Test() {
    try{
    MQQueueManager manager = new MQQueueManager("");
    catch(Exception e){
    In this way, I get message "Warning : Java create with compilation errors".
    When I comment the line of the MQQueueManager object creation, it is well created.
    Any ideas ?

  • Help finding JAR files containing a specific class

    I Need to find the JAR file containing the java class/type com.sap.engine.frame.ServiceException
    <i><b>Frank</b></i>

    Hi Frank,
    The easiest solution will be searching for class names in Windows search like: Search for files *.jar and contains text xyz.class.
    If you find a particular jar then open it using WinZip and you can locate the class file.
    Regards,
    Ananth

  • How do you create a jar file with txt and classes?

    Hey, I'm trying to create code to create a jar file with a text file, but I can't figure out how to add the text file. Here is what I have so far:
    try {
                // Name of jar file to write
                String archiveFile = "test.jar";
                Manifest jman = new Manifest();
                try {
                    // Create a manifest from a file
                    //InputStream fis = new FileInputStream("manifestfile");
                    //Manifest manifest = new Manifest(fis);
                    // Construct a string version of a manifest
                    StringBuffer sbuf = new StringBuffer();
                    sbuf.append("Manifest-Version: 1.0\n");
                    sbuf.append("Ant-Version: Apache Ant 1.7.1\n");
                    sbuf.append("Created-By: 1.5.0_19-137 (Apple Inc.)\n");
                    sbuf.append("Main-Class: Main\n");
                    sbuf.append("Class-Path: lib/swing-layout-1.0.3.jar\n");
                    sbuf.append("X-COMMENT: Main-Class will be added automatically by build\n");
                    // Convert the string to a input stream
                    InputStream is = new ByteArrayInputStream(sbuf.toString().getBytes("UTF-8"));
                    // Create the manifest
                    jman = new Manifest(is);
                } catch (IOException e) {
                FileOutputStream stream = new FileOutputStream(archiveFile, true);// archive file is jar file name
                JarOutputStream out = new JarOutputStream(stream, jman);
                out.putNextEntry(new JarEntry("test.txt"));
                out.closeEntry();
                out.close();
            } catch (Exception ex) {
            }It creates the .jar file with the correct manifest but I can't get it to write the test.txt or anything else into the jar file.
    -Gandolf
    Edited by: GanMatt on Jun 18, 2009 8:18 AM
    Edited by: GanMatt on Jun 18, 2009 8:19 AM

    Alright, my question has changed. Here's the code:
    try {
                // Name of jar file to write
                String archiveFile = "test.jar";
                Manifest jman = new Manifest();
                try {
                    // Create a manifest from a file
                    //InputStream fis = new FileInputStream("manifestfile");
                    //Manifest manifest = new Manifest(fis);
                    // Construct a string version of a manifest
                    StringBuffer sbuf = new StringBuffer();
                    sbuf.append("Manifest-Version: 1.0\n");
                    sbuf.append("Ant-Version: Apache Ant 1.7.1\n");
                    sbuf.append("Created-By: 1.5.0_19-137 (Apple Inc.)\n");
                    sbuf.append("Main-Class: Main\n");
                    sbuf.append("Class-Path: lib/swing-layout-1.0.3.jar\n");
                    sbuf.append("X-COMMENT: Main-Class will be added automatically by build\n");
                    // Convert the string to a input stream
                    InputStream is = new ByteArrayInputStream(sbuf.toString().getBytes("UTF-8"));
                    // Create the manifest
                    jman = new Manifest(is);
                } catch (IOException e) {
                FileOutputStream stream = new FileOutputStream(archiveFile, true);// archive file is jar file name
                JarOutputStream out = new JarOutputStream(stream, jman);
                out.putNextEntry(new JarEntry("test.txt"));
                out.write("Hi".getBytes());
                out.flush();
                out.closeEntry();
                out.close();
            } catch (Exception ex) {
                JOptionPane.showMessageDialog(this,ex.toString(),"BUG!",JOptionPane.INFORMATION_MESSAGE);
            }It creates the jar file with the txt file inside it, but I can't write "Hi" inside of the text file. Any ideas?
    -Gandolf

Maybe you are looking for

  • Multiple Web Auth Pages

    I have looked through the forum and think that I have found the answer to my question but I just need confirmation of my thoughts. We are using a 5508 WLAN controller running software ver 7.2.110.0 and LAP 1142n AP's. What I would like to do is to co

  • Changing Zone in SP 2013

    Hi, I have a .aspx page and its devided into some zones and in zone there is some webparts. But Now I have to change the position of all the zone . How Can I achieve it? Shubho

  • How to set off import conditions

    Dear all I have created the given below conditon type for import., CVD - JCV1 EDU - JECV SED - J1CV ADD -  JADC every thing get in to the place and calaulation also get in well however the above condition not getting set off. (all the condition cost

  • Balance in transaction currency  Error Message no. F5702

    Dear all  I need some help in order to make an invoice. When I try to  release to accounting for an invoice the system send me  the  following error. Balance in transaction currency Message no. F5702 Diagnosis A balance has occurred in transaction cu

  • Illustrator CS3: how to extend a line along its direction

    This is my line I have to extend it along its direction. How can I do?