can i use java library for java se in java me. i use smack java library to create a chat client. can i use the same libary to create a chat client for javame.
Asked
Active
Viewed 247 times
4 Answers
2
Probably not. Java ME uses an old version of the Java language and the java byte code specification, also a lot of the basic standard library functions are not present. The networking library functions are completely different for instance. It is very unlikely that a modern Java lib can be used in java ME without serious modifications.

Ola
- 722
- 4
- 9
-
do you know any xmpp library for java me. – Vishnu Pradeep Sep 23 '10 at 13:15
0
Definitely no. J2ME uses completely different VM - so it can't use J2SE libraries at all.

Barmaley
- 16,638
- 18
- 73
- 146
-
Depending on what the library does, you can extract the original source and perhaps "dumb it down" to allow it to work on J2ME. – seand Oct 12 '10 at 05:04
0
No.Can't mingle Java SE & Java ME.So that Java ME has it's own libraries and API's.

Achsah
- 543
- 4
- 16