Natalia
Natalia

Reputation: 783

j2me importing external jar: what classpath?

I want to import some external jar file in a j2me project (not including it into final build). So I would copy my jar and external jar on a device, run my jar and use classes from this jar. (like import ext_pack.ext_class; and then use it like ext.class.ext_method()). What classpath should I write and where should I put my jars on device?

Upvotes: 1

Views: 321

Answers (1)

Femi
Femi

Reputation: 64700

Class loading is not generally available in most J2ME profiles (not in the CLDC 1.1 spec). You can't do this.

Upvotes: 1

Related Questions