This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

plz Help me in Compilation

 
Atif Ahmed
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
 
Atif Ahmed
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • 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
 
Jeremy Thornton
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • 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
  • 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 ?
 
Ercan Erciyes
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic