Javax.media.jai error message

Hi,
This is probably more of an eclipse message so i am sure I will get slammed for posting it, anyway...
I have set a path to my necessary jai_cor.jar files, though now it does not show any error messages, when i go to compile I get the following error message:
Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.media.jai.codec.SeekableStream
     at javax.media.jai.operator.BMPDescriptor.class$(BMPDescriptor.java:86)
     at javax.media.jai.operator.BMPDescriptor.<clinit>(BMPDescriptor.java:85)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Unknown Source)
     at javax.media.jai.RegistryFileParser.getInstance(RegistryFileParser.java:216)
     at javax.media.jai.RegistryFileParser.registerDescriptor(RegistryFileParser.java:352)
     at javax.media.jai.RegistryFileParser.parseFile(RegistryFileParser.java:287)
     at javax.media.jai.RegistryFileParser.loadOperationRegistry(RegistryFileParser.java:47)
     at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:363)
     at javax.media.jai.JAI.<clinit>(JAI.java:560)
Any ideas?
Thanks, Ron

Didn't have the codec file in the path!
Message was edited by:
cake

Similar Messages

  • Problem to find the javax.media.jai package

    hi everyone!! it's not the first time I ask this question, but i have troubles to find javax.media.jai..
    I've downloaded the jai 1.1 and everything is fine... However, I have to use classes from the javax.media.jai... I made the import, and it doesn't find it, as if it doesn't exist... Someone tells me that the jai contained it, so why doesn't it find it??
    i'm using a java version 1.2.. do you think that is the problem?
    thanks a lot, and sorry for my bad english!!
    Anne.

    thanks a lot!!! it helps me but doesn't resolve my problem!! ;o)
    you may be right,, it's a classpath problem. well i work under unix, so i have to give my classpath by the command setenv CLASSPATH ...
    i didn't find the jai_core.jar in my JAI 1.1, I have only the BugFixes.jar...
    I tried to download the latest version of JAI, and unfortunately i have a new problem with the .tar, i don't manage to "open" it... the command
    tar xvf [archieve file] gives me some errors!!
    so I don't know what I'm gonna do.... I think I'm going to ask someone to send me the package, or the specific classes I need, it would be more easier!!
    Thanks
    Anne.

  • JAI installation problem, javax/media/jai/util/ not found?

    Hi,
    I am trying to use the JAI instllation in executing a class. However, I keep getting the following message.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/util/
    I have added some jars from the JAI instllation to my classpath. However, I still get this message.
    What jar file do I have to reference so I do not get this message?

    Even more strange, I deploy it under Unix, there is no problem. The previous one is deployed
    under Windowns XP. Anyone has same experience?

  • Package javax.media.jai does not exists

    I am geting this error
    'package javax.media.jai does not exists'
    when I try to compile my Java Application in Netbeans.
    i have upgraded from JDK 1.5_06 to JDK 1.6_27 and no other code changes
    Earlier I was using jai_codec.jar and jai.core.jar with JDK 1.5_06.
    Can anyone help me with this?Where can I download the latest jai_codec and jai_core.jar files
    that are compatible with JDK 1.6_27 ?
    Thanks

    885522 wrote:
    Earlier I was using jai_codec.jar and jai.core.jar with JDK 1.5_06.So keep using them.

  • NoClassDefFoundError: javax/media/jai/PlanarImage

    I am trying to run the JaiTut from the JAI and got the following error. Is this a classpath problem or what, I'm kind of new to this stuff.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage
    at LoadDemo.load(LoadDemo.java:42)
    at RightPage.setContents(RightPage.java:141)
    at Book.setContents(Book.java:142)
    at Book.loadPage(Book.java:161)
    at Book.gotoPage(Book.java:217)
    at Book.valueChanged(Book.java:123)
    at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
    at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
    at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
    at javax.swing.JList.setSelectedIndex(Unknown Source)
    at Book.loadIndex(Book.java:297)
    at Book.<init>(Book.java:97)
    at Tutor.main(Tutor.java:54)

    So I changed my CLASSPATH to the following and I still get the error
    CLASSPATH=.;c:\jdk1.3.1\jai111\JaiTutor\classes;c:\jdk1.3.1\jai111\lib\jai_codec.jar;c:\jdk1.3.1\jai111\lib\ja
    i_core.jar;c:\jdk1.3.1\jai111\lib\mlibwrapper_jai.jar;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.
    1\lib\jmf.jar;C:\JSDT-2.0\lib\jsdt.jar;C:\WINNT\java\classes;.

  • Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/

    Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/
    After I got this exception, I tried the following solution:
    I downloaded the Windows package for JAI from this link:
    https://jai-imageio.dev.java.net/binary-builds.html
    Then I went to the Projects window > Libraries (Netbeans IDE) and browsed to the two jar files in that download. The two jar files are now showing under the Libraries node and, accordingly, they are listed in my Classpath as this:
    ..\..\..\Desktop\jai-imageio-1_2-pre-dr-b04-lib-windows-i586-07_Apr_2009\lib\ext\jai_imageio.jar
    ..\..\..\Desktop\jai-imageio-1_2-pre-dr-b04-lib-windows-i586-07_Apr_2009\lib\ext\clibwrapper_jiio.jar
    There also a couple of DLL files which I wasn't sure how to add.
    So why am I still getting this error? Maybe it's the wrong version of JAI?

    This research made me VERY late for work and I've been swamped all day. Didn't have a chance to post my solution earlier.
    "It appears that you have downloaded wrong package... try downloading and installing the stable release " jai_imageio-1_1-lib-windows-i586-jdk.exe ".
    I didn't know how to install that one. I tried clicking it and got an error msg. Then I added it as a reference (I browsed to it from the Libraries node) which "seemed" to work (allowed me to run my app using F6) but then it wouldn't produce a deployment package when I seleced Run > Clean and Build. So I went back and downloaded the "Daily Build" which unzips to two jar files
    jai_imageio.jar
    clibwrapper_jiio.jar
    and immedliately Run > Clean and Build produced a deployment package. (All of this is to get PDFbox running in my app). I also needed jai_core.jar which I believe was from this page:
    http://code.google.com/p/mapmap/downloads/detail?name=jai_core.jar&can=2&q=
    specifically this link:
    http://mapmap.googlecode.com/files/jai_core.jar
    By the way I am using a "Daily Build" for PDFbox (0.7.4) which came from the "FOP" downloads here:
    http://www.jeremias-maerki.ch/download/fop/pdf-images/
    but I still needed the older pdfbox 0.7.3 download just to extract the Fontbox.jar from it. I needed a codec from this page as well:
    http://www.findjar.com/jar/geoserver/jai/jars/jai_codec-1.1.3-alpha.jar.html
    the codec was offered as a one-link download:
    http://www.findjar.com/jar/geoserver/jai/jars/jai_codec-1.1.3-alpha.jar.html
    The upshot of all this is that I can now work with more types of PDF files than before - but still not all of them. I'm getting another error on some of them (I'll have to reproduce this at home).

  • In compileng time this class not found import javax.media.jai.JA

    Hi,
    I�m download
    jai_imageio-1_0_01-lib-windows-i586
    jai_imageio-1_0_01-lib-windows-i586-jdk
    jai_imageio-1_0_01-lib-windows-i586-jre
    jdk-1_5_0_02-windows-i586-p
    in compel time
    import com.sun.media.jai.codec.*;
    import javax.media.jai.JAI;
    The complier gave me error class not found
    How can i configured my system
    I have Windows XP
    [email protected]

    try compiling like this:
    java -cp "." myTest
    This is not compiling, here you execute the already
    compiled myTest.java file (or it should be already
    compiled). To compile you may want to use javac or any
    other available compiler.Oops, sorry, I didn't mean compiling.
    If you were able to compile ok, you can try running the program by using:
    java -cp "." myTest
    This usually will solve the problem when your program comples fine but can't find the class when you try to run it. It's almost like the compiler assumes to look in the current directory but the VM (java.exe) doesn't make this assumption.

  • Use of javax.media.jai

    Hi all,
    I wanted to use some classes of javax.media.jai but , I get this error which says
    cannot resolve javax.media, I am using eclipse to write my code. Please let me know what I need to do.
    Thank you.

    Two things to check.
    If your trying to actually use the JAI from javax.media.jai you need to
    have the following import.
    import javax.media.jai.JAI;
    Also in eclipse you need to make sure that you have the package included in the project, and that your Class Paths are correct. If your class paths aren't correct then even if you have the package in the project you'll get errors.
    Hope that helps.

  • Downloading javax.media.jai.JAI

    hi,
    helo im new to this forum. Can anybody plz help me in downloading the package "javax.media.jai.JAI". Please let me know where can i download the above package. This is very important to me plz help me.

    Hey,
    Search google man.....Type JAI software for download...u find setup file.......
    Best Of Luck!
    Rgds,

  • Javax.media.jai in applets

    I would like to use some features of javax.media.jai in developing some applets, but from what I read I get the impression that most average users' JRE would not have this installed. Is this correct?

    Sidereal wrote:
    1. Would this greatly increase load time?That depends on the size of the Jar's, and the speed of the server and client connections (or whatever connection between them is the slowest).
    If you deploy the applet in a 1.6.0_10+ JRE, it can be deployed using web start (while still embedded in the web page). Deploying using web start can offer a number of advantages, such as..
    - Better control of class caching, and even 'lazy' deployment of classes and resources. This latter ability ensures the applet appears on-screen quickly, while downloading other components as needed.
    - Sand-boxed access to the local file-system.
    - The ability to offer different security levels for different application components. (E.G. the JAI Jar's might already be digitally signed with a valid certificate, simplifying matters.)
    Sidereal wrote:
    2. Can you point me to any good tutorials on setting this up?As an aside, it would help if you had not ignored my earlier question. It was not merely curiosity. If you had answered my question, I might have been able to determine some of the constraints of this deployment. As it is, I am not about to enter a lengthy discussion (or lots of links) covering all the possibilities, so how about you narrow it down by answering my earlier question? (<- as opposed to that one, which was purely rhetorical.)
    And please be as specific as possible. What I am looking for is like the 'feature list' you might see on the box of commercial software. The things that are supposed to make the person think "I +need+ that!".

  • Javax.media.jai not in jmf.jar

    I’ve download JMF 2.1.1e from
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html
    and installed it. However it does not seem to contain the javax.media.jai or com.sun.media.jai packages as per the documentation :-
    http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/index.html
    I checked the contains of the jmf.tar and and the other jars that came with the download
    eg the following can not be found
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    So have I done something wrong, is this code no long in the jmf.jar, or is the documentation wrong ?

    Thanks, that got me the jai_imageio.jar , however this jar does not contain the any of the following packages
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    are they in another jar that I have not included, or do I need to get them from somewhere else?

  • Newbye question: what is javax.media.jai ?

    Hello,
    What is javax.media.jai for, and what has it more than java.awt.image?
    I am experiencing difficulties with colormap manipulations in the standard java.awt.image classes, so I'm wondering if javax.media.jai could help.
    Its classes are not in the standard documentation javadoc. If I use it in my project, do I have to warn people downloading that package or is it basically installed in the standard download of jse ?
    thank you

    Sidereal wrote:
    1. Would this greatly increase load time?That depends on the size of the Jar's, and the speed of the server and client connections (or whatever connection between them is the slowest).
    If you deploy the applet in a 1.6.0_10+ JRE, it can be deployed using web start (while still embedded in the web page). Deploying using web start can offer a number of advantages, such as..
    - Better control of class caching, and even 'lazy' deployment of classes and resources. This latter ability ensures the applet appears on-screen quickly, while downloading other components as needed.
    - Sand-boxed access to the local file-system.
    - The ability to offer different security levels for different application components. (E.G. the JAI Jar's might already be digitally signed with a valid certificate, simplifying matters.)
    Sidereal wrote:
    2. Can you point me to any good tutorials on setting this up?As an aside, it would help if you had not ignored my earlier question. It was not merely curiosity. If you had answered my question, I might have been able to determine some of the constraints of this deployment. As it is, I am not about to enter a lengthy discussion (or lots of links) covering all the possibilities, so how about you narrow it down by answering my earlier question? (<- as opposed to that one, which was purely rhetorical.)
    And please be as specific as possible. What I am looking for is like the 'feature list' you might see on the box of commercial software. The things that are supposed to make the person think "I +need+ that!".

  • Getting 1603 adobe media encoder error message when installing adobe cs4

    new to this.i am getting a error code 1603 stating that there's an fatal error with insatlling ADOBE MEDIA ENCODER in adobe cs4. i can not installed the program. i have a compaq presario that meets the minimum requirements. Ive tried everything from logging in administrator to using clean script to call tech support.please if someone is familiar with this error, help me fix it. tHIS error is driving me crazy.

    the error shows up when i installing disk 1 and it starts off installing the program then i noticed that when i came to installing the encoder the background screen flinches then the error message comes us. when i quit the installer and requests more info, it just gives me that error 1603. please help me.
    im running on WINDOWS VISTA HOME PREMIUM/SP1

  • Adobe media encoder error message - please help

    I purchased adobe creative suite 4 web standard in january of 2010.  I'm in the process of learning how to use all the features.  I am building a website in dreamweaver and wanted to create and import a flash movie.  I opened adobe media encoder from my program files.  I added an avi file to the encoder, chose a medium quality for web, and clicked Start Queue.  I then got the following pop up error message:
    Error Message:
    Adobe Media Encoder Debug Event
    Adobe Media Encoder has encountered an error.
    [..\..\Src\Win\WinFile.cpp-754]
    Please help.
    Thank You.

    This forum is for "flash media live encoder". For Adobe Media Encoder related queries go to Creative Suite forums.

  • Media file error message trying to play files from WDMycloud on ipad

    I am using a WDMyCloud networked hard drive to provide cloud backup for my Windows PCs. This backup includes my Itunes music library
    Using the WDMyCloud app on my iPad(or iPhone) I can see the library is succesfully backed up onto WDMy Cloud and can see all expected songs listed.
    Unfortunately when I try to open some of them on my iPad or iPhone using the WDMyCloud app I get an error message "Unable to play this media file". Some files do open OK
    File formats are mostly .m4a or otherise .mp3 and I have experience of problems with both types of files.
    I used to be able to play all WDMyCloud stored media files without any problem on my iPad/iPhone devices, and I am not aware of changing anything in iTunes/WDMyCloud or my Apple devices other than ensuring I keep up with the latest released software/version.
    Interestingly, I copied a couple of files that would not play into Dropbox onto my PC. I then looked for them on my iPad and iPhone usingWDMycloud app and looked into synced Dropbox folder in WDmy Cloud and found the files and hey presto they play OK.
    They also play on my iPad and iPhone if I go direct to the Dropbox app itself.
    Finally,I can also access my WDmyCloud via my Samsungsmart TV since it is on the same home network and and the "problem"  files will play OK on the TV.
    With my limited technical knowledge, its not clear that there is any difference between the files that play and those that don't.
    Grateful for any advice on what I might be able to do to fix it so all my files will play
    Many thanks

    I see. I understand Cisco just recently released this model in the market so probably there would be more tests to be done for further isolation and come up with a fix solution if proven to be really an issue. I guess for now we'll stand by for updates and just make the best out of Cisco's one of the top of the line routers.

Maybe you are looking for

  • Zen V Plus won't switch

    Interesting problem here - when I switch the player off (it gives me the "Shutting down" screen) it powers down, and then decides to switch itself on again! Recently I put a bit more music on there (which caused it to crash more than regularly - a ne

  • Free goods determination-Without Item generation

    Hi, I have read the below link, Inclusive Free Goods without Item Generation - Basic Functions and Master Data in SD Processing (SD-BF) - SAP Library I am using ECC 6.0 EHP 5,we dont have dont have condition type NRAV. Kindly advise me any patch have

  • Max no of calls - Busy Trigger

    Hi, I don't know if this is a standard settings or not? When I put 6 to maximum nr and 2 to Busy trigger & when I am on the call and somebody trying to call me he receive busy and the call is remaining on missed calls. But when  I put 6 to maximum nr

  • Modifying ISA....B2C for  Intenet Sales...

    Ok...Well, I just want to know.If I would like to see the b2c component..I am just not aware of the extent of configuration required for b2c just to see all the JSP pages of this component. I understand that there are some basic configuration to be d

  • How do I install AdobeOutputModule.workspace in Bridge

    I need to make a PDF presintation but my Bridge CC does not have Output available.