This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 3828
79
  • 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: 16007
87
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!