Javatwain

Has anyone tried java twain? I don't know why I always get problem when I run an application!
Starting application C:\cai\download\robo-sdk\demos\server\sun\robodemo\Fetch.class
java.lang.UnsatisfiedLinkError: no javatwain in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at SK.gnome.twain.TwainManager.<clinit>(TwainManager.java:46)
at SK.gnome.twain.Twain.<init>(Twain.java:1293)
at sun.robot.vision.VisionController.<init>(VisionController.java:31)
at sun.robodemo.Fetch.<init>(Fetch.java:64)
at sun.robodemo.Fetch.main(Fetch.java:276)
Interactive Session Ended
Exception in thread "main"
Thanks for any help!
Jason

Meantime the JavaTwain was updated and renamed to Morena Image Acquisition Framework. Many new features and a tutorial were added.
In version 6.0 the automatedTest was added. This enables you to test the capabilities of the twain driver of your Twain source (scanner or camera). To see, how it works, download the trial package from http://www.gnome.sk and unzip it. Go to the examples directory of the unzipped Morena package and
click the runAutomatedTest .bat in Windows and or the runAutomatedTest .sh in Mac OS.
In version 6.1 File transfer mode was added both to Windows and Mac OS version.
To see, how it works, go to the examples directory of the unzipped Morena package and
click the runExampleFileSave.bat in Windows and or the runExampleFileSave.sh in Mac OS.
To test remote scanning, go to http://www.gnome.sk/Twain/remote/www/twain/server/php/remote.html

Similar Messages

  • Exception while scannig

    Hi,
    I am scanning a photo and placing in a java application. I am scanning multiple images. While scanning I am getting the following exception.
    Please give me a solution.
    thanks in advance,
    sampath
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D3B1FA9
    Function=[Unknown.]
    Library=C:\Program Files\Java\j2re1.4.1_03\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at SK.gnome.twain.TwainSource.acquireImage(Native Method)
         at SK.gnome.twain.TwainSource.startProduction(TwainSource.java:2259)
         at java.awt.image.FilteredImageSource.startProduction(Unknown Source)
         at sun.awt.image.ImageRepresentation.startProduction(Unknown Source)
         at sun.awt.image.Image.addWatcher(Unknown Source)
         - locked <02B72798> (a sun.awt.windows.WImage)
         at sun.awt.image.Image.getProperty(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at FingerInterface.mouseClicked(FingerInterface.java:123)
         at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00406000      C:\WINNT\system32\java.exe
    0x77F60000 - 0x77FBE000      C:\WINNT\System32\ntdll.dll
    0x77DC0000 - 0x77DFF000      C:\WINNT\system32\ADVAPI32.dll
    0x77F00000 - 0x77F5E000      C:\WINNT\system32\KERNEL32.dll
    0x77E70000 - 0x77EC5000      C:\WINNT\system32\USER32.dll
    0x77ED0000 - 0x77EFC000      C:\WINNT\system32\GDI32.dll
    0x77E10000 - 0x77E67000      C:\WINNT\system32\RPCRT4.dll
    0x78000000 - 0x78046000      C:\WINNT\system32\MSVCRT.dll
    0x6D340000 - 0x6D46B000      C:\Program Files\Java\j2re1.4.1_03\bin\client\jvm.dll
    0x77FD0000 - 0x77FFA000      C:\WINNT\system32\WINMM.dll
    0x6BC00000 - 0x6BC0B000      C:\WINNT\system32\alcntu.dll
    0x6BD00000 - 0x6BD07000      C:\WINNT\system32\alswwtnt.dll
    0x6D1E0000 - 0x6D1E7000      C:\Program Files\Java\j2re1.4.1_03\bin\hpi.dll
    0x6D310000 - 0x6D31E000      C:\Program Files\Java\j2re1.4.1_03\bin\verify.dll
    0x6D220000 - 0x6D239000      C:\Program Files\Java\j2re1.4.1_03\bin\java.dll
    0x6D330000 - 0x6D33D000      C:\Program Files\Java\j2re1.4.1_03\bin\zip.dll
    0x6D000000 - 0x6D105000      C:\Program Files\Java\j2re1.4.1_03\bin\awt.dll
    0x77C00000 - 0x77C18000      C:\WINNT\system32\WINSPOOL.DRV
    0x76AB0000 - 0x76AB5000      C:\WINNT\system32\IMM32.dll
    0x77B20000 - 0x77BD7000      C:\WINNT\system32\ole32.dll
    0x6D190000 - 0x6D1E0000      C:\Program Files\Java\j2re1.4.1_03\bin\fontmanager.dll
    0x77130000 - 0x77156000      C:\WINNT\system32\ddraw.dll
    0x71300000 - 0x71306000      C:\WINNT\system32\MSIDLE.DLL
    0x0F090000 - 0x0F0D6000      F:\projects\Childfind\childfind\javatwain.dll
    0x65340000 - 0x653DB000      C:\WINNT\System32\oleaut32.dll
    0x76AC0000 - 0x76ADD000      C:\WINNT\system32\imagehlp.dll
    0x10300000 - 0x1032C000      C:\MSSQL7\BINN\mspdb50.dll
    0x71DC0000 - 0x71DCA000      C:\WINNT\system32\PSAPI.DLL
    Local Time = Sat Nov 29 10:54:46 2003
    Elapsed Time = 29
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002E6
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)

    The exception you have got while scanning can be a
    result of not properly closing the twain source. You
    can find examples of properly closing a source (that's
    a scanner or a camera) in the tutorial to the
    javatwain library
    http://www.gnome.sk/Twain/tutorial/index.html which is
    part of the Morena Image Acquisition Framework. Or you
    can ask at the technical support [email protected]
    Access exceptions occur because C/C++ code is using a pointer in a way that should not have.
    If the library is throwing an access exception then there is a bug in the library - period.
    Your suggestion might be a work around to the bug, but it doesn't alter the fact that there is a bug.

  • Two Problems with IDE 3.6

    hi
    First, I cannot access images I do not include the absolute path, and I want to create an application that will be used on many machine that have different paths, isn't there any solution?
    Second, I installed the Morena library, compiling it with Net Beans indicates javatwain error.
    the previous two problems can be solved if I compile using the standard javac command.

    all the files are mounted inside a main folder, I'll
    try to mount the images folder alone, and the Morena
    SK folder alone and my application alone. I hope this
    will solve my problemIt should. To place files in the classpath, the containing directory must be mounted. (However, you mount a jar to place it in the classpath.)

  • Urgent, OutOfMemoryError, please help !!!

    Guru,
    I receive the following program from GNome, which scan and save multipage tiff image. But the program cannot scan more than 16 pages, it has 'java.lang.OutOfMemoryError'. Is there a way to solve this problem, please help as soon as possible.
    Here is the code:
    * $Id: Example9.java,v 1.8 2002/07/15 13:48:55 mmotovsk Exp $
    * Copyright (c) 1999-2002 Gnome spol. s r.o. All Rights Reserved.
    * This software is the confidential and proprietary information of
    * Gnome spol. s r.o. You shall not disclose such Confidential
    * Information and shall use it only in accordance with the terms
    * of the license agreement you entered into with Gnome.
    // JavaTwain package version 5.0
      Example9 demonstrates scanning multiple images with
      Automatic Document Feeder and saving them in multi-page tiff image .<BR>
    import javax.media.jai.*;
    import java.io.*;
    import com.sun.media.jai.codec.*;
    import java.awt.*;
    import SK.gnome.twain.*;
    import java.awt.image.*;
    import java.util.Vector;
    public class Example9 extends Component
    { static int pageNumber = 0;
      static Vector bufferedImages = new Vector();
      public void addToBufferedImages(Twain source)
         { Image image = Toolkit.getDefaultToolkit().createImage(source);
        MediaTracker tracker = new MediaTracker(this);
        tracker.addImage(image, 0);
        try
        { tracker.waitForAll();
        catch (InterruptedException e)
        { e.printStackTrace();
        int width = image.getWidth(null);
        int height = image.getHeight(null)+20;
        BufferedImage bimg = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
        bimg.createGraphics().drawImage(image, 0, 0, null);
        bufferedImages.add(bimg);
      public void saveAsMultipageTIFF(Vector images, String file) throws IOException
      { if (images.size() < 1)
          return;
        RenderedImage firstImage = (RenderedImage)images.get(0);
        images.remove(0);
        OutputStream out = new SeekableOutputStream(new RandomAccessFile(file,"rw"));
        TIFFEncodeParam param = new TIFFEncodeParam();
        ImageEncoder encoder = ImageCodec.createImageEncoder("TIFF", out, param);
        System.err.println(1);
        if (images.size() > 0)
        { param.setExtraImages(images.iterator());
        System.err.println(2);
        encoder.encode(firstImage);
        System.err.println(3);
        out.close();
      public static void main(String[] args) throws Exception
      { Example9 ex = new Example9();
        Twain twain = new Twain();
        twain.setFeederEnabled(true);
        twain.setAutoFeed(true);
        do
             { ex.addToBufferedImages(twain);
             while (twain.hasMoreImages());
        ex.saveAsMultipageTIFF(bufferedImages, "multipage.tiff" );
    }Many thanks in advance.

    * This software is the confidential and proprietary
    information of
    * Gnome spol. s r.o. You shall not disclose such
    Confidential
    * Information and shall use it only in accordance
    with the terms
    * of the license agreement you entered into with
    Gnome.oo you bugger, your in trouble now.

  • Saving Scanned Image in TIFF Format

    I am using Gnome TWAIN Package V4.3 to scan images. I can save the image in JPEG format, but have not figured out how to save it in TIFF format. Can someone provide an example of how to save images scanned using the Gnome package to TIFF Format?
    Thanks.

    Try this example from www.gnome.sk:
    * Copyright (c) 1999-2002 Gnome spol. s r.o. All Rights Reserved.
    * This software is the confidential and proprietary information of
    * Gnome spol. s r.o. You shall not disclose such Confidential
    * Information and shall use it only in accordance with the terms
    * of the license agreement you entered into with Gnome.
    // JavaTwain package version 5.0
    Example8 demonstrates how to save a acquired image to the TIFF file format, using JAI.
    You need to install JAI and set a classpath to the JAI library before
    compiling and running the example.
    import javax.media.jai.*;
    import java.io.*;
    import com.sun.media.jai.codec.*;
    import java.awt.*;
    import SK.gnome.twain.*;
    public class Example8
    protected RenderedOp image ;
    public Example8() throws Exception
    { Twain twain = new Twain();
    twain.setVisible(false);     
    Image awt_image=Toolkit.getDefaultToolkit().createImage(new TwainImage(twain));
    RenderedOp image = (RenderedOp) JAI.create("AWTImage", awt_image);
    OutputStream os = new FileOutputStream("test.tiff");
    TIFFEncodeParam param = new TIFFEncodeParam();
    ImageEncoder enc = ImageCodec.createImageEncoder("TIFF", os,param);
    enc.encode(image);
    os.close();
    System.exit(0);
    public static void main (String args[]) throws Exception
    { Example8 example8 =new Example8();
    }

  • InternalError: Error in CachedJarFile entries

    Our Java Web Start application (using jar indexing) blocks with the following error when loading a certain jar from the cache. Uninstalling and clearing the webstart cache fixes the problem for one execution, but then the same exception starts being thrown. After the exception has occurred the application often freeze.
    Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Error in CachedJarFile entries
    at com.sun.deploy.cache.CachedJarFile$2.nextElement(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.validIndex(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    the problem has been reproduced on:
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java(TM) SE Runtime Environment (build 1.6.0_23-b07)
    on the following o.s. :
    Microsoft Windows 2000 [Version 5.00.2195]
    Microsoft Windows XP [Version 5.1.2600]
    Microsoft Windows 7 [Version 6.1.7601]

    One important note: the error occurs when the jar is found in the cache, so the first time the application is executed the app works fine.
    To reproduce the problem you need to restart the application one second time, because in the first execution the jar is downloaded without problems and only in the second execution the jar is found in the cache and the error occurs.
    Here is the console with deployment.trace.level=all and deployment.trace=true in deployment.properties:
    Java Web Start 1.6.0_23
    Uso della versione JRE 1.6.0_23-b05 Java HotSpot(TM) Client VM
    Directory principale utente = C:\Users\Fabio
    basic: Java part started
    basic: jnlpx.jvm: C:\Program Files (x86)\Java\jre1.6.0_23\bin\javaw.exe
    basic: jnlpx.splashport: 51049
    basic: jnlpx.remove: true
    basic: jnlpx.heapsize: NULL,512M
    network: Caricamento della configurazione proxy definita dall'utente ...
    network: Fine.
    network: Browser is "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"
    network: Browser is Firefox
    network: Caricamento della configurazione proxy da Netscape Navigator ...
    network: Fine.
    network: Caricamento della configurazione proxy diretta ...
    network: Fine.
    network: Configurazione proxy: Nessun proxy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: Running JVMParams: [JVMParameters: isSecure: true, args: -XX:MaxPermSize=512m -Xmx512m]
         -> [JVMParameters: isSecure: true, args: -XX:MaxPermSize=512m -Xmx512m]
    network: Created version ID: 1.6.0.23
    network: Created version ID: 1.6
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://t:50080" href="/client/sicraweb_manziana.jnlp" spec="1.0+">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="/client/web/logo32.png"/>
    <icon href="/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    <resources>
    <j2se java-vm-args="-XX:MaxPermSize=512m" max-heap-size="512M" version="1.4+"/>
    <jar download="eager" href="/client/signed-jars/it.saga.pubblici.menu.client.jar" main="true"/>
    <extension href="/client/saga-index.jnlp" name="saga-index"/>
    <extension href="/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp codebase="http://t:50080" href="/client/sicraweb_manziana.jnlp" spec="1.0+">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="/client/web/logo32.png"/>
    <icon href="/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    <resources>
    <j2se java-vm-args="-XX:MaxPermSize=512m" max-heap-size="512M" version="1.4+"/>
    <jar download="eager" href="/client/signed-jars/it.saga.pubblici.menu.client.jar" main="true"/>
    <extension href="/client/saga-index.jnlp" name="saga-index"/>
    <extension href="/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>jnlp
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="http://t:50080/" href="http://t:50080/client/sicraweb_manziana.jnlp">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="http://t:50080/Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="http://t:50080/client/web/logo32.png" kind="default"/>
    <icon href="http://t:50080/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always" policy="always"/>
    <resources>
    <java max-heap-size="536870912" java-vm-args="-XX:MaxPermSize=512m" version="1.4+"/>
    <jar href="http://t:50080/client/signed-jars/it.saga.pubblici.menu.client.jar" download="eager" main="true"/>
    <extension href="http://t:50080/client/saga-index.jnlp" name="saga-index"/>
    <extension href="http://t:50080/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="http://t:50080/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="http://t:50080/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="http://t:50080/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="http://t:50080/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>
    basic: new Launcher:
    <jnlp spec="1.0+" codebase="http://t:50080/" href="http://t:50080/client/sicraweb_manziana.jnlp">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="http://t:50080/Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="http://t:50080/client/web/logo32.png" kind="default"/>
    <icon href="http://t:50080/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always" policy="always"/>
    <resources>
    <java max-heap-size="536870912" java-vm-args="-XX:MaxPermSize=512m" version="1.4+"/>
    <jar href="http://t:50080/client/signed-jars/it.saga.pubblici.menu.client.jar" download="eager" main="true"/>
    <extension href="http://t:50080/client/saga-index.jnlp" name="saga-index"/>
    <extension href="http://t:50080/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="http://t:50080/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="http://t:50080/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="http://t:50080/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="http://t:50080/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>
    network: prepareToLaunch: offlineOnly=false
    network: Voce cache trovata [url: http://t:50080/client/sicraweb_manziana.jnlp, versione: null] prevalidated=false/0
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://t:50080" href="/client/sicraweb_manziana.jnlp" spec="1.0+">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="/client/web/logo32.png"/>
    <icon href="/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    <resources>
    <j2se java-vm-args="-XX:MaxPermSize=512m" max-heap-size="512M" version="1.4+"/>
    <jar download="eager" href="/client/signed-jars/it.saga.pubblici.menu.client.jar" main="true"/>
    <extension href="/client/saga-index.jnlp" name="saga-index"/>
    <extension href="/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp codebase="http://t:50080" href="/client/sicraweb_manziana.jnlp" spec="1.0+">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="/client/web/logo32.png"/>
    <icon href="/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    <resources>
    <j2se java-vm-args="-XX:MaxPermSize=512m" max-heap-size="512M" version="1.4+"/>
    <jar download="eager" href="/client/signed-jars/it.saga.pubblici.menu.client.jar" main="true"/>
    <extension href="/client/saga-index.jnlp" name="saga-index"/>
    <extension href="/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>jnlp
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="http://t:50080/" href="http://t:50080/client/sicraweb_manziana.jnlp">
    <information>
    <title>SicraWeb</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="http://t:50080/Sicraweb.html"/>
    <description>Sicraweb</description>
    <icon href="http://t:50080/client/web/logo32.png" kind="default"/>
    <icon href="http://t:50080/client/web/splash.png" kind="splash"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always" policy="always"/>
    <resources>
    <java max-heap-size="536870912" java-vm-args="-XX:MaxPermSize=512m" version="1.4+"/>
    <jar href="http://t:50080/client/signed-jars/it.saga.pubblici.menu.client.jar" download="eager" main="true"/>
    <extension href="http://t:50080/client/saga-index.jnlp" name="saga-index"/>
    <extension href="http://t:50080/client/sicraweb-resources-ver260.jnlp" name="sicraweb-resources"/>
    <extension href="http://t:50080/client/acme-capi.jnlp" name="acme-capi"/>
    <extension href="http://t:50080/client/jboss-client.jnlp" name="jboss-client"/>
    <extension href="http://t:50080/client/gnome-javatwain.jnlp" name="gnome-javatwain"/>
    <extension href="http://t:50080/client/bouncy-castle.jnlp" name="bouncy-castle"/>
    </resources>
    <application-desc main-class="it.saga.pubblici.menu.MnuCFGMain">
    <argument>jboss:t:50080:50002</argument>
    <argument>sicraweb_manziana</argument>
    <argument>sicraweb_manziana</argument>
    </application-desc>
    </jnlp>
    network: isUpdated: false
    network: Created version ID: 1.6.0.23
    network: Created version ID: 1.6
    basic: Launcher: isInstaller: false, isRelaunch: false, isImport: false, java.home:C:\\Program Files (x86)\\Java\\jre1.6.0_23\, Running JRE: JREInfo for index 1:
    platform is: 1.6
    product is: 1.6.0_23
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\jre1.6.0_23\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    enabled is: true
    registered is: true
    system is: false
    basic: JREInfos
    basic:
    JREInfo: 4 entries
    basic: JREInfo 0:
    basic: JREInfo for index 0:
    platform is: 1.6
    product is: 1.6.0_23
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\jre1.6.0_23\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    enabled is: true
    registered is: true
    system is: true
    basic: JREInfo 1:
    basic: JREInfo for index 1:
    platform is: 1.6
    product is: 1.6.0_23
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\jre1.6.0_23\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    enabled is: true
    registered is: true
    system is: false
    basic: JREInfo 2:
    basic: JREInfo for index 2:
    platform is: 1.4
    product is: 1.4.2_19
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\j2re1.4.2_19\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    enabled is: true
    registered is: true
    system is: false
    basic: JREInfo 3:
    basic: JREInfo for index 3:
    platform is: 1.4
    product is: 1.4.2_08
    location is: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\j2re1.4.2_08\bin\javaw.exe
    args is: null
    native platform is: Windows, x86 [ x86, 32bit ]
    enabled is: true
    registered is: true
    system is: false
    network: Voce cache trovata [url: http://t:50080/client/saga-index.jnlp, versione: null] prevalidated=false/0
    network: Connessione a http://t:50080/client/saga-index.jnlp con proxy=DIRECT
    network: Connessione a socket://t:50080 con proxy=DIRECT
    network: ResponseCode per http://t:50080/client/saga-index.jnlp : 304
    network: Codifica per http://t:50080/client/saga-index.jnlp : null
    network: Eseguire la disconnessione da http://t:50080/client/saga-index.jnlp
    network: Downloaded extension: http://t:50080/client/saga-index.jnlp
         codebase: http://t:50080/client/
         ld parentCodebase: http://t:50080/
         file: C:\Users\Fabio\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\60\40c1a47c-34f69162
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://t:50080" href="/client/saga-index.jnlp">
    <information>
    <title>SicraWeb Jar Index</title>
    <vendor>Saga S.p.A.</vendor>
    </information>
    <resources>
    <jar download="eager" href="/client/signed-jars/index/it.saga.index.jar"/>
    </resources>
    <component-desc/>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp codebase="http://t:50080" href="/client/saga-index.jnlp">
    <information>
    <title>SicraWeb Jar Index</title>
    <vendor>Saga S.p.A.</vendor>
    </information>
    <resources>
    <jar download="eager" href="/client/signed-jars/index/it.saga.index.jar"/>
    </resources>
    <component-desc/>
    </jnlp>jnlp
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="http://t:50080/" href="http://t:50080/client/saga-index.jnlp">
    <information>
    <title>SicraWeb Jar Index</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="null"/>
    </information>
    <update check="timeout" policy="always"/>
    <resources>
    <jar href="http://t:50080/client/signed-jars/index/it.saga.index.jar" download="eager" main="false"/>
    </resources>
    <component-desc/>
    </jnlp>
    network: Voce cache trovata [url: http://t:50080/client/sicraweb-resources-ver260.jnlp, versione: null] prevalidated=false/0
    network: Connessione a http://t:50080/client/sicraweb-resources-ver260.jnlp con proxy=DIRECT
    network: ResponseCode per http://t:50080/client/sicraweb-resources-ver260.jnlp : 304
    network: Codifica per http://t:50080/client/sicraweb-resources-ver260.jnlp : null
    network: Eseguire la disconnessione da http://t:50080/client/sicraweb-resources-ver260.jnlp
    network: Downloaded extension: http://t:50080/client/sicraweb-resources-ver260.jnlp
         codebase: http://t:50080/client/
         ld parentCodebase: http://t:50080/
         file: C:\Users\Fabio\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\2\75eba6c2-10c5586b
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://t:50080" href="/client/sicraweb-resources-ver260.jnlp" spec="1.0+">
    <information>
    <title>SicraWeb Librerie</title>
    <vendor>Saga S.p.A.</vendor>
    <homepage href="Sicraweb.html"/>
    <description>Jars usati da Sicraweb</description>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="always"/>
    <resources>
    <j2se java-vm-args="-XX:MaxPermSize=512m" max-heap-size="512M" version="1.4+"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.searchForms.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.resourceManager.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.expressions.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.expressionBuilder.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.controls.treeView.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.controls.grid.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.messages.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.localization.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.controls.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.commonDataTypes.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.common.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.baseForms.client.jar"/>
    <jar download="eager" href="/client/signed-jars/it.saga.library.logging.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.controls.editableGrid.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.expressionBuilder.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.objectview.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.controls.grid.client.jar"/>
    <nativelib href="/client/signed-jars/lib/native/jacob.native.jar"/>
    <nativelib href="/client/signed-jars/lib/native/registry.native.jar"/>
    <jar download="eager" href="/client/signed-jars/lib/alloy.jar"/>
    <nativelib href="/client/signed-jars/lib/native/it.saga.extern.siacapi.native.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/pvxAll.jar"/>
    <nativelib href="/client/signed-jars/lib/native/it.saga.extern.javatwain.native.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/jdev-rt.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.anagrafeUnica.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.anagrafeUnica.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.pagamenti.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.pagamenti.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.tributi.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.tributi.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.tributi.reports.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.protocollo.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.protocollo.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.organigramma.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.configuration.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.configuration.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.controllogestione.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.check.version.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.check.version.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.importExport.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.importExport.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.documentiCollegati.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.digitalsignature.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/hibernate/hibernate3.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/hibernate/antlr.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/hibernate/asm.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.bonifiche.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.bonifiche.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.search.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.paginator.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.library.chart.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/chartdirector_s.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.anagrafe.export.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.elettorale.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.elettorale.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.serviziDemografici.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.serviziDemografici.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.alboPretorio.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.alboPretorio.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.anagrafeUnica.core.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/NCSO.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/Notes.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.finanziaria.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.finanziaria.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.finanziaria.reports.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.finanziaria.tesorieri.client.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/saxon.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.ici.menu.jar"/>
    <jar download="lazy" href="/client/signed-jars/it.saga.pubblici.ici.client.jar"/>
    <jar download="eager" href="/client/signed-jars/lib/j2ee/ejb.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/j2ee/jms.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/j2ee/jta.jar"/>
    <jar download="lazy" href="/client/signed-jars/lib/j2ee/servlet.jar"/>
    <!-- Inizio null -->
    <!-- Fine null -->
    <jar href="/client/signed-jars/it.saga.library.workflow.core.jar" download="lazy"/>
    <!-- Fine Workflow -->
    <jar href="/client/signed-jars/it.saga.pubblici.anagrafeMinimale.client.jar" download="lazy"/>
    <!-- Fine Anagrafe Minimale -->
    <jar href="/client/signed-jars/it.saga.library.activation.client.jar" download="lazy"/>
    <!-- Fine Activation -->
    <jar href="/client/signed-jars/it.saga.library.calendario.client.jar" download="lazy"/>
    <!-- Fine Calendario -->
    <!-- Inizio catastoImportazione -->
    <jar href="/client/signed-jars/it.saga.pubblici.catasto.importazione.client.jar" download="lazy"/>
    <!-- Fine catastoImportazione -->
    <!-- Inizio CommonDataTypes -->
    <jar href="/client/signed-jars/it.saga.library.commonDataTypes.menu.jar" download="eager"/>
    <!-- Fine CommonDataTypes -->
    <!-- Inizio Hibernate -->
    <jar href="/client/signed-jars/lib/hibernate/hibernate3-core.jar" download="lazy"/>
    <jar href="/client/signed-jars/lib/hibernate/hibernate2-wrapper.jar" download="lazy"/>
    <!-- Fine Hibernate -->
    <jar href="/client/signed-jars/it.saga.pubblici.cimiteri.client.jar" download="lazy"/>
    <!-- Fine CIM -->
    <jar href="/client/signed-jars/it.saga.pubblici.censimentoImmobili.client.jar" download="lazy"/>
    <jar href="/client/signed-jars/it.saga.pubblici.censimentoImmobili.menu.jar" download="lazy"/>
    <!-- Fine Censimento Immobili -->
    <!-- Inizio OpenOffice -->
    <!-- Fine OpenOffice -->
    <!-- Inizio Contratti -->
    <jar href="/client/signed-jars/it.saga.pubblici.contratti.client.jar" download="lazy"/>
    <!-- Fine Contratti -->
    <!-- Inizio OpenSignPDF -->
    <jar href="/client/signed-jars/lib/opensignpdf.jar" download="lazy"/>
    <jar href="/client/signed-jars/lib/log4j.jar" download="lazy"/>
    <nativelib href="/client/signed-jars/lib/native/it.saga.extern.opensignpdf.native.jar"/>
    <!-- Fine OpenSignPDF -->
    <jar href="/client/signed-jars/it.saga.pubblici.elettorale.reports.client.jar" download="lazy"/>
    <!-- Inizio Sistema informativo geografico -->
    <jar href="/client/signed-jars/it.saga.library.gis.client.jar" download="lazy"/>
    <!-- Fine Sistema informativo geografico -->
    <!-- Inizio JOGL -->
    <jar href="/client/signed-jars/lib/gluegen-rt.jar" download="lazy"/>
    <jar href="/client/signed-jars/lib/jogl.jar" download="lazy"/>
    <nativelib href="/client/signed-jars/lib/native/it.saga.extern.jogl.native.jar"/>
    <!-- Fine JOGL -->
    <jar href="/client/signed-jars/it.saga.pubblici.giudiciPopolari.menu.jar" download="lazy"/>
    <jar href="/client/signed-jars/it.saga.pubblici.giudiciPopolari.client.jar" download="lazy"/>
    <!-- Fine Giudici Popolari -->
    <jar href="/client/signed-jars/it.saga.pubblici.iva.client.jar" download="lazy"/>
    <!-- Fine Iva -->
    <jar href="/client/signed-jars/it.saga.pubblici.leva.menu.jar" download="lazy"/>
    <jar href="/client/signed-jars/it.saga.pubblici.leva.client.jar" download="lazy"/>
    <!-- Fine Leva -->
    <jar href="/client/signed-jars/it.saga.pubblici.magazzino.client.jar" download="lazy"/>
    <!-- Fine Magazz
    Trace message truncated for length over 10K

  • Capturing image from Webcam

    Hi,
    Is there any way in which Java can be used to capture images from the webcam and save it to a predefined image file name?
    Any examples out there?
    Alternatively, I could have the application written in other languages, but still, I would need my main Java app to launch this external app.
    Thanks alot.

    Hi,
    Is there any way in which Java can be used to capture
    images from the webcam and save it to a predefined
    image file name?
    Any examples out there?
    Alternatively, I could have the application written in
    other languages, but still, I would need my main Java
    app to launch this external app.
    Thanks alot.Yes, the ExampleSave from the JavaTwain package at http://www.gnome.sk does this job :)
    If you just want to see how Java Twain works with your webcam (works with a scanner too):
    - java (1.2 or higher for Windows, 1.3 or higher for Mac OS X) has to be installed on your computer
    - a scanner or camera has to be installed on your computer
    - download the trial package from http://www.gnome.sk
    - unzipp it
    - go to the examples directory of the unzipped package
    - in Windows: doubleclick the runExampleShow.bat
    - in MacOS:
        - open the Terminal window
        - change the working directory to the examples
        - run .sh file (type ExampleShow.sh or sh ExampleShow.sh)
    This will pop up the Twain Source Selection user interface. There, all your scanners and cameras which do have a twain driver should be listed. (About 90% of scanners and cameras on the market do have a twain driver for Windows, only a few do have a twain driver for MacOS.) Select one of them. The user interface of the selected scanner (camera) will appear. Confirm the scanning (you can set the scanning parameters first). The scanned image will be displayed in a separate window. To end the application, close that window.
    Running different examples, you can test scanning with hidden UI, saving the scanned image, using ADF, ...
    If there is any problem, do not hesitate to inquire about it at the technical support, email: [email protected] . I am the member of the staff :)
    Erika Kupkova

  • How to add things permenantly to the class path?

    Greetings
    guys, I 'm using morena package(doesnot matter what it is), and when i need to execute my application i have to use things like this:
    java -cp examples\examples.jar;javatwain.jar -Xmx128M -Xbootclasspath/p:javatwain_license.jar RunExample
    please, is there any simple tutorial to understand this line and what it does exactly, and how can I run my application simply by using (java runexample). I know that things needed to be added to the classpath, and others to variables path; but how, what, and why etc...
    simply i cannot understand this all.

    the PATH is used by the operating system to determine where to look for files when no directory is give.
    It has nothing at all to do with Java, it just tells the operating system where it can find your java and javac (and others) when you type "java MyClass" (for example) on the command prompt.
    Anything not on the path can still be used by the operating system as long as you tell it exactly where to look.
    the CLASSPATH is used internally by Java to determine where it can find classes.
    It can contain directories and jar-files (PATH can contain only directories). The operating system does nothing with it (except telling java what it is when asked).
    Any class that can't be found on the classpath doesn't exist as far as java is concerned.
    So they perform similar roles but in a quite different context.

  • Need help on applet  chat

    Dear all,
    I need a applet chat program (source code or jar engine), including chat, voice, webcam (if possible). Please advice
    Thanks
    CAO

    Dear all,
    I need a applet chat program (source code or jar
    engine), including chat, voice, webcam (if possible).
    Please advice
    Thanks
    CAOIf you decide to do the applet yourself, to include the webcam, the JavaTwain package http://www.gnome.sk can be very usefull.
    There is an online tutorial too, where you can find an applet which uploads the image from the client's webcam (or scanner) to the server.
    If you have a camera connected to your computer, you can see how this applet works directly from the website's remote examples.
    Erika Kupkova
    Erika

  • Any other choices for communication with web cam

    Hi all,
    I have wrote a JMF program that takes the images from webcam. However, it really depends on lighting. When lighting is not enough, my whole application hangs. In fact, I have installed the software provided together with my webcam, it works pretty good nomatter how dark it is. Therefore, I really hope you guys can share some experiences to me, or are there any choices, such as, C, C++, etc, that allows me to capture the images from webcam continously. I am tired about java JMF. Thx a lot.

    To communicate with web cam, you can avoid JMF using the JavaTwain package http://www.gnome.sk
    This package enables you to connect to your camera or scanner directly from a java application.
    If you just want to see how Java Twain works with your scanner or camera:
    - java (1.2 or higher for Windows, 1.3 or higher for Mac OS X) has to be installed on your computer
    - a scanner or camera has to be installed on your computer
    - download the trial package from http://www.gnome.sk
    - unzipp it
    - go to the examples directory of the unzipped package
    - in Windows: doubleclick the runExampleShow.bat
    - in MacOS:
        - open the Terminal window
        - change the working directory to the examples
        - run .sh file (type ExampleShow.sh or sh ExampleShow.sh)
    This will pop up the Twain Source Selection user interface. There, all your scanners and cameras which do have a twain driver should be listed. (About 90% of scanners and cameras on the market do have a twain driver for Windows, only a few do have a twain driver for MacOS.) Select one of them. The user interface of the selected scanner (camera) will appear. Confirm the scanning (you can set the scanning parameters first). The scanned image will be displayed in a separate window. To end the application, close that window.
    Running different examples, you can test scanning with hidden UI, saving the scanned image, using ADF, ...
    If there is any problem, do not hesitate to inquire about it at the technical support, email: [email protected] . I am the member of the staff :)
    Erika Kupkova

  • Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)

    Can any one tell me why i am getting this. Please?
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x4458F1C
    Function=[Unknown.]
    Library=C:\WINDOWS\TWAIN_32\Fjscan32\fjtw32.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at SK.gnome.twain.TwainManager.close(Native Method)
         at SK.gnome.twain.TwainManager$ShutdownHook.run(TwainManager.java:26)
    Dynamic libraries:
    0x00400000 - 0x0040B000      C:\Program Files\Java\j2re1.4.2_08\bin\javaw.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\MSVCRT.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x629C0000 - 0x629C9000      C:\WINDOWS\system32\LPK.DLL
    0x74D90000 - 0x74DFB000      C:\WINDOWS\system32\USP10.dll
    0x08000000 - 0x08138000      C:\Program Files\Java\j2re1.4.2_08\bin\client\jvm.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      C:\Program Files\Java\j2re1.4.2_08\bin\hpi.dll
    0x003B0000 - 0x003BE000      C:\Program Files\Java\j2re1.4.2_08\bin\verify.dll
    0x003C0000 - 0x003D9000      C:\Program Files\Java\j2re1.4.2_08\bin\java.dll
    0x003E0000 - 0x003EE000      C:\Program Files\Java\j2re1.4.2_08\bin\zip.dll
    0x02F80000 - 0x03092000      C:\Program Files\Java\j2re1.4.2_08\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x030F0000 - 0x03141000      C:\Program Files\Java\j2re1.4.2_08\bin\fontmanager.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\ddraw.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x755C0000 - 0x755EE000      C:\WINDOWS\system32\msctfime.ime
    0x031D0000 - 0x031DF000      C:\Program Files\Java\j2re1.4.2_08\bin\net.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x66210000 - 0x66219000      C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    0x50D50000 - 0x50D97000      C:\WINDOWS\system32\NETWIN32.DLL
    0x50D00000 - 0x50D15000      C:\WINDOWS\system32\CLNWIN32.DLL
    0x50DF0000 - 0x50E10000      C:\WINDOWS\system32\LOCWIN32.DLL
    0x50DB0000 - 0x50DDB000      C:\WINDOWS\system32\NCPWIN32.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\WSOCK32.dll
    0x66220000 - 0x6622C000      C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    0x1C000000 - 0x1C007000      C:\WINDOWS\system32\NWSRVLOC.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x03440000 - 0x03462000      C:\Program Files\Java\j2re1.4.2_08\bin\dcpr.dll
    0x033C0000 - 0x033CC000      C:\Program Files\Java\j2re1.4.2_08\javaws\javawspl.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x76980000 - 0x76988000      C:\WINDOWS\system32\LINKINFO.dll
    0x76990000 - 0x769B5000      C:\WINDOWS\system32\ntshrui.dll
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x039D0000 - 0x03A16000      C:\Program Files\Java\j2re1.4.2_08\lib\ext\javatwain.dll
    0x20000000 - 0x202C5000      C:\WINDOWS\system32\xpsp2res.dll
    0x73BA0000 - 0x73BB3000      C:\WINDOWS\system32\sti.dll
    0x74AE0000 - 0x74AE7000      C:\WINDOWS\system32\CFGMGR32.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x04880000 - 0x048AD000      C:\WINDOWS\system32\fi41202u.dll
    0x75AA0000 - 0x75AF5000      C:\WINDOWS\system32\wiaservc.dll
    0x73B30000 - 0x73B44000      C:\WINDOWS\system32\mscms.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x04900000 - 0x04907000      C:\WINDOWS\twain_32\fjscan32\Filters\PIDE0409.DLL
    0x04CB0000 - 0x04CD3000      C:\Program Files\Java\j2re1.4.2_08\bin\cmm.dll
    0x03EA0000 - 0x0428D000      C:\Program Files\Java\j2re1.4.2_08\bin\mlib_jai_mmx.dll
    0x5B2D0000 - 0x5B2E0000      C:\WINDOWS\Twain_32.dll
    0x6F490000 - 0x6F4B1000      C:\WINDOWS\system32\wiadss.dll
    0x04390000 - 0x043B1000      C:\WINDOWS\Twain_32\Fjscan32\Fjtw0002.ds
    0x043C0000 - 0x04534000      C:\WINDOWS\TWAIN_32\Fjscan32\fjtw32.dll
    0x035B0000 - 0x035BD000      C:\WINDOWS\system32\fjipl.dll
    0x60000000 - 0x60058000      C:\WINDOWS\Twain_32\Fjscan32\ijl15.dll
    0x04540000 - 0x04562000      C:\WINDOWS\Twain_32\Fjscan32\FsipDCBW.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x04580000 - 0x0465E000      C:\WINDOWS\system32\fjiplW7.dll
    0x732E0000 - 0x732E5000      C:\WINDOWS\system32\RICHED32.DLL
    0x74E30000 - 0x74E9C000      C:\WINDOWS\system32\RICHED20.dll
    0x04910000 - 0x04983000      C:\WINDOWS\TWAIN_32\Fjscan32\FJTW0409.DLL
    0x04B00000 - 0x04B63000      C:\WINDOWS\TWAIN_32\Fjscan32\Lynx.DLL
    0x04990000 - 0x049C0000      C:\WINDOWS\twain_32\fjscan32\Filters\Endorser.ipc
    0x049C0000 - 0x049EB000      C:\WINDOWS\twain_32\fjscan32\Filters\Frame.ipc
    0x04B80000 - 0x04BA6000      C:\WINDOWS\TWAIN_32\Fjscan32\filters\ClrConv.dll
    0x04BC0000 - 0x04BCD000      C:\WINDOWS\TWAIN_32\Fjscan32\P2IJDGWP.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 4544K, used 300K [0x10010000, 0x104f0000, 0x104f0000)
    eden space 4096K, 7% used [0x10010000, 0x1005b0b8, 0x10410000)
    from space 448K, 0% used [0x10410000, 0x10410000, 0x10480000)
    to space 448K, 0% used [0x10480000, 0x10480000, 0x104f0000)
    tenured generation total 60544K, used 29928K [0x104f0000, 0x14010000, 0x14010000)
    the space 60544K, 49% used [0x104f0000, 0x1222a050, 0x1222a200, 0x14010000)
    compacting perm gen total 12544K, used 12456K [0x14010000, 0x14c50000, 0x18010000)
    the space 12544K, 99% used [0x14010000, 0x14c3a3d0, 0x14c3a400, 0x14c50000)
    Local Time = Thu Aug 18 09:22:57 2005
    Elapsed Time = 139
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    #

    I appreciate your response. The strangest thing is In my application it scanns well fist time second time it will thow above error. I thing is my JAI image viewer is taking more meomory.(JAI Example viewer) Advise me

Maybe you are looking for

  • Generic document services - web

    hi folks, we're in planning/doing to migrate a part of an application (abap / dynpro) to a webdynpro abap application for the frontend part, and in the old one we're using the generic object/document services (cl_gos_manager etc.). does anyone has so

  • Purchase Order Reconciliation Workbench

    We are running into performance issues while closing POs in the Purchase Order Reconciliation Workbench. If 5+ users kick off the PO_RECON process online, it times out. Anybody out there experience similar issues? Any pointers would be appreciated. -

  • The share operation master file has failed error -1

    I can not export.  I keep getting this message.  Can anyone help me?  I am running Final Cut Pro X.

  • Profile Parameter Setup (RZ10) - Help Needed

    In using RZ10 to setup profile parameter for QAS, in the scenario below: How dow I change the "Unsubtituted and Subituted standard value to match this miadevs2\sapmnt\trans                                                                              

  • Need simple ALV Grid prgm with interactive

    Hi experts, pls anyone provide some sample code for simple alv grid for the study purpose. i want to knw how the Interactive alv works, how to display some header details like company name and address in the top of the grid.