• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

For j2me polish Urgent Help

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Freinds,

Can anybody tell me the code for how to run any J2me polish program in netbeans with the necessary steps.

if possible than give me the sample program that allready run in netbeans and also tell me the step to run.

I know the basic steps but i cant run it.

so please help me.

its urgent.


 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nikunj,

Can you mention what is happening when you are trying to run ?

Arnab
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sen,

I had the same experience..

It is extremely frustrating when you are unable to do something that is so awesome if the compile goes well...

I cant exactly remember the error that came to the output screen...

I think it due to the change has be done.... or something

And there is a problem of the libs not being found...
 
nikunj anand
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply.

i have followed this steps to run j2me polish program but it will give me this error.

Target `run' does not exist in this project.
BUILD FAILED (total time: 0 seconds)


i am trying to run sample program of j2me polish which include to file
menumidlet.java and dummy.java

when i am trying to run build.xml with target as j2mepolish it gives me
this error.

init:
j2mepolish:
J2ME Polish 1.2
F:\tempproject\sample\MobileApplication\build.xml:69: Unable to find the preverify tool at the default location [C:\Program Files\netbeans-5.5\bin\preverify.exe]. Please specify where to find it with the "preverify"-attribute of the <build> element (in the build.xml file).
BUILD FAILED (total time: 6 seconds)


Steps To run j2me polish program


For integrating J2ME Polish with NetBeans 4.0 create a new project and copy the sample project from ${polish.home}/sample into your new project with a file-manager. Right-click the build.xml and choose "Run Target" > "j2mepolish" for running the example.

Create a new project: Go to "File" -> "New Project" and select "Mobile" -> "Mobile Application" as your project type. Give the project any name and choose any folder as the project's home. De-select the "Create Hello MIDlet"-option and select "Finish" to create the project.
Copy the sample project: Navigate to the "${polish.home}/sample" directory with your file-manager (e.g. Windows Explorer on Windows or Finder on Mac OS X). Select the "resources", "resources2" and "src" folders as well as the "build.xml" file and copy all into the folder of your NetBeans project. Overwrite any existing files.
Return to NetBeans, right-click your new project in the "Projects" view and select "Refresh Folders". You can now view the sample application in the "de.enough.polish.example" package.
Right-click your project again and select "Properties". Go to "Build" and select "Libraries and Resources". Select "Add Jar/Zip" and add the "${polish.home}/import/enough-j2mepolish-client.jar" file to your project.
Now switch to the "Files" view and right-click the "build.xml" file. Select "Run Target" > "Advanced". Write "test, j2mepolish" in the following dialog, so that the "test" target is executed first, followed by the "j2mepolish" target. J2ME Polish now executes and starts the WTK emulator.


please help me to solve this problem.
its really needed.
i have to submit this application within one week.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic