JAI (advanced imaging) cannot get it going!

Hi,
I cant seem to get it going!
I have uninstalled sdk totally and reinstalled sdk and then jai but when i try to run i get
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage
at TestComponents.<init>(TestComponents.java:62)
at TestComponents.main(TestComponents.java:155)
It lets me compile the same file but not run it.
I was told that I need to adjust my classpath variable, this now reads:
C:\jdk1.3.1_08\jre\lib\ext\jai_codec.jar; C:\jdk1.3.1_08\jre\lib\ext\jai_core.jar; C:\jdk1.3.1_08\jre\lib\ext\mlibwrapper_jai.jar;C:\jdk1.3.1_08\jre\lib\;C:\jdk1.3.1_08\bin;.
but it still wont work...
can anyone help...I have an assignment to give in so i need some urgent advice.
thanx

Taimor,
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System3
\Wbem;
C:\jdk1.3.1_08\bin;C:\PROGRA~1\COMMON~1\AUTODE~1;
C:\Program Files\Common Files\Autodesk Shared\
I am running windows 2000.Hum.... change your path so it will have the jdk path as the first entry (even before the %SystemRoot% entries) and change your classpath to remove entries from the JAI. That should make Java recognize the jars that are on the ext directory.
hope it helps, let us know
Rafael

Similar Messages

  • E-mail and Internet Service stopped working and I cannot get it going again - Pearl 8130

    I recently activated e-mail and a data package (December 12th to be exact). On Saturday I noticed that I stopped receiving e-mails from my Hotmail, and as of today I'm receiving any e-mails from my work e-mail either. It worked 100% normally up to this point.
    My browswer or online applications are not working whatsoever either. It says "There is insufficient network coverage to process your request. Please try again later", which is garbage as I have just fine network coverage as I sit in my office.
    Yesterday I received a message to my phone stating:
    "Update the password for jsytsma@**************.on.ca in the BlackBerry Internet Service! E-mail messages from jsytsma@**************.on.ca are not being delivereed to your BlackBerry device. To resume receiving email messages from this address, update the password for jsytsma@**************.on.ca in the BlackBerry Internet Service:"
    And it proceeds to tell me how to do this. It says I can do it through my phone, which is a dead end as I go to tweak it, and I get the message about "Insufficient network coverage". 
    I then went to my Web Client login and tried what I thought to be my username and password. I tried several combinations and nothing was working. I have 2 passwords I use for things and I tried them over and over again with different user names, but I'm 95% sure my user name is "jsytsma". 
    So last resort, I type in my pin and it said the username/password will be sent to my BlackBerry messenger. That would be great if everything were working! So far it's been over 2 hours and I've received nothing.
    Is there a number I can call that DOESN'T cost me $55 CDN dollars a call?

    Do that ^^ as stated.
    or:
    1. Options > Advanced > Host Routing Table > Menu > Register.
    2. With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot
    if still nothing...
    3. resend your service books from your carrier BIS site.
    http://www.blackberryfaq.com/index.php/Where_can_I_log_into_my_BIS_account%3F
    or, for a call that doesn't cost you $55, call your carrier.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I interrupted am Maverick download and now I can't get it going again

    I am trying to upgrade from 10.7.3 to Mavericks. I interrupted the download and now cannot get it going again. How  do I proceed?

    Try the instructions here >  Mac App Store: How to resume interrupted downloads

  • When playing a slide show there are many nonvisible photos.  They appear as "image cannot be edited. The original is offline."  Where is it and how can I get it back into my photo library?

    How can I get all my images to show in my photo library?  When playing a slide show some of my photos have a message "Image Cannot Be Edited.  The original is offline." 

    What version of iPhoto?
    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • Cannot get an Apex HTML region with table with a background image to resize image to fit table

    I want to achieve this: Table whith background image but cannot get it to work in an Apex page with HTML region.
    Adding the following code to the html region:
    <table class="tableWithBackground" width="300px" height="200px" border="1">
        <tr>
            <td>
                <img class="tableBackground" src="#APP_IMAGES#Demo.jpg">
                Hello
            </td>
            <td>
                World
            </td>
        </tr>
        <tr>
            <td>How are<br><br><br><br><br>you?</td>
            <td>I am fine</td>
        </tr>
    </td>
    Results in a page with a table but without borders (at his stage I have not yet uploaded the Demo.jpg). After uploading the Demo.jpg results in a table with the entire image placed in het first cell. After placing the class code in the CSS inline property I expected to see the result as is shown in the Table whith background image  demo. For some reason this does not work (the image is no longer visible).
    Can anybody tell me how to achieve my goal?
    Thanks in advance!
    Geert

    Geert01 wrote:
    I want to achieve this: Table whith background image but cannot get it to work in an Apex page with HTML region.
    Adding the following code to the html region:
    <table class="tableWithBackground" width="300px" height="200px" border="1">
        <tr>
            <td>
                <img class="tableBackground" src="#APP_IMAGES#Demo.jpg">
                Hello
            </td>
            <td>
                World
            </td>
        </tr>
        <tr>
            <td>How are<br><br><br><br><br>you?</td>
            <td>I am fine</td>
        </tr>
    </td>
    Results in a page with a table but without borders (at his stage I have not yet uploaded the Demo.jpg). After uploading the Demo.jpg results in a table with the entire image placed in het first cell. After placing the class code in the CSS inline property I expected to see the result as is shown in the Table whith background image  demo. For some reason this does not work (the image is no longer visible).
    Can anybody tell me how to achieve my goal?
    This is a workaround. What's your real goal? Why do you want to do this?
    What browser(s)/version(s) are you using? All current browser versions have support for CSS3 background sizing which is the proper way to do this.

  • I downloaded updates to iphoto and computer erred on install. I cannot open iphoto. I decided to reinstall iphoto from app disk and now I get an error message"......iphoto may be damaged or incomplete"  Any suggestions how to get iphoto going again???

    I downloaded updates to iphoto and computer erred on install. A report went to Apple.
    I cannot open iphoto. I decided to reinstall iphoto from my app disk and now I get an error message"......iphoto may be damaged or incomplete"  Any suggestions how to get iphoto going again???
    My iphoto library still exists and I don't want to lose it.

    https://discussions.apple.com/community/ilife/iphoto

  • Cannot get Mac Book Pro  to connect to ebay. Other computers in the house on the same network connect, but this mac book pro won't. It goes to any other web site, just won't connect to ebay

    I cannot get this macbook pro to connect to ebay. Other apple computers in my house on same network will but this one will not. This one will connect to any other site, but not ebay. Thoiguhts?

    Try using OpenDNS servers:
    System Preferences>Network>Advanced>DNS.
    Click on the + in the left side column and add the following:
    208.67.222.222
    208.67.220.220
    Click OK, then click Apply
    BTW one post is sufficient. Two clogs the servers.

  • Cannot get KeyListener to work with JAI ScrollImagePanel

    I am trying to display a TIF image and use the page up and page down keys to show page 1 and page 2 of the image. I started with an example for the JAI documentation.
    The problem is that I can't get the key event listener to "see" keystokes.
    I think ScrollImagePanel() is doing its own event listening and I don't know how to get at it.
    Here is the code:
    // http://java.sun.com/products/java-media/jai/forDevelopers/samples/MultiPageRead.java
    A single page of a multi-page TIFF file may loaded most easily by using the page
    parameter with the "TIFF" operator which is documented in the class comments of
    javax.media.jai.operator.TIFFDescriptor. This example shows a
    means of loading a single page of a multi-page TIFF file using the ancillary codec
    classes directly.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.File;
    import java.io.IOException;
    import java.awt.image.RenderedImage;
    import java.awt.image.renderable.ParameterBlock;
    import javax.media.jai.*;
    import javax.media.jai.widget.*;
    import com.sun.media.jai.codec.*;
    public class MultiPageRead4 extends Frame
                implements KeyListener {                              //1
        ScrollingImagePanel panel;
        File file = null;
        ImageDecoder dec = null;
        RenderedImage op = null;
        // side to load, 0=front and 1=back
        static int imageToLoad = 0;
        /** The key code to flip between back and front images */
        private static final int FLIP_IMAGE_KEY1 = KeyEvent.VK_PAGE_UP;
        private static final int FLIP_IMAGE_KEY2 = KeyEvent.VK_PAGE_DOWN;
        /** Short cut key to exit the application */
        private static final int EXIT_KEY = KeyEvent.VK_ESCAPE;
        public MultiPageRead4(String filename) throws IOException {  //2
            super("Multi page TIFF Reader");
            // won't work here either
            // addKeyListener(this);
            addWindowListener(new WindowAdapter() {                  //3
               public void windowClosing(WindowEvent we) {           //4
               System.exit(0);
               }                                                     //4
            });                                                      //3
            if(file == null) {                                       //3
                file = new File(filename);
                SeekableStream s = new FileSeekableStream(file);
                TIFFDecodeParam param = null;
                dec = ImageCodec.createImageDecoder("tiff", s, param);
                System.out.println("Number of images in this TIFF: " +
                                   dec.getNumPages());
                // Which of the multiple images in the TIFF file do we want to load
                // 0 refers to the first, 1 to the second and so on.
                // int imageToLoad = 1;
                }                                                    //3
            // display side of tiff indicated by imageToLoad which is initialized to 0
            // and set by page up / page down
            displaySide();
            }                                                         //2
        // Methods required by the KeyListener interface.
         * Process a key being pressed. Does nothing as we wait for the
         * release before moving.
         * @param evt The event that caused this method to be called
        public void keyPressed(KeyEvent evt)
             System.out.println("Key pressed.");   // debug -- see if it works
            // do nothing
         * Process a key being type (press and release). Does nothing as this is
         * always dodgy about when we get the event. Better to look for the
         * release.
         * @param evt The event that caused this method to be called
        public void keyTyped(KeyEvent evt)
             System.out.println("Key typed.");    // debug -- see if it works
            // do nothing
         * Process a key being pressed. Does nothing as we wait for the
         * release before moving.
         * @param evt The event that caused this method to be called
        public void keyReleased(KeyEvent evt)
        {                                                              //2
            System.out.println("Key released.");  // debug -- see if it works
            switch(evt.getKeyCode())
            {                                                         //3
                case EXIT_KEY:
                    System.exit(0);
                    break;
                case FLIP_IMAGE_KEY1:
                   if(imageToLoad == 1) {                             //4
                      imageToLoad = 0;
                      displaySide();
                      break;
                   }                                                  //4
                case FLIP_IMAGE_KEY2:
                   if(imageToLoad == 0) {                             //4
                      imageToLoad = 1;
                      displaySide();
                      break;
                   }                                                  //4
            }                                                         //3
        }                                                             //2
        public void displaySide() {                                   //2
            try {
                op = new NullOpImage(dec.decodeAsRenderedImage(imageToLoad),
                                null,
                                OpImage.OP_IO_BOUND,
                                null);
                }  catch (java.io.IOException ioe) {
                      System.out.println(ioe);
        * Create a standard bilinear interpolation object to be
        * used with the �scale� operator.
           Interpolation interp = Interpolation.getInstance(
                 Interpolation.INTERP_BILINEAR);
        * Stores the required input source and parameters in a
        * ParameterBlock to be sent to the operation registry,
        * and eventually to the �scale� operator.
           ParameterBlock params = new ParameterBlock();
        // params.addSource(image1);
           params.addSource(op);
           params.add(0.70F); // x scale factor
           params.add(0.70F); // y scale factor
           params.add(0.0F); // x translate
           params.add(0.0F); // y translate
           params.add(interp); // interpolation method
        /* Create an operator to scale image1. */
           RenderedOp image2 = JAI.create("scale", params);
        /* Get the width and height of image2 + 3% */
           int width = (int)(image2.getWidth() * 1.03);
           int height = (int)(image2.getHeight() * 1.03);
        /* Attach image2 to a scrolling panel to be displayed. */
           panel = new ScrollingImagePanel(
              image2, width, height);
           panel.addKeyListener(this);
           // Display the original in a 800x800 scrolling window
           // panel = new ScrollingImagePanel(op, 1000, 600);
           add(panel);
           pack();
           show();
                                                                      //2
        public static void main(String [] args) {
            String filename = "034363331.TIF";
            try {
                MultiPageRead4 window = new MultiPageRead4(filename);
                }  catch (java.io.IOException ioe) {
                      System.out.println(ioe);
            System.out.println("finished.");
    // http://java.sun.com/products/java-media/jai/forDevelopers/samples/MultiPageRead.javaI can't get the KeyListener to act (or send the debug messages to System.out.println()).
    If "add( panel );" is removed and the comment before " keyListener(this); " in the constructor the key listening logic works -- of course no image is displayed.
    Thanks for any help.
    Bill Blalock

    Thanks for exanding your explanation. I am not yet skilled enough in Java to follow you completely but I am getting the idea.
    I would appreciate a code snippet using my example so I can better understand. In the mean time I found one way to make it work.
    In the example I eventually found that this change ..
           show();
           panel.requestFocus();enabled the key listener. Bringing the window, even clicking on the panel, didn't give it focus. I understand that the window has to have the focus in order for the key listener to function (different from the mouse listender). I don't understand why the application did not have "focus" even though it was on top and active.
    Oh well, lots to learn.
    Thanks for your suggestion!

  • I re started my computer and re intalled itunes. all my music is on my iphone and i cannot get it back on itunes. when i try to sync it tells me i am going to loose all my music. i really don't wont to go through all my CD's again so can any one help

    i re started my computer and re intalled itunes. all my music is on my iphone and i cannot get it back on itunes. when i try to sync it tells me i am going to loose all my music. i really don't wont to go through all my CD's again so can any one help

    See Empty/corrupt library after upgrade/crash or
    Recover your iTunes library from your iPod or iOS device.
    tt2

  • Cannot get software RAID-1 going on root (/) on Sun V240's

    Hi All,
    I for the life of me cannot get software RAID-1 going on the root file-system. I've followed the instructions in Solaris Volume Manager Admin. Guide and I think I'm doing it right. This is in a Sun V240 with two 137GB drives.
    I basically do the following:
    Disk0 - c1t0d0s0
    Disk1 - c1t0d1s0
    prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
    prtvtoc /dev/rdsk/c1t1d0s2 (Double check that disk 1 looks like disk 2)
    metadb -af -c 2 /dev/rdsk/c1t0d0s3 /dev/rdsk/c1t0d0s4
    metadb -af -c 2 /dev/rdsk/c1t1d0s3 /dev/rdsk/c1t1d0s4
    metainit -f d10 1 1 /dev/rdsk/c1t0d0s0
    metainit -f d20 1 1 /dev/rdsk/c1t1d0s0
    metainit d0 -m d10
    metaroot d0
    lockfs -fa
    reboot
    Before I reboot, I do a metastat and it shows the following:
    # metastat
    d0: Mirror
        Submirror 0: d10
          State: Okay        
        Pass: 1
        Read option: roundrobin (default)
        Write option: parallel (default)
        Size: 20494464 blocks (9.8 GB)
    d10: Submirror of d0
        State: Okay        
        Size: 20494464 blocks (9.8 GB)
        Stripe 0:
            Device     Start Block  Dbase        State Reloc Hot Spare
            c1t0d0s0          0     No            Okay   Yes
    d20: Concat/Stripe
        Size: 20494464 blocks (9.8 GB)
        Stripe 0:
            Device     Start Block  Dbase   Reloc
            c1t1d0s0          0     No      YesUpon reboot, I get this:
    Rebooting with command: boot                                         
    Boot device: /pci@1c,600000/scsi@2/disk@0,0:a  File and args:
    SunOS Release 5.10 Version Generic 64-bit
    Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    Cannot open mirrored root device, error 19
    Cannot remount root on /pseudo/md@0:0,0,blk fstype ufs
    panic[cpu1]/thread=180e000: vfs_mountroot: cannot remount root
    000000000180b960 genunix:vfs_mountroot+2b8 (18aa800, 0, 185e6f8, 3000153dc40, 1859ce8, 4)
      %l0-3: 0000000000000000 0000000000000003 00000000018a40b0 00000000018a40b0
      %l4-7: 000000000185b800 00000000011cb000 00000000018aa800 0000000001834340
    000000000180ba20 genunix:main+88 (1813c98, 1011c00, 1834340, 18a7c00, 0, 1813800)
      %l0-3: 000000000180e000 0000000000000001 000000000180c000 0000000001835200
      %l4-7: 0000000070002000 0000000000000001 000000000181ba54 0000000000000000
    syncing file systems... done
    skipping system dump - no dump device configured
    rebooting...HELP! What am I doing wrong? Thanks!

    You created to many metadatabases..
    I'm not kidding, you did. You created 8 which i suspect trigged a bug which currently exists in Solaris 9 / Solaris 10.
    This bug occours on the following disks: MAT3073N, MAT3147N, MAT3300N and ST373207LC, if you have any of those disks in your system (can be determined with iostat -En) you must use less than 8 replicas.
    Check out bugreport 6244431, if you got a sunsolve login linked to a contract number.
    You could try and boot up the system from a cdrom or similar and add "md_devid_destroy=1;" to the /kernel/drv/md.conf file above the 'Begin MDD database info' line.
    hopefully your system will come up after this, if it does the best workaround is to remove a few replicas, the above line from md.conf and reboot.
    Best regards,
    //Magnus
    Best regards,
    //Magnus

  • Downloaded a trial version of the "Living Earth Desktop" screensaver and cannot get rid of it. I deleted the download and cannot find it anywhere else on my mac. I will change the desktop image and the living earth image will pop back up minutes later.

    Downloaded a trial version of the "Living Earth Desktop" screensaver and cannot get rid of it. I deleted the download and cannot find it anywhere else on my mac. I will change the desktop image and the living earth image will pop back up minutes later. Does anyone know how I can make this image stop taking over my desktop? Thanks!
    http://download.cnet.com/Living-Earth-Desktop/3000-2049_4-10789812.html
    This is the website.

    IF you know the exact file name of the download, you can search for it in the spotlight.
    (This icon) in the upper right corner.
    If you don't know the exact file name, you may have to redownload it so you can see it.
    I would also try doing a reboot after you change your desktop background to what you want.

  • I keep losing entire catalogs. I put in 30,000 images and cannot get to them. Put in 3,000 images and get error message "LR encountered error when reading its previous cash and needs to quit. LR will fix this problem the next time it loads.' I  have loade

    I keep losing entire catalogs. I put in 30,000 images and cannot get to them. Put in 3,000 images and get error message "Light room encountered error when reading its previous cash and needs to quit. light room will fix this problem the next time it loads.'
    I  have loaded light room several times and even exited computer for 8 hours. Still get error message

    A search of this forum shows lots of threads where this issue of "error reading cache" is solved

  • What is going on with Verizon? Cannot refill my data, cannot get a hold of customer service

    All day long I have been trying fill my data, and I cannot do it via phone or online. I cannot get a customer service representative.  The 800 number keeps telling me that they are having issues processing my request and that they can't connect to customer service. I cannot refill it online, I keep being told that they are updating their systems. Literally this has been going on all day from about 9 am to now, almost 12 hours.  Sick of this.

    For prepaid you call: (888) 294-6804.  Is that the number your calling?

  • Cannot play video and cannot get flash player to install what is going on..

    I can no longer play video. no matter what i do. I have followed in detail the instructions for flash player and cannot get it to install, what is going on.........

    I can no longer play video. no matter what i do. I have followed in detail the instructions for flash player and cannot get it to install, what is going on.........

  • I cannot get images to download to elements 9.

    I cannot get images to download with Elements 9 (Windows) the past two days.  I have degfragmented the computer 2X and downloaded Elements 9 2X...  Still will not download,  However, organizer opens as normal...

    From a storage card...  Have done this many times in the past...
    Date: Mon, 25 Mar 2013 12:53:48 -0700
    From: [email protected]
    To: [email protected]
    Subject: I cannot get images to download to elements 9.
        Re: I cannot get images to download to elements 9.
        created by 99jon in Photoshop Elements - View the full discussion
    Are you attempting to download from camera or storage card? Try copying the files to your hard drive and then use the Organizer menu: File >> Get Photos & Videos >> from Files & Folders
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5177741#5177741
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5177741#5177741
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5177741#5177741. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Multiple iPod Touchs with Facetime linked to a single Apple ID

    I have Multiple iPod Touchs (7 to be exact) with Facetime linked to a single Apple ID using different email addresses but all connected to the same WiFi network. Problem is that when I try to call one from another, multiples ring. I can call my iPhon

  • TABLE OR VIEW does NOT

    if I run the following query from sys user then get the error SELECT COUNT(1) FROM SCOTT.USER_TABLES ORA-00942: TABLE OR VIEW does NOT exist why it is so ??

  • Error:  The requested resource does not exist. (Servlet)

    Hello, I created a simple JSP(submit form), that calls a servlet. When I run the JSP, I see the form. On submit, I get error screen: 404   Not Found Error: The requested resource does not exist.   Troubleshooting Guide https://sdn.sap.com/irj/sdn/wik

  • Ical displays the wrong year and date, how do I reset it?

    My ical date is currently 2555 BE. I can get to a specific date but I am unable to set it to the correct date. Please help...

  • Freqent JVM crash when using OCI

    I have been experiencing the following JVM crashes frequently. We are using OCI to access database because of failover ability, OS is Suse 9. Any help is appreciated. Here's the log file. Thank you. Anita =============================== # An unexpect