• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classpath Setting

 
Roshini Sridharan
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working with J2ME 2.2 Toolkit and would like to know how to set the classpath if i am using any external API as a part of my MIDLet program.

Actually i have a JAR file that contains some package that i use it in my midlet and when i try to build the project i get package not found error.. i don't know where to change the bootclasspath / classpath setting..

It would be nice anyone could help me solve this problem

Thanx in advance

Regards
Roshini.S
 
Ramender Mall
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi roshni,

try copying the external jar package in the /lib directory of your PROJECT..
I have never added any external packages, but whenever I will do it, I will first try by placing it there..


Ramy...
[ December 28, 2005: Message edited by: Ramender Mall ]
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ramy,

It worked.. Thanx for the information, i tried placing it in the WTK22\lib folder.. i.e why i didn't get it right.. thanx a lot.


Regards
Roshini.S
[ December 28, 2005: Message edited by: roshini sridhar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic