• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

plz Help me in Compilation

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
very sad i am not able to compile even one programe of J2ME .When ever i compile my programe i get the same Error :
"Fatal Error : Unable to locate package java.lang in classpath or bootclasspath"
Plz help me .I know that this is a very begining Question .No body want to answer this.
Plz ans me in step that what thing i m missing.

Thanks
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the following articles show what you need to know in order to get started:
http://wireless.java.sun.com/midp/articles/wtoolkit
http://wireless.java.sun.com/midp/articles/getstart
http://wireless.java.sun.com/midp/articles/setup
http://wireless.java.sun.com/midp/articles/intro
 
Atif Ahmed
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
Valentin Crettaz
These site r really good.
One thing more :
I wana to work on language Support:
Actually i want to support an Asian language
in mobile which is like Arabic.
My mobile simulator can lode any type of font but it only support left to right.
so it's mean we can not write any language in this simulator which start from Right to left.
I wana to ask u have J2ME support us in this kind of work(language support).I think J2ME has very little Support as compair to J2SC & also according to my Knowledge Locale class is not present in J2ME.
So what u think can we work on Language Support in J2ME .
If u know so plz give me hints
 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry to hear you're having problemst Atif,
Obviously reading any articles and books you can get your hands on is the ideal solution but to get you started here is an example of a typical compile call - try it with a very simple midlet class and let me know if you are still having problems.
Stuff in <brackets> are comments - do not enter.
javac -g:none <switch off debugging support> -bootclasspath <enter path to wherever you have installed j2me>/lib/midpapi.zip <this replaces the standard Java classes with the j2me versions> -classpath <enter path to wherever you have installed j2me>/lib/kvem.jar HelloWorld.java <or whatever your class is called>
Hope this helps
 
Atif Ahmed
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeremy Thornton.
from
http://wireless.java.sun.com/midp/articles/wtoolkit
site i learn that ktoolkit do these all things for me.So i m using it if i feel any problem in it i will again ask u.
Can u plz ans my Second Question ?
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Atif,
As i know you can code Arabic or Hebrew (right to left) as well.. Just check whether the coding is available or not by using System.getProperty method.
I saw some Arabic and Hebrew MIDlets during the Cebit2002..
Have fun.
Cheers
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Ercan",
PROPER NAMES ARE NOW REQUIRED
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name, with a space between them. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at http://www.javaranch.com/name.jsp
Topics posted by people with invalid names will be closed. Please register with a new name and this topic will be reopened.

--Mark
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic