Problem with integrating netbeans with j2me polish

hi everybody,
Im getting the following error message when im integrating netbeans and j2me polish.
Warning - could not install some modules:
     enough-polish-netbeans - The module Java Platform was requested in version >= 1.10 but only 1.9.1 was found.im using netbeans ide 6.0.1 and jdk 1.6
j2me polish 2.0.7.
plz anybody help me in this.
Thanks,
Ramesh.P

thanks st3p3n for your valuable reply.
i faced the above said problem when i tried to integrate with netbeans 6.0.1.
but again i tried with netbeans 6.5 and there is no such an error.
Thanks,
Ramesh.P

Similar Messages

  • Error - netbeans integrating with j2me polish- file connection api

    dear friends,
    can anyone help why this error is coming, while i run my existing mobile project in j2me polish
    J2ME Polish 2.0.7 (2008-11-24) (GPL License)
    Warning: unable to access system property javax.xml.parsers.SAXParserFactory: java.lang.SecurityException:
    Warning: unable to access system property javax.xml.parsers.DocumentBuilderFactory: java.lang.SecurityException:
    java.lang.NullPointerException
            at de.enough.polish.ant.PolishTask.initProject(PolishTask.java:959)
            at de.enough.polish.ant.PolishTask.execute(PolishTask.java:376)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)
            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:105)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
            at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
            at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:481)
            at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    D:\ProjectHome\MoBilal\build.xml:87: Unable to execute J2ME Polish task: java.lang.NullPointerException
    BUILD FAILED (total time: 5 seconds)thanks in advance

    thanks st3p3n for your valuable reply.
    i faced the above said problem when i tried to integrate with netbeans 6.0.1.
    but again i tried with netbeans 6.5 and there is no such an error.
    Thanks,
    Ramesh.P

  • Problem with labelprinter POLISH CHARACTERS

    Hi,
    I have a problem with labelprinter. When I try to print a label (Intermec 4e) in polish language there are no polisch characters on printout. Printpreview looks good but that's all. Maybe someone had a similar problems
    best regards

    Hi!
    In which way is the output transferred?
    Something like:
    a)
    ESC 'times new roman'
    My text
    b) already converted into a picture with a specific resolution (e.g. of 300dpi)?
    Case a) -> Your printer needs an installed font times new roman / it's using the first installed font or something in this way. Then you need to download a special (user-) font with polish characters. (That's a quite common way. Sometimes already then vendor installs an user font as preparation for some countries.)
    Case b) -> No idea, when print preview is already OK, then output should be OK, too.
    Regards,
    Christian

  • Problems with j2me gaming

    Hi guys. I need you to help me with this problem. I'm developing a j2me game using netbeans and the gamebuilder component. So everything it's ok, but the problems come when I charge the application into my cellphone. The first problem is on the collidesWith() method. In spite of the hero sprite and the enemy sprite are saperated from many pixels, the CollidesWith method fires by itself. As an example, the hero sprite is at the top of the screen and the enemy sprite is at the bottom of the screen, when the level begins, the collidesWith() method fires so the application show the game over screen as if the enemy touched the hero, which is not true.
    The second problem is that when I try to stop the threads. For example if the hero sprite dies, all of the threads which drives the enemies should stop, so the player needs to restart the level for try again the level. The problem is that when the levels restarts, some of the enemies doesn't move.
    Any of you know what the problem could be it?? I'll appreciate your quick answers. Thanks in advance.

    HI Friend:
    You install jdk1.5.try it!

  • Problems with J2ME and JAX-RPC

    Hi,
    I am trying to write a J2ME web service client. I have generated the stub classes with wscompile from the wsdl document at http://www.webservicex.net/stockquote.asmx?WSDL. However, when I try to run the MIDlet I always get the following error message:
    [wtkpreverify] Error preverifying class javax.xml.rpc.encoding.Serializer
    [wtkpreverify] java/lang/NoClassDefFoundError: java/io/Serializable
    I am using Eclipse 3.1, Antenna 0.9.13, the Web Service Development Kit 2.0 and the WTK 2.3 beta.
    The necessary jars (the WTK libs, rt.jar from the JRE, activation, mail, saaj and jax-rpc libraries from the WSDK) have been included in my classpath.
    Does anybody know how to fix this problem? Any help is much appreciated.
    Regards,
    Motivated

    Thanks, that was my mistake.
    Instead of using wscompile, you must generate the stub classes with the WTK. Then, you set a reference to the j2me-ws.jar (JSR-172). No additional libraries from the Web Service Development Kit are required.

  • Problem with printing Polish characters on paper printouts.

    Scenario..1
    Text Module TM being used in smartform. TM uses a style which has font ARIAL.
    TM is translated into 2 languages English and Polish.
    The English version contains Polish characters too, since a couple of Person names have to be printed.
    When the form is printed in Polish language : The Polish characters are previewed and printed correctly
    When the form is printed in English language : The Polish characters are previewed correctly but not printed correctly
    Both the above use the same printer having support for Polish fonts.. so i am asssuming the printer is not the issue here.. i could be wrong.
    Kindly advice.

    Hi!
    In which way is the output transferred?
    Something like:
    a)
    ESC 'times new roman'
    My text
    b) already converted into a picture with a specific resolution (e.g. of 300dpi)?
    Case a) -> Your printer needs an installed font times new roman / it's using the first installed font or something in this way. Then you need to download a special (user-) font with polish characters. (That's a quite common way. Sometimes already then vendor installs an user font as preparation for some countries.)
    Case b) -> No idea, when print preview is already OK, then output should be OK, too.
    Regards,
    Christian

  • Path problem with j2me wtk emulator tool

    i am trying to run a midlet that uses an optional package ('location' for
    GPS interface). When I compile the system sees the package and e'thing is
    fine. But when I try to run the midlet, I get 'NoClassDefFoundError'. I
    have tried adding the path to the emulator script but with no effect. And
    when I add the following code to see the run time paths being used, the
    system displays 'null':
    import java.util.Properties;
    System.out.println( System.getProperty( "java.class.path" ) );
    Thanks,
    Tom Arnall
    north spit, ca

    when using j2me, I added the following code to see the run time paths being used, and the system displayed 'null':
    import java.util.Properties;
    System.out.println( System.getProperty( "java.class.path" ) );
    is the 'class.path' key supported under j2me?
    thanks,
    tom arnall

  • Problems with J2ME

    I need transfer data from servidor (web site) to MIDLET? , How i do it?
    please help me!!

    use httpconnection to access that server side application

  • J2me polish with netbeans    5.5?

    Hi i am trying to use J2ME polish with an existing midlet program i am working on but cant seem to get it to work.
    i have got one of the build.xml file from one of the samples and have placed it on my projects root folder. i then copied one of the resorces folder from the sample project and placed in in my projects root as well. When i try running the program i get a compile error below:
    Warning: unable to find following requested device-identifiers:
    S60Emulator
    Please check your <deviceRequirements> section in your build.xml script.
    C:\Documents and Settings\jonathan\My Documents\videoPoker\videoPoker\build.xml:70: Your device-requirements are too strict - no device fulfills them. Check the <deviceRequirements> section(s) in your build.xml script.
    im trying to run it on the s60 emulator and the default colourphone device emulator. hope you guys can help has i have not been able to get this j2me polish working for a while.
    How come when i try to use import de.enough.polish it tells me that it doesnt exist when i installed j2me polish succesfuly? how come i cant use it on my current default j2me project?
    i have got the latest jdk and wireless toolkit sdk and i have downloaded the mobile pack for netbeans 5.5

    Have you had any luck wih this problem? I'm having exactly the same problem now, starting to use J2ME Polish with NetBeans 5.5.1.
    Thanks!

  • J2me polish with netbeans

    Hello guys,
    I am trying to integrate j2me polish with netbeans but i am not able to do it . When i am building my mobile application with j2me polish it will giving me
    ----Unable to find the tool at the default location please specify where to find it with preverify attribute of the build element--- error.
    I am not able to get what happening if anybody know abt it please help me.
    Thanks in advance.

    hi have you figured out how to fix this error? because i am encountering the same thing

  • Integrate J2ME Polish in NetBeans environment

    Hi all,
    I've trouble with having a full functionnal Netbeans environment with J2ME Polish.
    Here are the two ways I've tried without full success :
    *1- Start from a J2ME Polish project sample :*
    The sample is working well and when I add my code, most of it is working but :
    -> I can't add my own ressources (icons, sounds, etc...) even by adding the ressource directory in project properties. The code doesn't find them at execution.
    -> It doesn't find some specific APIs like MMAPI javax.microedition.media.control.VideoControl even if MMAPI ability is present and even if I manually add the mmapi.jar file in the library&ressources.
    *2- Add Polish library to an existing and working project :*
    I've added Polish abilities and enough-j2mepolish-client.jar library
    The code is compiling and I have access to both Polish and MMAPI interfaces.
    -> The big problem is that polish screens are empty. For example a simple polish alert screen is empty, the title bar is displayed, the softkeys are displayed but the content is not. Whereas, the string to be displayed is correctly built and no exception is raised during screen building and display.
    So my question is : Is there anybody who has a correct Netbeans 6.0.1 environment including J2ME Polish and what are the steps to follow to build such an environment ?
    Thanks a lot

    First of all , install netbeans and mobility package.
    Then do the follows:
    http://www.j2mepolish.org/docs/install.html#netbeans5
    J2ME Polish provides NetBeans specific build scripts from J2ME Polish 1.3 Beta 3 onwards. You can now just open any of the provided sample applications, delete the default build.xml script and rename the build-netbeans.xml script to build.xml. You can from then on use the normal debugging, build and compile facilities of NetBeans.
    Integrating a sample application in NetBeans:
    Select File > Open Project... and select any sample application in ${polish.home}/samples. Just select a folder like the menu folder and select Open.
    Now switch to the Files window by selecting Window > Files.
    In this window delete or rename the build.xml script which is in the base folder of the project.
    Now right-click the build-netbeans.xml script and rename it to build.xml. When the renaming does not work, do it directly from the file system (e.g. Windows Explorer).
    From now on you can build, run, debug and compile with the normal NetBeans commands (e.g. F5 for debugging). J2ME Polish is then used for building etc.
    When you start a new project in NetBeans, just copy one of the sample build.xml scripts to your project's folder. Then adjust the settings according to your needs.
    So , just adjust the ant script 'build.xml'

  • J2me polish compilling in netbeans

    I'm trying to integrate netbeans with j2me polish but when rebuilding I get an error
    Buildfile: build.xml
    clean.tar.src:
    clean.resources:
    clean.devices:
    clean:
    build.tar.src:
          [tar] Building tar: D:\projects\MobileClient1\CP_Phone_Backup-Src.tar.gz
    build.resources:
          [tar] Building tar: D:\projects\MobileClient1\CP_Phone_Backup-Common.tar.gz
    build.devices:
    BUILD FAILED
    D:\projects\MobileClient1\build\build.xml:57: The <subant> type doesn't support the nested "target" element.
    Total time: 4 seconds
    BUILD SUCCESSFUL (total time: 4 seconds)

    akienou wrote:
    Hello Lichtens,
    I've been able to install the Polish samples installed with J2ME Polish.
    The problem is how I can create a new J2ME Polish project or how I can integrate Polish functionalities to an existing project.
    Thanks in advance.From the tutorial itself that you pointed:
    When you start a new project in NetBeans, just copy one of the sample build.xml scripts to your project's folder. Then adjust the settings according to your needs.

  • How to integrate media player in j2me polish

    Hi,
    I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the video picture, only voice is cming and it's also giving one exception like this -
    "[j2mepolish] Generic/AnyPhone: Uncaught exception java/lang/ClassCastException"
    If i am going to build.xml and changing the
    usePolishGui="true" to "false".. then I am getting video picture also without any Exception..
    Kindly help me out..
    Thanks,

    Hi,
    I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the video picture, only voice is cming and it's also giving one exception like this -
    "[j2mepolish] Generic/AnyPhone: Uncaught exception java/lang/ClassCastException"
    If i am going to build.xml and changing the
    usePolishGui="true" to "false".. then I am getting video picture also without any Exception..
    Kindly help me out..
    Thanks,

  • J2ME/Eclipse Pulsar/Polish UI - problem with Eclipse integration of JPolish

    Hi guys,
    I have J2ME SDK 3.0 here with Eclipse Pulsar (with mobile tools for java) and I want to use the J2ME Polish libraries.
    I install J2ME Polish 2.1.2 and set the eclipse home directory and the "Integrate mepose with eclipse" tick or something like that.
    Anyway, when I restart everything after the installation I can't see the plugin view in my eclipse.
    I also can't manage to manually download the plugin from Help>Install new Software>add url : ww.j2mepolish.org/mepose
    Any ideas ? I'm new to J2ME at all.
    Thank you in advance

    Likewize .. the Polish UI dont show in prefs. Tried with both win/mac but same result.
    Its seems like j2mepolish-2.1.2 and pulsar dont want to play ,(
    Why?
    cheers/k.

  • Problem with Display.setCurrentItem() using J2ME-Polish

    Hi,
    I am fairly new to J2ME-polish and have encountered a situation that I am having a problem with. I am loading a form with a number of String Items. When I display the form I would like to focus to the last String Item that has been placed on the form. I have been using Display.setCurrentItem() in J2ME but when I try using it in J2ME-Polish I receive this message :"de.enough.polish.ui.Screen (3022): Screen: unable to focus item (did not find it in the container or is not activatable ) "
    Below is a snippet of my code.
            // si14 in a StringItem defined earlier in the code
            // It is the last stringItem placed into the form
            form.append(si14);
            display = Display.getDisplay(this);
         display.setCurrent(form);
         display.setCurrentItem(form.get(0));Thanks

    http://forums.sun.com/thread.jspa?threadID=686256&messageID=10864566

Maybe you are looking for