OutOfMemoryError in Java ME SDK 3.0, 3.2, 3.3 and 3.4 emulator

Hello together,
sorry for restarting this topic again, but the original discussion
OutOfMemoryError in Java ME SDK 3.0 and 3.2 emulator
has been archived while I was concerned with different things in the meantime. Now returning to Java ME programming again, I find that the problem still persists, at least for the most recently released emulator 3.4. Also the suggestion to increase the heap size via command line parameter is not working. Any further ideas are still appreciated!
Regards,
Oliver Pfeiffer

Try to adjust the heap size by starting the emulator from the command line
and add the parameter "-Xheapsize=10M"  this will give you a heap size of 10 Meg.

Similar Messages

  • 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

  • OutOfMemoryError in Java ME SDK 3.0 and 3.2 emulator

    Hello together,
    in a little card game I currently develop for the Java ME platform I use SVGImages created at runtime (that is, not loaded from resources as .svg or .xml files) to render the respective cards on ScalableGraphics. One can use the arrow keys or the touch screen to move the focus around the cards on the board, but if this is done an indefinite number of times (usually around five) immediately after starting, the emulator runs into the following problem (making the cards disappear from screen and any further drawing impossible):
    TRACE: <at java.lang.OutOfMemoryError>, Exception caught in Display class
    java.lang.OutOfMemoryError
    (stack trace incomplete)
    TRACE: <at java.lang.IllegalStateException: bindTarget(javax.microedition.lcdui.Graphics@e5125d64) with g : javax.microedition.lcdui.Graphics@e5125d64>, Exception caught in Display class
    java.lang.IllegalStateException: bindTarget(javax.microedition.lcdui.Graphics@e5125d64) with g : javax.microedition.lcdui.Graphics@e5125d64
    - javax.microedition.m2g.ScalableGraphics.bindTarget(), bci=71
    - SVGCanvas.paint(), bci=25
    - javax.microedition.lcdui.CanvasLFImpl.uCallPaint(), bci=202
    - javax.microedition.lcdui.Display.callPaint(), bci=149
    - javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleRepaintEvent(), bci=11
    - com.sun.midp.lcdui.RepaintEventProducer.process(), bci=55
    - com.sun.midp.events.EventQueue.run(), bci=179
    - java.lang.Thread.run(), bci=11
    I am quite helpless with both diagnosing and resolving this issue because I cannot judge if I am doing something completely insane in my source or I have really found some quirks in the emulator. I correctly bindTarget() / releaseTarget() the Graphics object to ScalableGraphics, however, I do this every time a card has to be repainted, perhaps this is too much? I want to stress that this does only occur in the emulator shipped with the Java ME Platform SDK 3.0 and 3.2, but it does not in 3.0.5 or any other emulator I could get hold of.
    I have stripped down my more complex source to the following sample application "SVGMidlet", which exactly reproduces the error and can be obtained via
    https://docs.google.com/file/d/0B1kQpH4ZHhj1ZUs0ekZiMGlURlE/edit?usp=sharing
    Best regards, Oliver Pfeiffer

    Try to adjust the heap size by starting the emulator from the command line
    and add the parameter "-Xheapsize=10M"  this will give you a heap size of 10 Meg.

  • Java ME SDK 3.0 not working on Windows 7 64-bit

    Hi everybody,
    the sdk has no 64-bit Version and the solution described at:
    http://forums.sun.com/thread.jspa?threadID=5434297&tstart=45
    did not work for me.
    Even after changing the two configuration files bin\java and toolbar\bin\java to point to 32-bit installations of the jdk/jre, the sdk does not work and it cannot be uninstalled.
    Error when starting the SDK:
    A java.io.IOException exception has occurred.
    Click Show Details or see the messages.log file located in your Z:\javame-sdk\toolbar\3.0\var\log folder.
    (Details:)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [catch] at java.lang.Thread.run(Thread.java:619)
    When I try to uninstall, an error log file is generated in the installation path of the SDK. Although it "sees" the 32-bit java installation, at its botton appears the following (interesting?) line:
    vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0-b17) for windows-amd64 JRE (1.6.0_21-b07), built on Jul 17 2010 01:05:36 by "java_re" with MS VC++ 8.0 (VS2005)
    Can someone help?
    Thanks a lot in advance.

    Hey what's up Gatos.
    Listen I have the same problem and I was wondering if you figured it out since October 2010 (your last post).
    I also get the same IOException exception error. I also have windows 7 64bit, i installed 32 bit version of the SDK and uninstalled any previous versions. The Java ME SDK 3.0 Kit installed as well, and pointing to an appropriate sdk directory. I also tried changing the two configuration files (didn't have to change them because they were correct since I did not have any other version of sdk installed prior to installation of Java ME SDK 3.0.
    So I am experiencing the same exact symptoms and I am wondering if you have resolved this issue yet or if you know of any other source of information that might help me. Your help would be greatly appreciated on this one. Thanks, and please respond even if it is a no if you can.
    **EDIT:**
    The Java ME SDK 3.0 magically started few times too, after displaying manyyyyyyy of these error windows, but it does not happen every time either. HELP
    Edited by: 835054 on Feb 9, 2011 12:10 AM

  • Install 3rd party emulator in Java ME SDK 3.0

    Hi!
    I have just uppgraded from the EA release to 3.0. When I had the EA release I added a number of 3rd party emulators to be able to run my midlet with the 'Run With' command. Now I can't get the emulators installed.
    I try Tools/Java Platform/Add Platform. I have tried with both 'Java ME MIDP Platform Emulator' and 'Custom Java ME MIDP Platform Emulator' but no Java ME Platform folders can be found. Should my existing emulators, that worked with the EA release work, or do I need new versions? What 3rd party emulators hav you tested this with??
    br
    Erik Wetterberg

    Hello Erik,
    thank you for your comment.
    The UI which comes with Jame ME SDK 3.0 is supposed to be a small IDE for Java ME SDK 3.0. It means it does not support emulators which are not Java ME SDK 3.0 compliant. That's probably your case.
    Detecting not Java ME SDK 3.0 compliant 3rd party emulators and "Run With" command was a side effect of EA release which was removed for final version. In final release it is not possible to detect not 3.0 compliant toolkits anymore, e.g. Sun Java Wireless Toolkit 2.5.2 for CLDC or Sun Java Toolkit 1.0 for CDC.
    If you want to use 3rd party emulators use NetBeans Mobility. It is supposed to support all emulators which can be detected by UEI.
    Best regards,
    Radko

  • Getting error message when installing Java 2 SDK SE V1.4.2_02

    When I go to install the program Java 2 SDK SE V1.4.2_02, it starts fine, put mid way through the installation I get the following error:
    Error 1316.A network error occurred while attempting to read from the file
    http://java.sun.com/webapps/download/GetFile/1.4.2_02-b03/windows-i586/Java 2 SDK, SE v1.4.2_02.msi. And the installation just stops.
    I am running Windows XP Home, and IE 6.0. Any help would be greatly appreciated.....
    Thanks,
    Bob

    This error evidently occurs after an upgrade to XP from a prior Windows version. From what I have read, it is due to some registry problems with the upgrade. You may not be able to do an uninstall, but you can install a new JVM by using the offline install as opposed to an MSI install.
    If you are able to get around your uninstall issue, please let us know.
    Thanks...

  • Import J2ME source into Java ME SDK 3.0

    Hi,
    Im new to Java ME.
    The internet has lots of J2ME examples for games(but none for Java ME SDK 3.0), and im trying to import these into Java ME SDK 3.0 . I click on new project and select 'Import Wireless Toolkit Project', but it doesn't detect a project. Ive tried this with several popular J2ME samples.
    Anyone know how to do this right, so I can import J2ME projects into Java ME SDK 3.0 completely, with classes, packages and resources intact?
    I tried making a new project, and then copying the files into the relevant directories too. All the classes show up in the SDK, but on running the program no app is displayed in the emulator.

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

  • Where to start changeing emulator preferences in Java ME SDK 3.0

    in the Java ME SDK 3.0 help (UserGuide.pdf) i found
    "The Java ME Platform SDK enables you to configure the Bluetooth and OBEX
    simulation environment. Choose Edit > Preferences and select Bluetooth/OBEX to
    display the following window."
    but there is no menu/button or any other element labeled "edit" from where i can start
    Edited by: peter-simon on Aug 8, 2010 5:34 AM

    Hello Erik,
    thank you for your comment.
    The UI which comes with Jame ME SDK 3.0 is supposed to be a small IDE for Java ME SDK 3.0. It means it does not support emulators which are not Java ME SDK 3.0 compliant. That's probably your case.
    Detecting not Java ME SDK 3.0 compliant 3rd party emulators and "Run With" command was a side effect of EA release which was removed for final version. In final release it is not possible to detect not 3.0 compliant toolkits anymore, e.g. Sun Java Wireless Toolkit 2.5.2 for CLDC or Sun Java Toolkit 1.0 for CDC.
    If you want to use 3rd party emulators use NetBeans Mobility. It is supposed to support all emulators which can be detected by UEI.
    Best regards,
    Radko

  • Focus issue with CardLayout (Java 2 SDK, Standard Edition 1.4.0_01)

    I am having an issue with focus and CardLayout with Java 2 SDK, Standard Edition 1.4.0_01. I have created a small sample application to illustrate my problem. In general, I am trying to create a "Wizard" that the user will enter information and then press a "Next" button to proceed to the next step.
    When the first card is displayed, the focus is on the first text field as expected.
    When I go to the next card by clicking "Next", the focus is not on the text field that has requested it (through the requestFocusInWindow method). The focus is on the "Cancel" button, which is the next component to receive focus after the "Next" button on that panel. I do notice that if I use my mouse to bring focus to the window the text field will gain focus.
    Similarly, when I proceed to the last card, the focus is not on the "Finish" button until the mouse moves over the window.
    Is there something I am doing wrong or is there a bug with focus and CardLayout?
    One other problem I have noticed is that the buttons no longer respond to the "Enter" key press and instead respond to the space bar. Any suggestions as to why this is the case?
    Thanks,
    S.L.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CardWindow extends JFrame implements ActionListener {
    public CardWindow() {       
    setTitle("Focus Problems with CardLayout");
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    cards = new JPanel();
    cardLayout = new CardLayout();
    cards.setLayout(cardLayout);
    cards.add(createFirstNamePanel(), "FirstNamePanel");
    cards.add(createLastNamePanel(), "LastNamePanel");
    cards.add(createFullNamePanel(), "FullNamePanel");
    getContentPane().add(cards,BorderLayout.CENTER);
    getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);
    resetButtonPanel();
    pack();
    private JPanel createFirstNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your first name:");
    txtFirstName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtFirstName);
    return panel;
    private JPanel createLastNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your last name:");
    txtLastName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtLastName);
    return panel;
    private JPanel createFullNamePanel(){
    JPanel panel = new JPanel();
    lblFullName = new JLabel();
    resetTextOnFullNamePanel();
    panel.add(lblFullName);
    return panel;
    private JPanel createButtonPanel() {
    buttonPanel = new JPanel();
    btnPrevious = new JButton("< " + "Back");
    btnPrevious.setMnemonic('B');
    btnPrevious.addActionListener(this);
    btnNext = new JButton("Next" + " >");
    btnNext.setMnemonic('N');
    btnNext.addActionListener(this);
    btnCancel = new JButton("Cancel");
    btnCancel.setMnemonic('C');
    btnCancel.addActionListener(this);
    btnFinish = new JButton("Finish");
    btnFinish.setMnemonic('F');
    btnFinish.addActionListener(this);
    buttonPanel.add(btnPrevious);
    buttonPanel.add(btnNext);
    buttonPanel.add(btnCancel);
    buttonPanel.add(btnFinish);
    return buttonPanel;
    private void resetTextOnFullNamePanel(){
    lblFullName.setText("Your name is: " + getFirstName() + " " + getLastName());
    private void resetButtonPanel(){
    Component c[] = buttonPanel.getComponents();
    for(int i = 0; i < c.length; i++){
    c.setVisible(false);
    switch(iWizardStep){
    case FIRSTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case LASTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case FULLNAMEPANEL:
    btnFinish.setVisible(true);
    break;
    buttonPanel.validate();
    public void actionPerformed(ActionEvent e) {
    Object object = e.getSource();
    if (object == btnNext) {           
    btnNextPressed();
    } else if (object == btnPrevious) {           
    btnPreviousPressed();
    } else if (object == btnFinish) {
    System.exit(0);
    } else if (object == btnCancel) {
    System.exit(0);
    private void btnNextPressed() {       
    switch (iWizardStep) {
    case FIRSTNAMEPANEL:
    setFirstName(txtFirstName.getText());
    break;
    case LASTNAMEPANEL:
    setLastName(txtLastName.getText());
    resetTextOnFullNamePanel();
    break;
    iWizardStep++;
    resetButtonPanel();
    this.cardLayout.next(this.cards);
    switch (iWizardStep) {             
    case LASTNAMEPANEL:
    txtLastName.requestFocusInWindow();
    break;
    case FULLNAMEPANEL:
    btnFinish.requestFocusInWindow();
    break;
    private void btnPreviousPressed() {
    iWizardStep--;
    resetButtonPanel();
    this.cardLayout.previous(this.cards);
    public void setFirstName(String value) {
    firstName = value;
    public String getFirstName() {
    return firstName;
    public void setLastName(String value) {
    lastName = value;
    public String getLastName() {
    return lastName;
    public static void main (String[] args) {
    CardWindow c = new CardWindow();
    c.show();
    private CardLayout cardLayout;
    private JPanel cards, buttonPanel;
    private JTextField txtLastName, txtFirstName;
    private JLabel lblFullName;
    private JButton btnNext, btnPrevious, btnCancel, btnFinish;
    private String firstName = "";
    private String lastName = "";
    private int iWizardStep = 0;
    private static final int FIRSTNAMEPANEL = 0;
    private static final int LASTNAMEPANEL = 1;
    private static final int FULLNAMEPANEL = 2;

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • Java 2 SDK SE 1.4.2 - INSTALL ERROR ...... 1335 ....

    Hello,
    I have tried to install Java 2 SDK SE 1.4.2 but get the following error during install:
    Error 1335. The cabinet file 'Data1.cab' required for this installation is corrupt and cannot be used. The file is 42.7MB and is not something I want to re-download in a hurry.
    Is there a work-around for this error. Have had a look but have found no other occurances of this problem.
    Thanks in advance for your help.
    Jon

    Well, I'm not sure what to say. I've had problems much like that, except for Java 2 SDK 1.2.*. I got rid of my problems (which sometimes included "clean" installation but then broken parts, such as javac.exe) by updating and trying again. It wasn't very much fun, especially back in my dialup days.
    - CD

  • How good is the java Ras Sdk in Business objects XI?

    I have programmed some  reports from scratch by using the java ras sdk.
    Somehow I have the feeling that new features of XI like dynamic image location, or
    running totals aren't so well supported as for example through the Crystal report Designer.
    Do others also think that  Business objects is being a bit negligent on this Api?
    Maybe they do not consider the Api as important anymore because most people will be using there web based out of the box jsp components?

    Normally you should run your CR reports in the INfoView. You can start a report either by double clicking on it or by selecting View in the context menu. Still in order to fetch data you have to press the Refresh button in the CR viewer window (in the InfoView).
    In the CMC I assume that you are using the Run now option in the context menu. Please note that this will just schedule your report immediatelly. hen the report is scheduled a new instance is created hich is available in the History of the report. In order to see a report in the CMC select again View in the context menu and you can again fetch data by pressing the Refresh button.
    Regards,
    Stratos

  • Errors when starting Java ME SDK 3 - Windows 7 x64

    Hi,
    I am having trouble running the Java ME SDK 3 on a Windows 7 x64 computer. When trying to run the installed SDK using the shortcut link on my desktop, I receive a number of erros such as
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at java.net.Socket.<init>(Socket.java:372)
         at java.net.Socket.<init>(Socket.java:186)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    Caused: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
    Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
         java.net.ConnectException: Connection refused: connect]
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
    Caused: java.io.IOException: Failed to retrieve RMIServer stub
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
         at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
         at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
         at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [catch] at java.lang.Thread.run(Thread.java:619)--------------------------------------------------------------------------------------------------
    Does anybody know where this comes from? Is it an incompatibility with Windows 7 x64? I have installed the latest Java SDK for Win64.
    I have another issue consisting in the fact that the Eclipse MJT plug-in is not abel to find any devices in the Java ME SDK 3 folder (see my post in the Eclipse forum [Post in Eclipse MJT forum|http://www.eclipse.org/forums/index.php?t=msg&th=156515&start=0&S=6f25cc6925ad7008453ee93ca55525a2]), does this have anything to do with the problem described above?
    Thanks for your help,
    Markus
    Edited by: acm821 on Oct 28, 2009 2:06 PM

    Edit file "C:\Java_ME_platform_SDK_3.0\bin\java", replace the path of x64 jdk by path of x32 jdk.
    For example, my file contains "C:\Program Files\Java\jdk1.6.0_21" and I change to "C:\Program Files (x86)\Java\jdk1.6.0_21".
    You need have a 32 bits jdk installed. Restart device managar after the change.
    Obs.: This happens because device manager need load a 32 bits DLL. So you need run they with a 32 bits jdk.
    With this method you don't need remove x64 jdk. You can stay with both jdk.

  • Java ME SDK 3.0 Released

    I am happy to announce the Revenue Release of Java Platform Micro Edition Software Development Kit 3.0.
    Java ME SDK includes the advanced tools found in Java Wireless Toolkit 2.5.2 [for CLDC] and Sun Java Toolkit 1.0 [for CDC] and many new features.
    Key Features
    * Integration with third-party emulators and Windows Mobile devices
    * On-device deployment and on-device debugging
    * CLDC/MIDP, CDC/FP/PBP/AGUI, and BD-J integrated into one SDK
    * New CLDC HotSpot Virtual Machine
    * Optimized MSA 1.1 stack with extensions
    * Profiling support
    * Network monitor
    * BD-J support
    * New development environment based on Netbeans Platform
    * Lightweight UI Toolkit (LWUIT) integration
    * Device search database integrated in SDK
    * JavaFX Mobile Emulator included
    Have a look for yourself: [http://java.sun.com/javame/downloads/sdk30.jsp]

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

  • Java ME SDK 3.0 on Vista 64bit (JDK/JRE1.6U13 32-bit installed right before

    I really would like to test the recently promoted release of Java ME SDK 3.0 on my Windows Vista Ultimate 64-bit.
    First I tried to install it using my previously installed JDK 1.6 64-bit. Installer failed to properly integrate with Vista's UAC. Then equipped with proper permissions installation succeeded. So I tried to start the app. Got a splash screen telling me to start modules. Next I saw a apparently neverending list of exceptions appearing once every 10 seconds. So I told my task manager to drop that process.
    I tried to uninstall the application and had to see uninstaller failing due to not support 64-bit Windows. Great. Java=Portability???? And why didn't installer tell me about it?
    Lacking opportunity to uninstall the ME SDK I decided to drop every update of JRE and my existing JDK, then ask regedit to drop any registry information on any sort of Java-related stuff. Next I dropped all left-over folders related to installations of Java or Java-bundled software. Completing this I got a fresh JDK/JRE 1.6 Update 13 32-bit and installed it to my computer without any trouble.
    Next I decided to have another test of installing and running Java ME SDK 3.0 ... interesting: installer detected an existing installation (where from? all folders as well as lots of registry keys had been dropped before, even Windows' application manager didn't consider to have an existing installation anymore). The installer found new JDK installed before and finally succeeded to reinstall the app.
    Well, I tried to start it after that expecting something tested and thus working now. Instead of that I got the same sequence of exceptions requiring me to ask Task Manager for help after two bothering minutes of cancelling exceptions on splash screen not showing any kind of progression anymore.
    Here's my question (aside from: Who on earth started to falsely proclaim Java being platform-independent?):
    How can I get rid of these problems and have that super-app running on my two and a half years old operating system?
    Any support is welcome!
    Thomas
    (PS: I admit to have very bad view on Java as a technology due to stepping from trouble to trouble for years now and so I guess no one's ever able to convince me of the contrary, so please ignore any dismissive statement on it above. And yes I'd like to see this app running so I can start developing apps for mobile phones or at least test its capabilities in comparison to the competition.)
    EDIT: A few months ago I was testing some ME SDK with success. I can't remember version or included IDE. Is there any (basic) difference in using "Java ME SDK 3.0" as currently promoted on SDN from using Netbeans 6.5 supporting Java ME as well?
    Edited by: soletan on May 26, 2009 9:55 AM

    Hi, I also used the 64 bit sdk with Java ME SDK 3.0 and I am now unable to unistall it. I tried the suggestion of editing the 2 Java files which as suggested allowed the program to work correctly however I was unable to uninstall the program. So I tried the other suggestion of removing the files and then reinstalling linking to the 32 bit SDK which again it works OK but I am unable to uninstall.
    On trying to uninstall I get the error:
    Cannot load native library from path: native/jmesdk/windows/windows-x86.dll
    Exception:
    java.lang.UnsatisfiedLinkError:
    +C:\[home dir]\AppData\Local\Temp\[temp file]: Can't load IA 32-bit.dll on a AMD 64-bit platform.+
    You can get more details about the issue in the installer log file:
    Log file has:
    +[2010-07-25 20:14:21.422]: IsProductInstalledAction executed...+
    +[2010-07-25 20:14:21.422]: ...uninstallation, quiting+
    +[2010-07-25 20:14:21.453]: loading sdk library+
    +[2010-07-25 20:14:21.453]: library resource path: native/jmesdk/windows/windows-x86.dll+
    +[2010-07-25 20:14:21.454]: library file path: <SNIP>AppData\Local\Temp\nbi-611817385067150493.tmp+
    +[2010-07-25 20:14:21.459]: Cannot load native library from path: native/jmesdk/windows/windows-x86.dll+
    +[2010-07-25 20:14:21.460]: java.lang.UnsatisfiedLinkError: <SNIP>\AppData\Local\Temp\nbi-611817385067150493.tmp: Can't load IA 32-bit .dll on a AMD 64-bit platform+
    +[2010-07-25 20:14:21.460]:      at java.lang.ClassLoader$NativeLibrary.load(Native Method)+
    +[2010-07-25 20:14:21.460]:      at java.lang.ClassLoader.loadLibrary0(Unknown Source)+
    +[2010-07-25 20:14:21.460]:      at java.lang.ClassLoader.loadLibrary(Unknown Source)+
    +[2010-07-25 20:14:21.460]:      at java.lang.Runtime.load0(Unknown Source)+
    +[2010-07-25 20:14:21.460]:      at java.lang.System.load(Unknown Source)+
    +[2010-07-25 20:14:21.460]:      at org.netbeans.installer.utils.system.j2mesdk.SDKExtraUtils.loadNativeLibrary(SDKExtraUtils.java:128)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.utils.system.j2mesdk.SDKExtraUtils.<clinit>(SDKExtraUtils.java:42)+
    +[2010-07-25 20:14:21.461]:      at com.sun.cdc.installer.JMESDKConfigurationLogic.getUninstallWizardComponents(JMESDKConfigurationLogic.java:368)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.components.sequences.ProductWizardUninstallSequence.canExecuteForward(ProductWizardUninstallSequence.java:115)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.Wizard.getNext(Wizard.java:893)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.Wizard.next(Wizard.java:593)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.components.WizardSequence.executeForward(WizardSequence.java:84)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.components.sequences.MainSequence.executeForward(MainSequence.java:138)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.Wizard.next(Wizard.java:610)+
    +[2010-07-25 20:14:21.461]:      at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:124)+
    +[2010-07-25 20:14:21.462]: ... show message dialog+
    +[2010-07-25 20:14:21.462]: title: Critical Error+
    +[2010-07-25 20:14:21.462]: message: Cannot load native library from path: native/jmesdk/windows/windows-x86.dll+
    +[2010-07-25 20:14:21.462]:+
    +[2010-07-25 20:14:21.463]: Exception:+
    +[2010-07-25 20:14:21.463]: java.lang.UnsatisfiedLinkError:+
    +[2010-07-25 20:14:21.463]: <SNIP>AppData\Local\Temp\nbi-611817385067150493.tmp: Can't load IA 32-bit .dll on a AMD 64-bit platform+
    +[2010-07-25 20:14:21.463]:+
    +[2010-07-25 20:14:21.463]: You can get more details about the issue in the installer log file:+
    +[2010-07-25 20:14:21.463]: <SNIP>.javame-sdk\log\20100725201416.log+
    Any suggestions on how to uninstall the program?
    Thanks,

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

Maybe you are looking for

  • My iphone 5 won't turn on or charge

    My Iphone 5 won't turn on or charge. I've tried 3 different chargers, a reset but still nothing. Any ideas or tips?

  • Forms on a mobile

    Hi - I'd really appreciate some advice.  I am designing a process which will involve field staff signing up new clients using a form (designed in Acrobat X Pro) on an Android tablet device (Galaxy Tab 2 7.0) and getting the data back to head office w

  • Problem sending FCP sequence to Compressor

    I'm a beginner at using Compressor. I had the following problems while completing the Motion 2 DVD tutorial that shipped with the Final Cut Studio Suite: 1. Upon exporting the sequence to Compressor, FCP gave a duplicate file name warning. 2. Compres

  • Validation at "Save and Send for approval" in Create Expense Report

    Hello gurus, I have an issue where in at Create Expense report we have two options: 1. Save 2. Save and Send for Approval. When this trip is SAVED and SEND FOR APPROVAL the validation should trigger and error message should appear if expense type XXX

  • Photos change order when burning to disc

    I have created a separate album of photos that I want to burn to a CD. When I do so, some of the photos change order. I have tried to delete those photos and then re-add them to the album, but to no avail. I have also tried to change their date so th