Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 112
Registered: ‎04-28-2010
My Device: 8520

java.io.File not finding in JDE 5.0 but mentioned in api reference

[ Edited ]

Hello BlackBerrians,

 

i want to use java.io.File in JDE 5.0, when i am compiling the code it is saying not found. But it is mentioned in api reference.

 

plz reply me what is the problem with it.Region Capture.jpg

 

Regards,

Dinesh

 

 

Contributor
Posts: 15
Registered: ‎10-13-2010
My Device: 9900

Re: java.io.File not finding in JDE 5.0 but mentioned in api reference

Although docs show info on java.io.File, the info itself is incomplete and when you try to import you can see the class is not there.

I think you should try and use import javax.microedition.io.file.*

Hope it helps!
New Developer
Posts: 11
Registered: ‎06-25-2014
My Device: BB

Re: java.io.File not finding in JDE 5.0 but mentioned in api reference

java.io.File is part of Java standard edition.and not the micro edition. 


java example

Leslie Love