Package javax.media doesnot exits

Hi,
I have installed JMF,but am still facing the error "package javax.media doesnot exits"
when i tried to import javax.media.*

You need to import JMF's library JAR files

Similar Messages

  • 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.

  • Package javax.ejb doesnot exist

    I installed weblogic 10 on "D:\weblogic10\"
    Java is installed on "C:\java"
    I am getting the problem "package javax.ejb doesnot exist"
    I came to know that this problem is due to the class path.
    and we have to set the class path as "\\weblogic\lib\weblogicaux.jar"
    I didn't set find "lib" directory and that jar file also.
    I tried weblogic 9.1 and 7.0. But I was unable to find those in my weblogic directory.
    How can I set the class path?

    Thanx for reply.
    I'm repeating the problem:
    I could not find "lib" directory and that jar file
    also.
    In the "D:\weblogic", the following are present:
    Different direcotries:
    jdk150_06,jrockit90_150_06,logs,modules,
    tools,user_projects,utils,weblogic100tp,
    workshop100tp
    Some files:
    license.bea, registry,registry,UpdateLicense
    Now, plz guide me where I can find the lib directory? and then jar file?
    Thankx

  • "package javax.media does not exist" error message. Help!

    May be this is a rookie problem, but I can't solve it by myself.
    I'm using JBuider X to develop a GUI, and need to capture an image, from a web cam or so, and to save it in DB.
    The problem is: I found some source codes wich are supposed to do this... but they references (imports) an javax.media class... and the JBuilder says that this class doesn't exists.
    Can anyone help me?
    Where can I get the class, and how I inform to JBuider where it's located?
    Thanks in advance.
    Ernesto Becker

    Project tab, "Build", Libraries -> import the JMF libraries. Something like that.

  • Package javax.servlet doesnot exist

    i am using jsp and mysql along with jdk1.3.1_08, tomcat, redhat linux, apache for my current project. i decided to use servlets to enhance my project and make it more efficient.
    however, when i compile TestServlet.java, it generates 10 errors.
    one of these errors say that 'package javax.servlet' doesn't exist.
    i tried searching j2ee.jar in my pc but my search results turn up empty.
    so i checked the documentation and this is what it says :
    Q: What do I need in my CLASSPATH?
    A: All you need is a correct version of JDK (1.1.x or 1.2).
    Since the JSP engine also uses 'javac' it needs to be in the CLASSPATH.
    If you are using JDK 1.1.x it will automatically be included. If
    you are using JDK 1.2 you will need to set JAVA_HOME to the directory
    where JDK is installed or alternately you can put "tools.jar" in your
    CLASSPATH.
    All other classes, jar files that are needed, are put by the startserver
    script and you don't need to worry about them.
    Q: Where are the classes for JSPs and Servlets?
    A: webserver.jar -- class files for Servlet Engine.
    lib/jspengine.jar -- class files for JSP Engine.
    lib/servlet.jar -- Public APIs for Servlet.
    lib/jsp.jar -- Public APIs for JSP.
    lib/xml.jar -- classes for parsing XML document
    so, after reading the documentation, i put xml.jar, servlet.jar and webserver.jar in my classpath along with tools.jar and rt.jar
    i tried searching for jspengine.jar and jsp.jar but my search results turn up empty. what should i do? by the way, below is my classpath (if it's any help at all):
    export CLASSPATH=/usr/local/jdk1.3.1_08/jre/lib/rt.jar:/usr/java/lib/tools.jar:/usr/src/jakarta/dist/tomcat/lib/servlet.jar:/usr/src/jakarta/dist/tomcat/lib/webserver.jar:/usr/src/jakarta/dist/tomcat/lib/xml.jar:
    i know a bit about java like methods, events, classes but i don't know much about jars and servlets. i'm still new to them so pls don't get mad
    thank u very much

    my problem was that i didn't reboot my pc thanks everyone for ur help!

  • Import javax.media.* is not working

    Hi,
    I'm new to java and i was trying to create a media player using the javax.media package from the JMF. I installed it using the windows setup and it seemed to install correctly. Testing it with the java.sun.com applet tester worked. The media player is also working...
    The only problem is that when i import javax.medis.* it gives me a compiler error:
    package javax.media does not exist
    my code is as follows:
    import java.applet.*;
    import java.awt.*;
    import java.net.*;
    import javax.media.*;
    public class PlayerApplet extends Applet {
         Player player = null;
    public void init() {
         setLayout( new BorderLayout() );
         String mediaFile = getParameter( "FILE" );
         try{
              URL mediaURL = new URL( getDocumentBase(), mediaFile );
              player = Manager.createRealizedPlayer( mediaURL );
              if (player.getVisualComponent() != null)
              add("Center", player.getVisualComponent());
              if (player.getControlPanelComponent() != null)
              add("South", player.getControlPanelComponent());
         catch (Exception e){
              System.err.println( "Got exception " + e );
    public void start() {
         player.start();
    public void stop() {
         player.stop();
         player.deallocate();
    public void destroy() {
         player.close();
    } Could someone please help me out here... i've tried all the few probable solutions... but to no avail...

    Well changing the classpath to the correct one still didn't work.... but i still found the solution.
    The Developer Environment that i use is JCreator and it seems it ignores the classpath and has its own settings for the class path... changing this also didn't work.
    What worked was copying the Jar files from the JMF2.1.1e installed location into the path of the original classpath

  • Javax.media Where download it?

    Hi all.
    I've downloaded and create the jmf.jar from jmf-2_1_1e-scsl-bin.
    Now I try to compile this:
    [cut]
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGEncodeParam;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    import javax.media.*;
    import javax.media.control.FrameGrabbingControl;
    import javax.media.format.VideoFormat;
    import javax.media.util.BufferToImage;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.awt.image.BufferedImage;
    import java.io.FileOutputStream;
    [cut]
    but I've this errors:
    [cut]
    Scan.java [15:1] package javax.media does not exist
    import javax.media.*;
    ^
    Scan.java [16:1] package javax.media.control does not exist
    import javax.media.control.FrameGrabbingControl;
    ^
    Scan.java [17:1] package javax.media.format does not exist
    import javax.media.format.VideoFormat;
    ^
    Scan.java [18:1] package javax.media.util does not exist
    import javax.media.util.BufferToImage;
    ^
    4 errors
    Errors compiling Scan.
    [cut]
    So, where I've to download the javax.media pakage?
    thank you.
    jmaxosft
    [cut]

    Try:
    http://java.sun.com/products/java-media/jmf/2.1.1/download.html
    Yous should choose cross-platform java and in zip file you have
    in directory :src\share\ packet source for javax, copy it to your
    project directory and that's it...
    I hope it 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,

  • Import javax.media?

    i have been trying to play a video from a application and i get a bunch of compile errors one is "package javax.media does not exist" because of this im getting 14 other errors, can anyone help me? i just downloaded and installed Java SDK 1.4.2 and i have jdk1.5.0_05 and jre1.5.0_05. so i should be up to date

    Well changing the classpath to the correct one still didn't work.... but i still found the solution.
    The Developer Environment that i use is JCreator and it seems it ignores the classpath and has its own settings for the class path... changing this also didn't work.
    What worked was copying the Jar files from the JMF2.1.1e installed location into the path of the original classpath

  • Where is the javax.media.j3d

    Hi I install Java3d JDK 1.4.2 but i have only one jar file with com.sun... utility java 3d package what I must do to have package javax.media.j3d?And do I can use java 3d to create games?

    Hi I install Java3d JDK 1.4.2 but i have only one jar
    file with com.sun... utility java 3d package what I
    must do to have package javax.media.j3d?For me it was straight forward process of installing the complete J3D. Extract the files to YOUR_JDK_PATH/jre/lib/ext and/or tell java via the CLASSPATH variable to use the jar's.
    And do I can use java 3d to create games?Yes...if you put some brain and effort in it. There are several projects in the web, which care about game programming using J3D. Try to google for them.
    Hope this helps.
    Kai

  • How to import javax.media.*

    i am doing project on audio ,video transmission over the LAN.
    after installing JMF1.2.1, when i run the program i am getting the error
    "D:\raghu\amp\audiolabreports\ampcom\AmpCom.java:3: package javax.media does not exist
    import javax.media.*;
    ^
    1 error"
    please help me out
    -raghnath.g

    Hi,
    You need to place jmf.jar in your classpath.
    -Amol

  • Where are the javax.media.*  ?

    hello,
    i want download the packages javax.media.* , but I didn't found its!
    Please give me a download's url
    Big Thx

    JMF: http://java.sun.com/products/java-media/jmf/index.jsp

  • 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.

  • Package javax.microedition.media does not exist

    package javax.microedition.media does not exist
    import javax.microedition.media.*;
    Please tell me why this error occurs.Is it due to midlet version?

    Have you specified the correct setting for your MIDlet project? Note that javax.microedition.media (MMAPI) has been introduced in MIDP2.0.
    Cheers

  • Re: javax.media.* package

    i am trying to work on an example that uses the javax.media package, but the package is not found. Any ideas on importing a package or whatever to get my example to work?
    thanks a million

    It may have something to do with the way you're building your MediaLocator. They should be URL-like.
    myLocator = new MediaLocator("file:\\"+adVids[currVid].getAbsolutePath());

Maybe you are looking for

  • Template detach error

    Hi made pages with a template and want to detach them, but i'm getting the following error: Internal error (WWC-00006) An unexpected error has occurred (WWS-32100) An unexpected error has occurred (WWS-32100) ORA-6502: ORA-06502: PL/SQL: numeric or v

  • Customize button grayed out?

    I tried to customize the toolbar button just now and the button in the context menu from right clicking the toolbar.. i clicked it and the customize didn't open but i tried to open it again and it grayed out.. this is the 2nd time this has happened..

  • Nikon D7100 raw files unreadable with Camera Raw 4.07

    I am running Aperture 3.2.4,  under Mountain Lion 10.8.5 and in light of 'dumbing down' reports, have no wish to upgrade. Aperture reports Camara Raw 4.07 OS X Mountain Lion: Supported digital camera RAW formats - Apple Support claims that D7100 supp

  • TS1363 iphone not being recognised by my new laptop

    While connecting to my new personal laptop the iphone is not getting recognised and hence I am unable to synchronize

  • Link in bookmarks does not show up at the bottom of the browser

    Under Windows, when I put the mouse over a link in bookmarks, the corresponding URL appears at the bottom left of the browser. But it does not work that way under MAC OSX. Is this by design? Thank you.