Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError with JAI codec, assume wrong JAR  RSS feed

 
Frank Harris
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently suffering from the following:



I have a hard time following the error message, so I haven't been able to pinpoint the location of the fault, but I assume, from what I've read, that I don't have the correct JAR in my libraries...this makes sense, as I can't seem to find a JAR for the JAI codec that has the same structure!

I have a file, JAI-codec.1.1.1.jar, in my library, that contains non_com.media.jai.codec.SeekableStream.class, but not just plain com. This is the closest file to the jai codec JAR I can find on the internet. Can you point me in the direction of the link? Or, do you have any other ideas about what this problem might be?
 
Frank Harris
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resolved. Took me a damned long enough time but I managed to find the correct JAR on the internet.
 
Hari pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi @Frank , what did you do to solve problem? I'm facing the similar issue, i searched over net but till now didn't get it work, some says to install JAI other else.



Thanks,
AS pandey
 
Hari pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@frank harris how did you solve it. i'm facing same one could help?
 
Tim Moores
Saloon Keeper
Posts: 3511
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAI can be downloaded at http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html. Note that JAI is dead, though, so if you're starting a new project, you would be better off using a different library.

Also note that Frank hasn't posted for 5 years, so most likely isn't around any more :-)
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15859
80
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can for example use JavaFX to work with video in Java, or VLCJ, a Java API for the popular VLC media player.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!