Java ME SDK 3.4 problem running IMP-NG Midlets

Hello!
I downloaded and installed the Java ME SDK 3.4 and I'm having trouble running a IMP-NG JAD. I don't know if it's a environment problem or a SDK bug...
If I make a JAD IMP-NG, I get a IllegalArgumentException when launching, even if we run using the Device Selector window, right-click on IMPNGDevice1. If I make it a IMP-1.0, it runs on simulator, but doesn't show in right-click on IMPNGDevice1... It seems to be checking the version (IMP-NG is 2.0, and simulator is 1.0?) but I don't see what's wrong.
Thanks for any help!
Stacktrace:
Installing suite from: file:///C:/devel/ecl_ng2/workspace/Hello1/.mtj.tmp/emulation/Hello1.jad
TRACE: <at java.lang.IllegalArgumentException>,
java.lang.IllegalArgumentException
- com.sun.midp.installer.Version.initFromComponents(), bci=149
- com.sun.midp.installer.Version.<init>(), bci=22
- com.sun.midp.installer.Version.createFromString(), bci=33
- com.sun.midp.installer.Version.compare(), bci=6
- com.sun.midp.installer.Installer.matchVersion(), bci=81
- com.sun.midp.installer.Installer.isSupportedProfile(), bci=23
- com.sun.midp.installer.Installer.matchProfile(), bci=212
- com.sun.midp.installer.Installer.installStep10(), bci=19
- com.sun.midp.installer.Installer.performInstall(), bci=188
- com.sun.midp.installer.Installer.resumeInstallation(), bci=7
- com.sun.midp.installer.MidpInstaller$StartAction.run(), bci=10
- com.sun.j2me.security.AccessController.doPrivileged(), bci=12
- com.sun.midp.installer.MidpInstaller$InstallThread.run(), bci=9
- java.lang.Thread.run(), bci=5
JAD
MIDlet-Version: 1.0.0
MIDlet-Vendor: MIDlet Suite Vendor
MIDlet-Jar-URL: Hello1.jar
MicroEdition-Configuration: CLDC-1.1
MIDlet-1: Hello1,,mobi.v2com.zion.test.Hello1
MicroEdition-Profile: IMP-NG-2.0
MIDlet-Name: Hello MIDlet Suite
Midlet
package mobi.v2com.zion.test;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import com.oracle.util.logging.Level;
import com.oracle.util.logging.Logger;
public class Hello1 extends MIDlet {
  private Logger logger = Logger.getLogger(getClass().getName());
  public Hello1() {
  // TODO Auto-generated constructor stub
  protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
  // TODO Auto-generated method stub
  protected void pauseApp() {
  // TODO Auto-generated method stub
  protected void startApp() throws MIDletStateChangeException {
  logger.log(Level.INFO, "Hello1");
  System.out.println("Hello!");

I had the same problem and I got it to work by removing the "-2.0" in MicroEdition-Profile line in JAD file "by hand":
MicroEdition-Profile: IMP-NG
But it's not possible to achieve this using the combo box to select the Microedition Profile. Only changing the file in text mode.

Similar Messages

  • Java ME SDK 3.0 Problems

    I need to develop J2me (Midlet for graduation project)...I installed Java ME SDK 3.0 after installing JDK 6.0
    I was running Java ME SDK 3.0 and I faced some errors:
    An error: A java.io.IOException exception has occurred
    java.net.ConnectException:connection refused
    This error keeps poping up 100 times+ while the Java ME SDK is launching...
    After that when it launches the sample application don't run because of the following:
    Reference Problem:"CLDC Sun Java(TM) MicroEdition SDK 3.0EA" platform couldn't be found
    As a result I try to solve reference problem a pop up window appears saying:
    "Use java docs to register the API documentation for your JDK in the IDE
    Click Add Platform to register other Java SE and Java ME platform versions"
    I posted before at Nokia forums and got no useful answer so if any one want to know more ifo Please refer to:
    http://discussion.forum.nokia.com/fo...962#post731962

    Don't double post. I've removed the thread you started in the Java Programming forum with the identically same question.
    db

  • INSTALLING JAVA 2 SDK 1.4 PROBLEMS

    Hi !!!
    I am new to java and followed the installation notes Java 2 SDK standard edition to install this application. Well i have tried 10 times restalling this application I always get the same problem that is, when the application is uploaded I open it and a message prompts saying the files can not be extracted there is a corruption. I have even deleted the files from control panel and tried many time again keep getting same problem I have also downloaded the application from different sites.
    What do I do??? My start to java is hell!!
    Please some one help me!

    Make sure you are logged in as admin or equivalent (assuming you have NT/Win2k/XP) and see if that clears up the problem. If you keep getting this error even after downloading from multiple sites, it hints at a deeper problem...perhaps bad internet connection, or a virus. THOUSANDS of copies of this have been downloaded over time and if there was some major problem with it, more users would complain.

  • Downloaded Java ME SDK 3.0 but mising lcdui and midlet packages

    Hi,
    I have just started looking into J2ME and have downloaded and installed the SDK 3.0. i have tried also to setup a sample application from the Java site which requires imports of..
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;but when compiling it says the packages do not exist. I have searched the source code and they are not there, do i need to install anything else to get these to work?
    Thanks in advance
    Graham

    Note: This thread was originally posted in the [CLDC and MIDP|http://forums.sun.com/forum.jspa?forumID=76] forum, but moved to this forum for closer topic alignment.

  • 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

  • Java ME SDK 3.0 does not run sample files, but WTK 2.5.2 does

    Hi guys,
    I have following problem: I am using the Java ME SDK 3.0 and I am trying to run some sample MIDlets. For example this very basic HelloMIDlet which can be found here http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    Build runs successfully, but if I try to run it, the emulator appears, but nothing happens. Here is a warning from the logfile:
    Starting emulator in execution mode
    Installing suite from: http://127.0.0.1:3607/HelloMIDlet.jad
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_ch_suite.raw
    bdj-run:
    cdc-run:
    profiler.check:
    open-profiler:
    run:
    BUILD SUCCESSFUL (total time: 20 seconds)The exact same source code used with the WTK 2.5.2 builds and runs without a problem. Any ideas what the problem is?
    Thanks a lot,
    iobytrap

    1. Start ME SDK
    2. File -> New Project -> MIDP Application
    3. Select Project Name AND(!) check "Create Hello Midlet". Click "Next"
    4. Select Device "DefaultCldcPhone1"; other as Default; Click Finish
    5. Change body of the HelloMidlet.java according to http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    //As you described
    6. Click F6 (Run Main Project)
    As a result: "BUILD SUCCESSFUL"; ME SDK open with "Hello,World".
    So, all works. Please provide step by step scenario if you see problem yet. Also tell me please version of java.
    Regards,
    Mikhail.

  • WTK and Java Card SDK 2.2.2 emulator( cref ) communication problem.

    Hello everybody
    Just for own interest I was playing with the Java Card SDK 2.2.2 and WTK 2.5.2. But I am getting "Protocol mismatch error" as WTK runs on T=0 and cref runs on T=1. Does anybody have ever faced this problem and how to get rid of it?
    Thanks in advance.
    Shan!!!

    [email protected] wrote:
    Hi friends,
    I am new to Java Card technologies, previously i worked in SCOSTA cards using java application. Now i want to develop java applet and mask into the javacard.
    I tried Java_card_kit-2.2.1 package to build cap file using sample class files based on the specification.
    In command prompt, i configured path and classpath perfectly....
    But when i tried to make cap file by using the following command i am getting error.
    set JC_HOME=C:\java_card_kit-2_2_1
    set JAVA_HOME=C:\j2sdk1.4.2_09
    SET PATH=%JC_HOME%\bin;%PATH%
    SET CLASSPATH=%JC_HOME%\lib\api21.jar;%CLASSPATH%
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes\com\sun\javacard\samples\HelloWorld 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.10I am getting the following error,
    error: invalid AID 1.0.
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_versionSo kindly help me the best way to make cap file.
    regards,
    dhaya.You could try the following:
    converter.bat -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0You only need to specify the base directory for the classes and you need to specify the package separately.
    If you only want to convert to a JCA file you would use the following otherwise all 3 artifacts will be gernerated (CAP, JCA and EXP)
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0I hope this helps.
    Shane

  • Java 2 SDK problem under Redhat 7.0

    I'm using RedHat Linux 7.0 (kenerl 2.2.16.22, libc-2.1.92.so).
    I downloaded Java 2 SDK v 1.2.2_008 for Linux from sun.java.com, and installed it to /usr/local/jdk1.2.2
    However, I couldn't run any Java command. When I try to compile any java source code, for example:
    /usr/local/jdk1.2.2/bin/javac HelloWorldApp.java
    I always get error message:
    Segmentation fault (core dumped)
    Please give me some idea as soon as possible.
    Thank you for your help!
    Attach: HelloWorldApp.java
    Class HelloWorldApp {
    public static void main(String[] args) [
    System.out.println("Hello World!");
    Tony T.

    update your kernel, redhat 7.0 is full of bad links and missing links

  • Any problems running a program compiled with SDK 1.4.2_14 with JRE 1.4.2_08

    Hi,
    Would there ever be a problem running a program compiled in Java 1.4.2_13 with JRE 1.4.2_08?
    Why or why not? No guesses please.
    Thanks

    No such hope. The alternative to testing is to review changes made to each version leading up to 14. This is spelled out in each version's Release Document. There are a lot of changes. Most will not affect your program. Each change is relatively well described, but your problem will be to decide if your program will be affected by the change.
    Or, do nothing, hope like hell that nothing breaks, and have an up-to-date copy of your resume.
    If someone came to me saying a program couldn't be tested, I'd have serious concerns for that person's future.

  • Problem running sdk 1.5.0 on solaris 5.6 sparc

    After installing the sdk, I try to run java -version and it gives me this error:
    dl failure on line 704Error: failed /usr/jdk1.5.0/jre/lib/sparc/client/libjvm.so, because ld.so.1: ./java: fatal: relocation error: file /usr/jdk1.5.0/jre/lib/sparc/client/libjvm.so: symbol getloadavg: referenced symbol not found
    I have also downloaded and applied http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/J2SE recommended patches but still no joy.
    Please help

    Yes something happened between 1.4.2_08 and 1.4.2_09 which prevents it from running on Solaris 2.6. My guess is the VM added a call to "getloadavg()" which is not in the 2.6 objects. This really stinks since now I cannot remediate the security issues with Java past _08. I would REALLY like this call removed. Doesn't seem that it is a real necessity.

  • Will Java 2 SDK, Enterprise Edition 1.3.1 run on Windows 98?

    Will Java 2 SDK, Enterprise Edition 1.3.1 run on Windows 98?
    If so, would I still need to download Apache Tomcat?
    I'm trying to setup my desktop (currently running Windows 98) to test
    servlets and JSP's. What software should I download?
    Thanks

    I have a Windows 98 system. I just downloaded the j2se from the net and installed. Everything worked just fine.
    I did not install Tomcat.

  • Java ME SDK 8.0 EA Netbeans plugin installation problem

    We have been getting reports that some developer had trouble installing the Java ME SDK 8 EA plugins into NetBeans. We are working on fixing the issue, in the meantime please try the workaround posted in the Java ME SDK forum:
    Java ME SDK 8.0 EA Netbeans plugin installation problem
    Also be sure to check the latest ME SDK 8 EA Release Notes for late-braking information:
    http://docs.oracle.com/javame/dev-tools/jme-sdk-8/release-notes/html/Release_Notes/Release_Notes.html
    Sorry for the inconvenience.
    Best,
    -- Terrence

    Hi,
    For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
    Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
    Hope this helps,
    -- Terrence

  • Filepath probs running Java w/ DOS and Java 2 SDK

    Please help! I have been trying to get a .class file to run for the past four days, using DOS to run the file. I have tried to enter every filepath I can -think- of, and the program still will not run. I have even tried running the file on others' computers that also have a Java 2 SDK...and still cannot get the file to run. However, I know for certain that the file is correct and is able to be run....so that means that somehow I am not putting in the right filepath. I guess my question is....what's the file path?
    Here's what I was told to do...which has not worked thus far...
    My Java SDK filepath is: C:/Java2SDK1.4.0
    I was instructed to open DOS, then, to get to here:
    C:\Documents and Settings\Administrator\Desktop>I did so, and as instructed entered the filepath to the javac file inside the java sdk and after it, to put the filename with a .java extension. However, I ONLY have a class file. I don't have the .java file, nor was it ever handed to me.That filepath requested is: C:/Java2SDK1.4.0/bin/javac MathPrac.java
    I entered the filepath, so my DOS prompt looked like this before I hit the enter key:
    C:\Documents and Settings\Administrator\Desktop>C:/Java2SDK1.4.0/bin/javac MathPrac.javaI hit enter, and it gives me a LONG list of garbage. I even tried reversing the slash marks. Please help? This thing is due Monday and my instructor is refusing to return my emails. I don't want to fail this course due to an instructor being unwilling to assist a student, and a student having tried just about everything she could think of before finally coming here and asking for help.
    Would it matter if the SDK for some reason won't recognize my .java files either? I even tried doing the filepath with a file I KNOW should work...and on computers it should have worked on...and could not get it to accept my filepath.
    Any help would be very very very highly appreciated. Thanks!

    Author: philip_ross
    To run a .class file you have to use the java command (javac is the compiler which creates .class files from .java files). Try running
    C:\Java2SDK1.4.0\bin\java MathPrac
    Thank you for the suggestion, however when I attempted to run it, I got an error that said: Exception in thread "main" java.lang.NoClassDefFoundError: MathPrac
    Isn't this an error that states that the name of the file and the class name inside the file are not the same? And if so, how can I check to see if they are the same if I don't have the .java file? I did double-check my spelling, tried it four times just to be sure.
    To ChuckBing:
    Hey, thanks for the tutorial! I'll take a look at that, too. It always helps to have other resources.
    To jwenting:
    <Grin>. Duly noted, and thanks. I was trying to keep from being -too- technical in my explanation of what was going on.

  • Problem running java applications on Mac Mini.

    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    I downloaded and reinstalled java from Oracle website, but the problem remains unsolve.
    Anyone can help me?
    Thanks in advance.
    Carlos.

    azofra1 wrote:
    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    What error indications do you get? You have to enable error logging in the Java Control Panel to see the details.

  • Problems Installing JAVA 2 SDK and Forte4J CE 3.0 on Win98  - HELP !!!!

    I have downloaded JAVA 2 SDK, SE v.1.4.0 and Forte for Java CE 3.0 without any trouble, but when I go to install it, I get stuck at the SDK installation screen, and nothing happens.
    I did restart my computer after downoading the file, but that did not help. I have been looking at the installation screen now for about an hour. What do I do? Please, somebody help me.
    Thanks.
    Iwona

    I had a similar problem with J2SDK 1.4.0 and Forte
    3.0 on a Win98 box. Realizing that J2SDK 1.4.0 is a
    BETA release, I dropped back to J2SDK 1.3.0_02. It
    works fine!
    Regards,
    Mark

Maybe you are looking for

  • Trading partner Data missing in FBL3N report for GL stock account

    Hi All, Can anyone help me identify the reasons why I am not able to view trading partner data when I run FBL3N t-code to view the line items of my GL stock account? Many Thanks in Advance for your help, Vignesh

  • Can't registerOutParameter of cursor type in SQL Server 2000

    Hi, there, I'm using SQL Server 2000 and a type 4 JDBC driver for it from JRun 3.1. I wrote a stored procedure which has a Cursor (ResultSet) as an output parameter. But I used callStmt.registerOutParameter(1, java.sql.Types.OTHER); I got an exceptio

  • Billing Indicator - Question

    Hi All, Happy New Year. I have configured a new output type for E-mail. This output type is hooked up with an Access Seq which has Condition table (Fields are: Sales Org, Bill Type, and Billing Indicator). The output type is getting determined fine a

  • Crash when importing photo.

    Hi, I use iPhoto 9.1.1 and encounter program crash while importing new photo, no matter via dragging the photo into iPhoto or import library from tool bar. I cut some error report as below, feel free to let me know if any further information you need

  • Where i can see the reciept purchase of my clash of clans gems

    I want to see a receipt purchase of my gems in clash of clans  for game purposes