Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't find package problem

843810May 22 2004 — edited Jun 15 2004
Hi !

I've to use a xml parser for my project and I found Kxml.
Maybe I'll write my own parser if nobody can help me on my problem with it ...
I'm using J2ME to create my MIDlet (WTK 2.1).
My example-sourcefile, which I downloaded is placed in c:\wtk21\apps\SampleJ2MEXML\src
and is called XMLJ2MEService.java.
This file needs to import 2 packages:
//KXML Apis
import org.kxml2.io.*;
import org.xmlpull.v1.*;

But those 2 packages cause trouble.
The org/kxml2/io and org/xmlpull/v1 directories are placed under src-directory, so that KToolbar should find them.
I've tried to move the org-directory to different locations: SampleJ2MEXML\lib or SampleJ2MEXML\lib\ext and some others, but the build-process causes errors everytime I run it.

Is someone able to help me ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2004
Added on May 22 2004
10 comments
166 views