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

Similar Messages

  • 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

  • Flex eclipse plugin installation problem

    Hi All,
    I have eclipse 3.x Europa edition. I am trying to install
    Flex builder 3 plugin for eclipse for some time now.
    It is frustrating that the installation always hangs when it
    tries to install "Merge module".
    I downloaded the eclipse plugin from the adobe site:
    http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3email
    Please help so that i can do some quality flex coding.
    Thanks,
    Madhav
    Adobe
    Flex Eclipse Plugin Link

    I am replying to all these posts about issues with the
    install to let Adobe know that there is a compatibility issue with
    the FB2 eclispe plugin installer. This is a major issue that is
    keeping people from trying/buying this product.

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

  • Installation Problem - Java SDK 1.4.1

    I have a problem with installing Java on my machine at home that you may be able to help me with.
    Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the correct CLASSPATH statement 4) The "Java -Version" statement gives the correct reply that it is version 1.4.
    Below is my AutoExec.bat file
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET PATH=C:\PROGRA~1\MICROS~3\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ATF
    SET CLASSPATH=C:\J2SDK1_4\LIB\TOOLS.JAR;.;
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    Problem: Trying to compile a simple "HelloWorld" Program with "javac Helloworld.java" produces the error "Bad Command or File name".
    Issues: Command Line in Windows ME requires 8.3 format. Inserts tilde "~" and a number into the names of the files. even using a short name such as "HelWrld.java" inserts a tilde because of the "java" extension. Have tried using a "jav" extension but that does not work as the error is the same.
    Question: How can I get rid of the "Bad Command or File Name"?

    My First Java Progam (for Windows with Java 2 SDK v1.4.1)
    Follow these instructions EXACTLY.
    1. Download and install the Java 2 SDK, Standard Edition. You can find it here:
    http://java.sun.com/j2se/downloads.html
    Select the download for your operating system and be sure to download the SDK (rightmost column) and not the JRE. (The JRE is only the Java Runtime Environment, which does not include the Java compiler and other tools needed for software development).
    2. Read the README and installation instructions! Read these instead of asking questions about installation etc. in the Java forums.
    README for Java 2 SDK v1.4.1: http://java.sun.com/j2se/1.4.1/README.html
    Java 2 SDK v1.4.1 for Windows installation: http://java.sun.com/j2se/1.4.1/install-windows.html
    Things to note:
    - After installing, add the bin directory of the SDK to your PATH environment variable. For example, if you installed the SDK in C:\j2sdk1.4.1_01, add the directory C:\j2sdk1.4.1_01\bin to your PATH. (If you don't know what an environment variable is and how to set it, read the documentation of Windows; if you're using Windows XP, this might be useful: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q310519& ).
    3. Open Notepad and type in your first program:
    public class HelloWorld {
    public static void main(String[] args) {
    System.out.println("Hello World!");
    Save this program somewhere with the filename "HelloWorld.java".
    Things to note:
    - The case of text is important. Don't type "Helloworld", "helloworld" or anything else. Also the case of the filename is important (even though Windows has case-insensive filenames!).
    - Watch out that Notepad doesn't append ".txt" to the filename. The file should be named "HelloWorld.java", not "HelloWorld.java.txt".
    4. Open a command prompt and go to the directory that contains the file "HelloWorld.java" (with the CD command).
    5. Compile the progam with the following command:
    javac HelloWorld.java
    Things to note:
    - If you get something like "Unknown command: javac" or "Bad command or filename", you did not (correctly) add the bin directory of the SDK to the PATH (see step 2).
    6. Run the program. If you didn't get any compile errors, you now have a new file "HelloWorld.class" in the same directory. Run the program with the following command:
    java HelloWorld
    Things to note:
    - If you get: "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class", you have typed "java HelloWorld.class". Leave off the ".class" at the end. You are typing a class name here, not a filename.
    - If you get something like: "Exception in thread "main" java.lang.NoClassDefFoundError: helloworld (wrong name: HelloWorld)", you have typed the class name wrong. Note that the case is important (i.e., don't type "helloworld" but "HelloWorld")!
    - You don't need to set any classpath here. In Java 1.4, the current directory is included in the classpath automatically. For older versions of Java, you may need to add the current directory (".") to the classpath, like this:
    java -classpath . HelloWorld
    7. Congratulations with your first working Java program. Now follow these links:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    New to Java Programming Center
    http://developer.java.sun.com/developer/onlineTraining/new2java/
    FAQ
    http://java.sun.com/products/jdk/faq.html
    How Classes are Found
    http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
    Setting the class path
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
    JavaTM 2 SDK Tools and Utilities
    http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
    Jesper

  • Cannot Reinstall Java EE SDK 5

    Ok, let me try to explain the situation and then hopefully some one will be able to help.
    I installed the Java EE SDK 5 using the standard windows installer downloaded from Sun and everything worked fine. It added its bin directory to my users path and everything supposedly was working fine (I'm running XP, btw).
    I then installed Eclipse Europa and when I went to start eclipse up it could not locate the JRE. I uninstalled eclipse and installed it again and it still could not find it. So I tried to reinstall Java EE SDK 5 and it informed me that if I did not uninstall the prior installation the installation might fail.
    So, I deleted the Sun directory, thinking that that is what the installer meant by uninstall (obviously a mistake). I went to install the Java SDK again and this time the first message it gives me is that the installation is still there. However, I know it's not there so I say continue and then it prompts me next for whether or not I want to create the non-existent folder (inconsistent, as it just told me the folder was there, and now it nows that it's not), I say I do. However, then when the installer is done, nothing shows up in the newly created Sun folder but a few files that don't appear to do anything.
    I did research online and found that there was supposedly an uninstall program in the folder that I had just trashed so I got a copy of that program from a cubicle mate of mine and placed it into the C:\Sun\SDK directory and ran it, only to discover that it could not be run because I didn't have JRE 1.5. So I installed Java SE SDK 5 into a custom folder and ran the uninstall program using the JRE that get's installed when you install that and then re-attempted to install Java EE SDK 5 into the standard location and the same exact error is happening where it tells me the install is already there, then tells me that the folder doesn't exist, then installs nothing when I'm past those two points.
    Sorry, I know that was lengthy but I figure thorough is better than the alternative.
    Any thoughts?
    All I want to do is get Java EE SDK 5 installed so I can use Eclipse. If there is an easier way to do this then I'm open to that.
    Thanks in advance!
    Timmy V.

    Last J2EE which worked with Windows 98 (with some manual workarounds!) was J2EE 1.3.1. You can still download it from here:
    http://java.sun.com/j2ee/sdk_1.3/
    For manual workarounds required to get this to run on Windows 98 you can check this:
    http://fieldbird.com/J2EETools/1.3.1/TableOfContents.html

  • Java ME SDk Tools plugins error

    Yesterday I couldn't find Device Selector window in Eclipse. And when I realized that the option of Java ME was dissapeared in "Tools" I went to take a look to the plugins.
    I unistalled both Java ME SDK tools and Java ME SDK Demos. In order to instal them again. But I get the message below in the pugins window:
    Some plugins require plugin org.netbeans.api.mobility to be installed.
    The plugin org.netbeans.api.mobility is requested in version 8.3.1.  The following plugin is affected:       Java ME SDK Tools
    Some plugins require plugin org.netbeans.api.mobility to be installed.
    The plugin org.netbeans.api.mobility is requested in version 8.7.1.  The following plugin is affected:       Java ME SDK Tools
    Some plugins require plugin org.netbeans.modules.j2me.kit to be installed.
    The plugin org.netbeans.modules.j2me.kit is requested in version 1.0.  The following plugin is affected:       Java ME SDK Tools
    Some plugins require plugin org.netbeans.modules.j2me.project to be installed.
    The plugin org.netbeans.modules.j2me.project is requested in version 1.2.  The following plugin is affected:       Java ME SDK Tools
    Some plugins require plugin org.netbeans.modules.mobility.cldcplatform to be installed.
    The plugin org.netbeans.modules.mobility.cldcplatform is requested in version 1.4.  The following plugin is affected:       Java ME SDK Tools
    Some plugins require plugin org.netbeans.modules.mobility.cldcplatform to be installed.
    The plugin org.netbeans.modules.mobility.cldcplatform is requested in version 1.8.1.  The following plugin is affected:       Java ME SDK Tools 
    Some plugins not installed to avoid potential installation problems.
    I followed all the steps last week to get the same developing environment but I don't know what has happened.
    Any help will be very usefull. Thanks

    I had a similar issue after uninstalling the early release of the SDK.  I think it unloads some core components from the IDE.  I don't remember the exact steps to fix it, but it was something like this:
    1. Under Plugins dialog box, Settings tab, check the "NetBeans Distribution" option.
    2. Once the window refreshes, look under Available Plugins
    3. You should see a Java ME option.  Install that.
    After I installed that I went back and followed the steps to install the SDK.  Not sure why it worked, but it did.
    Brent S

  • Java ME SDK Tools 3.0.5 Integration NetBeans IDE 6.9.1

    I've installed the NetBeans IDE v 6.9.1 and Java ME SDK Tools v 3.0.5 on a Vista (build 6001) SP1 machine and everything worked just fine. I had a system failure, and had to (attempt) uninstall / re-install. After a clean install of the OS (Vista Home Premium), the JavaME SDK folder was left over & I manually deleted it, re-installed the Java ME SDK Tools.
    My first issue was trying to get them to integrate into the Guest account. No luck. Then a standard user. No luck. And finally as an administor. No luck again.
    So basically, there seems to be some stranded registry entry (which I have tried to clean after uninstalls) that signals NetBeans 6.9.1 that the Java ME SDK (3.0.5) is installed (even when I have removed it and deleted to folder). At which point the NetBeans IDE asks continually if I would like to integrate the Java ME SDK Tools. Either way, the tools will no longer integrate.

    Ok. So I finally got it working. I had to uninstall the Java ME SDK Tools, and NetBeans (again). This time, i received no errors. Then I deleted all of the related dot folders (.nbi, .netbeans, .netbeans-registration) & "javame-sdk" from every user folder.
    For some reason it seems that NetBeans IDE 6.9.1 or Java ME SDK 3.0.5 was still trying to use the old administrator account folder (from the previous, wiped-out Windows installation). I was wondering why the old account re-appeared in the User folder!
    So if your having the same problem: Uninstall NetBeans & Java ME SDK Tools, delete all related folders, run a registry cleaner like CCleaner, reboot, re-install.
    ** If you get errors during either uninstall operation, then you will have to re-install & uninstall again! ** <- Basically, do the above steps twice =)

  • Java me sdk

    i have installed netbeans 6.9 ,jdk1.6 and java me sdk 3.0,when i create new project in netbeans for java me,it give error java.lang.reflect.Invocationtargetexception.It cannot go further when i clicked finish button.

    Hi,
    Did you upgrade from a previous version of NetBeans or ME SDK? You can try explicitly uninstalling both, and also deleting the NetBeans directory of the local user to clear up any leftovers. Then reinstall ME SDK 3.2 (the last version of the 3.x release), then NetBeans. Then following the ME SDK setup instructions to install the ME SDK plugins in NetBeans and activate them.
    Hope this helps. Best,
    -- Terrence
    Product Manager, Oracle

  • J2ME SDK 3.0.5 Plugin Causing Problems in IDE

    Hello,
    After I installed the new JAVA ME Plugin for 3.0.5 SDK and integrated with my Netbeans IDE, I cannot run my other projects that is not JavaME based. It gives an error saying the execution directory is wrong. It complains "work is not a valid directory". This is produced by your plugin because I ran the IDE with a new user directory and just installed your plugin. I am using JDK 1.6 update 29 on WinXP SP3 32-bit.
    Here is a produced exception of a simple Hello World application that prints a "Hello World" string which can't even execute:
    C:\Documents and Settings\User\.netbeans\6.9\var\cache\executor-snippets\run.xml:52: D:\Project\HelloWorld\work is not a valid directory
    at org.apache.tools.ant.taskdefs.Java.setupWorkingDir(Java.java:855)
    at org.apache.tools.ant.taskdefs.Java.setupExecutable(Java.java:825)
    at org.apache.tools.ant.taskdefs.Java.fork(Java.java:788)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:214)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    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 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
    Java Result: -1

    The issue is resolved. You have to update Java ME SDK 3.0.5 to obtain the fix:
    1. Ensure that you have downloaded and installed the latest Java ME SDK 3.0.5 (published on Dec 23, 2011). In the updated 3.0.5 release we have added the Japanese and simplified Chinese localizations and "Update Center" feature that is required to obtain the fix.
    2. Run Update Center either from Start menu or from Netbeans "Java ME" menu (in this case you should install Netbeans integration during Java ME SDK installation).
    3. Install "Java ME SDK Tools Netbeans Update Site" via Update Center.
    4. Restart Netbeans IDE.
    5. In Netbeans, go to Tools -> Plugins, Reload Catalog and install "Utilities" update from "Java ME SDK Tools" category.
    That's it.
    For more details refer to corresponding blog post at: http://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    Alexander Burdukov, Engineering Manager for Java ME SDK product.

  • 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 OSX bug

    Today I decided to migrate from Netbeans(windows) to Java ME SDK 3.0 (os x)
    The project compiled as expected but when I start the game this is the exception I get:
    java.io.IOException: error in native parseObjChunk proc.
    On the phone the game works, on the WTK emulator (windows) it works as well.
    The code that throws the error is:
    Object3D[] allNodes=Loader.load("file.m3g");The m3g file is exported from Blender, if needed I can send it to you, just give me an email.

    It is related to the configuration of the emulator (CLDC 1.0 or CLDC 1.1)...
    If the configuration is CLDC 1.0 all the floating point data types (float, double, Float, Double) will not be available...
    If you change the configuration to CLDC1.1 , then all the previous types will be available.
    PS: I don't know how to do this in EclipseME

Maybe you are looking for

  • Database connection using code in IDE

    Anybody there please help me. I cannot connect to my database from within the Java Sun One Studio 5 IDE. This situation also happens in the Enterprise Edition; I cannot connect to the oracle database from within the IDE using code. Please can someone

  • HSQLDB not correctly shutdown

    i am using hsqldb1.8.0 and trying to access the standlone database thru hibernate.. my hibernate configuration file contains <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN

  • Two problems with brand new Mac

    Just got a new, pricey MacBook Pro, about a month ago. Anyways, I'm having two strange problems. Firstly, my MacBook Pro keeps turning off randomly (which is pretty annoying when I'm trying to take notes on it in the middle of a university lecture)..

  • Getting 600EX-RT slave to fire only via Pop-up Flash

    I have a 600EX-RT set up as slave and contolled by 60D using pop-up flash.  I have the 60D settings set for the slave to fire only as per pages 140-141 of the 60D manual.  However, in this setting the pop-up flash will still fire.  At the end of page

  • How movement type is determine in out bound delivery?

    Hello, (1) I want to know, how movement type is determine in out bound delivery (item detail --->Administration tab).   If I want to make a setting of customer return, then where can I assign movement type 451 so that it will appear in OBD? (iii) Ple