Java ME SDK 3.0 for MacOS: MediaException when capturing

Dear all,
I'm currently developing a J2ME media application over MacOS (MacBook Pro, OS version 10.6.2). I've installed the MacOS Java ME SDK 3.0 , but I'm getting a MediaException when running any media capturing application (including the demos).
The example I was using is the MMAPIDemos example (Video-->Video Capture - Form and Video-->Video Capture - Canvas ). In both examples the emulator returned a;
javax.microedition.media.MediaException: Player cannot be created for capture://video
exception. I also tried the same application on different versions of MacOS, with a similar result.
Suggestions very welcome!
Thanks in advance for any help!
iacopo

This thread is duplicated
I tried this solution Errors when starting Java ME SDK 3 - Windows 7 x64 and it worked with me.

Similar Messages

  • Please package Java ME SDK 3.0 for Linux/Unix

    Hi Oracle guys!
    Please package Java ME SDK 3.0 for Linux/Unix soon!
    It would be of benefit both to us developers, and to Oracle.
    Thanks!

    user8771084 wrote:
    Señores Oracle si ustedes no pueden desarrollar Java ME SDK 3.0 for Linux/Unix no importa!!!, igual sabemos que no están a la altura de Sun Microsystems ni de la comunidad de Linux/GNU.
    Si ustedes se deciden lanzar la versión Java ME SDK 3.0 for Linux/Unix se lo agradeceremos, recuerde que Linux/GNU dia a dia crece mas y mas, y es un mercado que se debe cuidar.Translated to English:
    Oracle Gentlemen if you can not develop Java ME SDK 3.0 for Linux / Unix does not matter!,
    As we know are not up to Sun Microsystems or the community of Linux / GNU.
    If you decide to launch the Java ME SDK 3.0 for Linux / Unix appreciate it, remember that GNU / Linux is growing day by day more and more, and is a market that needs to be nurtured.

  • Java ME SDK 3.x for Linux/Unix

    Hi!
    There was talk the last couple of years of a Linux/Unix release for the Java ME SDK 3.x,
    but as of today I see nothing like that at the download site.
    Does anybody know the state of this?
    A Linux/Unix SDK would be very helpful to me in my development work!
    (This is a ping to users, who themselves are Oracle Product Development personnel!)

    Yes, a real need for many developers.
    cherrs

  • Is there any plan to release Java ME SDK 3.0 for linux?

    Hi
    Thank you for reading my post.
    Can someone please let me know when will Sun release Java ME SDK for linux?
    Thanks

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Java ME SDK 8 Plugins for Eclipse?

    When will an Oracle Java ME SDK 8 (Early Access 2, )Plugins for Eclipse become available?
    Thanks.

    We plan to have Eclipse support around June/July, in accordance with the original Eclipse schedule for Java 8 support - this is because ME SDK 8 also needs the updated Eclipse MTJ framework.
    Best,
    -- Terrence

  • Java ME SDK 3.0 for Windows 7 64-bit

    Hi,
    I have Windows 7 Home Premium 64-bit. I have installed Java ME SDK 3.0. I know that requirements do not include Windows 7 but I need to get it working.
    So, are there any steps or configuration to make Java ME SDK 3 work on Win7 ?

    This thread is duplicated
    I tried this solution Errors when starting Java ME SDK 3 - Windows 7 x64 and it worked with me.

  • Why do not have a "Java ME SDK 3.0" for the Linux environment, yet

    Some developers need this tool. Will be available soon?

    This thread is duplicated
    I tried this solution Errors when starting Java ME SDK 3 - Windows 7 x64 and it worked with me.

  • WTK SDK 3.0 for OSX problem with capturing audio, emulator

    Hello all,
    i'm installed the WTK SDK 3.0 for osx and everything works well. Some test applications also work.
    Now I'm trying to realize my project and get strange error.
    I want to capture some audio form the microphone. But when i do so the Emulator strikes with this error:
    javax.microedition.media.MediaException: Player cannot be created for capture://audio
    so i tried this: System.getProperty("supports.recording") and it returns false. But when i read over the specification of the WTK it says that it should support the Audio capturing. Is this error based on the implementation of the WTK on OSX or have some Windows users also the same problem?
    here is my implementation for the Audio recording:
    public void commandAction(Command comm, Displayable disp){
            if(comm==recordCommand){
                try{
                    p = Manager.createPlayer("capture://audio");
                    p.realize();
                    RecordControl rc = (RecordControl)p.getControl("RecordControl");
                    ByteArrayOutputStream output = new ByteArrayOutputStream();
                    rc.setRecordStream(output);
                    rc.startRecord();
                    p.start();
                    messageItem.setText("recording...");
                    Thread.currentThread().sleep(5000);
                    messageItem.setText("done!");
                    rc.commit();
                    recordedSoundArray = output.toByteArray();
                    p.close();
                } catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
                } catch (InterruptedException ie) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ie.toString());
            } else if(comm == playCommand) {
                try {
                    ByteArrayInputStream recordedInputStream = new ByteArrayInputStream
                          (recordedSoundArray);
                    Player p2 = Manager.createPlayer(recordedInputStream,"audio/basic");
                    p2.prefetch();
                    p2.start();
                }  catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
        any help would be grateful!
    thx and greetings
    Edited by: nYmou on Jun 1, 2010 3:44 AM

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Schedule for Java ME SDK 3.0 for Linux?

    Hi,
    thank you for Java ME, we are using it since many years with on Linux development platform.
    Currently we plan to use the Sensor API, which is missing in WTK2.5.2 for Linux.
    What are the current plans for Linux?
    thanks,
    Marcel

    Another +1
    Come on Oracle, get it together. And why are you being so evasive about answering the OP's question? Is there a release schedule for Linux or not? For some reason I suspect not and you're desperately trying to avoid saying so.
    If there's no J2ME for linux there's no point me trying to write Java mobile apps any more. I suspect I will not be the only person to switch to writing Android apps instead. Google seem to understand and respect their Linux programmers.

  • Just released Java ME SDK for Mac OS

    Java ME SDK 3.0 for Mac OS final version has been released [http://java.sun.com/javame/downloads/sdk30_mac.jsp|http://java.sun.com/javame/downloads/sdk30_mac.jsp]
    Edited by: kTom on Dec 22, 2009 5:25 AM
    Edited by: kTom on Dec 23, 2009 8:40 AM

    Are there any plans about releasing the SDK on Linux, and if yes, when?

  • Java ME SDK 3.0 doesn't start - java.lang.reflect.InvocationTargetException

    I want to migrate from NetBeans 6.7.1 to Java ME SDK 3.0 for several reasons.
    However when trying to start it hangs for a couple of minutes and then this message come up in a pop-up box:
    "A java.lang.reflect.InvocationTargetException exception has occurred. Click Show Details or see the messages.log file located in your C:\Documents and Settings\admin\javame-sdk\toolbar\3.0\var\log folder."
    Log file contant here. I' have read the UsersManual but this seems different.
    I run Windows XP Pro SP3. I have a F-Secure Internet 2010 FW application. Please enlighten me on what setting I shoud set in the FW or other part of my system.
    BR
    /Per
    Log Session: Friday, January 15, 2010 4:02:04 PM CET
    System Info: Product Version = Java(TM) ME Platform SDK 3.0
    Operating System = Windows XP version 5.1 running on x86
    Java; VM; Vendor = 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01; Sun Microsystems Inc.
    Runtime = Java(TM) SE Runtime Environment 1.6.0_17-b04
    Java Home = C:\Program Files\Java\jdk1.6.0_17\jre
    System Locale; Encoding = sv_SE (cdctoolbar); Cp1252
    Home Directory = C:\Documents and Settings\admin
    Current Directory = C:\Java_ME_platform_SDK_3.0\bin
    User Directory = C:\Documents and Settings\admin\javame-sdk\toolbar\3.0
    Installation = C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
    C:\Java_ME_platform_SDK_3.0\toolbar\ide10
    C:\Java_ME_platform_SDK_3.0\toolbar\java2
    C:\Java_ME_platform_SDK_3.0\toolbar\mobility8
    C:\Java_ME_platform_SDK_3.0\toolbar\profiler2
    C:\Java_ME_platform_SDK_3.0\toolbar\platform9
    Boot & Ext. Classpath = C:\Program Files\Java\jdk1.6.0_17\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_17\jre\classes;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_17\jre\lib\ext\sunpkcs11.jar
    Application Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_17\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_17\lib\tools.jar
    Startup Classpath = C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
    VARNING
    --- cut of Warnings and Info---
    [ 680219] ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
         at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
         at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
         at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection

    I have tried to switch off the FW -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    I have tried to open the port 1299 -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
    /Per

  • JAVA ME SDK 3.2

    Hi,
    I need Java ME SDK 3.2 for a project. I don't see on the downloads page, where can I still get it?
    Thanks.
    Guy

    Hi,
    Sorry for the late answer.
    Java ME SDK 3.2 is needed to build Eclipse PAHO MQTT library (org.eclipse.paho.mqtt.java.git - MQTT Client Package - Java Language).
    From the README file:
    Paho Java ME client for MQTT
    The Java ME client requires the Oracle J2ME SDK 3.2 (which is only available for windows) and assumes it will be installed in c:/Java_ME_platform_SDK_3.2/
    The client jar is built using ant and the build.xml file in org.eclipse.paho.jmeclient.mqttv3/

  • Java Me SDK Installation Question

    Dear Java Me Developers,
    I downloaded Java Me SDK 3.3 (oracle-jmesdk-3-3-rr-win32-bin.exe) but I just cant find the main application.
    When I go into the program folder I just see Custom Device Editor, Java Me Embedded Emulator, Java Me Mobile Emulator and Update Center.
    Am I blind or where is it ^^?
    Greetings

    Hi,
    Sorry for the slow reply.
    The Java ME SDK allows you to run embedded applications via the Java ME SDK Embedded Emulator or mobile applications via the Java ME SDK Mobile Emulator. If you have an existing mobile or embedded application start the respective emulator and then select the application to run. But the Java ME SDK does not feature a source code editor or other features of a full development environment.
    For a full development environment, you will want to use an IDE such as Eclipse or NetBeans. The plugins that come with the Java ME SDK integrate the Java ME SDK emulators, device editor, and other tools into Eclipse or NetBeans which makes for a complete development environment.
    For a good guide on getting started, see the Java ME SDK "Developers Guide" for NetBeans (http://docs.oracle.com/javame/dev-tools/jme-sdk-3.4/nb/html/toc.htm) or Eclipse (http://docs.oracle.com/javame/dev-tools/jme-sdk-3.4/ecl/html/toc.htm).
    Hope that helps,
    -- Terrence

  • Looking for a java-based SDK that handles file conversion to PDF and TIF...

    Hi all,
    First off, this is my first posting so I'm not 100% sure where to post this topic. So please forgive me if I'm accidentally posting in the wrong location.
    My question deals with a project I am currently working on.
    I am looking for a java-based SDK that can meet the following requirements...
    1) convert all printable file-formats (i.e. JPEG, DOC, TXT, PPT, etc.) into PDF
    2) merge multiple PDFs into one PDF
    3) convert PDF to TIF or at least do some sort of conversion to TIF
    4) works in Java or some sort of web-based language
    5) free or relatively cheap
    Any advice/suggestions would be greatly appreciated.
    Thank you very much.

    I don't think you will get one API to do them all.
    Some helpful hints:
    [http://schmidt.devlib.org/java/libraries-pdf.html]
    [http://xmlgraphics.apache.org/fop/] (with the pdf-image extension, that I can't find now :shakefist)
    JAI

  • Java 2 SDK compilator for beginners

    Hi to all here.
    I am really sorry to disturb you all,
    I am beginner in Java and I need to download Java 2 SDK compilator in order to compile my homeworks. I went lost in all the reliese EE, SE and so on I saw in Sun homepage.
    Which one is the right one ?
    I have Windows Vista Home edition in my computer.
    Thanks for helping me.
    Flavio

    Download and install a Java SE 6 JDK for your Windows platform which is available here:
    http://java.sun.com/javase/downloads/index.jsp
    If you want some GUI Application you may choose the version containing NetBeans, if you only want the compiler and runtime environment install the first option (JDK 6 Update 4).
    Edited by: mezler on Feb 20, 2008 2:13 PM

Maybe you are looking for

  • How do I import one song from a cd into Itunes 12.01?

    Hello, I updated my laptop to Itunes 12.01: software is IOS X 10.9.5. I have inserted a cd and opened itunes. first surprise I found was that I can only see the cd, with its songs, it will not let me see playlists at the same time. and the only optio

  • Unable to set parameters for "Act as Prox" in OBI11g

    Hi Gurus, following Mark Rittman's blog I was able to set parameters and I could use this feature in OBI10g. However, in OBI 11g I was not able. 1. In the init block of Proxyblock I am not able to add SET_RUNAS to Execution Precedence The Add button

  • I have problem with lion system when i turn on my computer

    i have lios sitem, when i turn on my computer, it start slow like in 2 time, and don't recognize the wi fi, i have to reiniciar my computer every time that i turn it on to work fine. Why????????????

  • Operating systems error

    I have been trying to download Adobe Flash Player but I keep getting a error message and I can't get any further can someone please help me.

  • The resource name is already in use. You must select a unique name for the resource.

    I am using Project Server 2010 PWA. I have created resource of type 'Work' in Resource Center. Server Settings -> Resource Center. Click New Resource. I already assigned few task to these Resources. Now I want these Resources can login into PWA site.