Compiling with J2ME Wireless Toolkit

Hi I hope anyone can help me. I�m trying to compile a java file, but I get this error.
Project "TestUtilImpl" loaded
Project settings saved
Building "TestUtilImpl"
C:\WTK25\apps\TestUtilImpl\src\TestUtilImpl.java:12: package javasoft.sqe.tests.api.javax.obex.btgoep does not exist
import javasoft.sqe.tests.api.javax.obex.btgoep.*;
^
C:\WTK25\apps\TestUtilImpl\src\TestUtilImpl.java:20: cannot find symbol
symbol : class TestUtil
location: package javasoft.sqe.tests.api.javax.obex
extends javasoft.sqe.tests.api.javax.obex.TestUtil {
^
2 errors
com.sun.kvem.ktools.ExecutionException
Build failed
Settings updated
Project settings saved
Project settings saved
Building "TestUtilImpl"
C:\WTK25\apps\TestUtilImpl\src\TestUtilImpl.java:12: package javasoft.sqe.tests.api.javax.obex.btgoep does not exist
import javasoft.sqe.tests.api.javax.obex.btgoep.*;
^
C:\WTK25\apps\TestUtilImpl\src\TestUtilImpl.java:20: cannot find symbol
symbol : class TestUtil
location: package javasoft.sqe.tests.api.javax.obex
extends javasoft.sqe.tests.api.javax.obex.TestUtil {
^
2 errors
com.sun.kvem.ktools.ExecutionException
Build failed
so can anyone tell me how I can get the WTK to finde javasoft.sqe.tests.api.javax.obex.btgoep.*;
/ero

If you have the jar file that contains the classes under the package javasoft.sqe.tests.api.javax.obex.btgoep, then put the jar file under the "lib" directory of your project.
Say for example, if test.jar contains the above package and your project directory is C:\WTK25\apps\TestUtilImpl, then put the test.jar in C:\WTK25\apps\TestUtilImpl\lib directory.
Hope it helps :)

Similar Messages

  • How to compile using J2ME Wireless Toolkit?

    Hello! i'm doing a bluetooth application and i just want to ask how to compile using J2ME Wireless Toolkit?
    Is it the "Build" button? thanks!

    thanks! hmmm... as what i 've said earlier, im doing a bluetooth application. i already compiled and run it using J2ME wireless toolkit and it works. but when i transfer the application to Nokia 6600, the images that must be publish didn't appear. "NO DATA". do i have to send the images also to Nokia 6600?

  • Trouble with J2ME, Wireless toolkit, MakeMIDlet.

    Hallo...
    I can't get JDeveloper to create the Midlet package.
    I've I have installed and set up the WTK20 in the J2ME configuration.
    I've also made the changes to .jar files in the makeMIDlet.bat.
    I get the following error:
    MIDlet generation from Oracle9i JDeveloper
    Working for Just-Eat in "C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src" with "C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\CLASSES.j2meAddin" icon "C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\IMAGES.j2meAddin" and "C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\MANIFEST.j2meAddin", plus "C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\JAR2ADD.j2meAddin"
    java.io.FileNotFoundException: C:\Documents (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at java.io.FileReader.<init>(FileReader.java:41)
         at makeUtil.makeExtraCP(makeUtil.java:55)
         at makeUtil.main(makeUtil.java:129)
    'out.bat' is not recognized as an internal or external command,
    operable program or batch file.
    Could Not Find C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\out.bat
    Compiling with NoDebug Option
    java.io.FileNotFoundException: C:\Documents (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at java.io.FileReader.<init>(FileReader.java:41)
         at makeUtil.makeCompile(makeUtil.java:32)
         at makeUtil.main(makeUtil.java:123)
    'out.bat' is not recognized as an internal or external command,
    operable program or batch file.
    Could Not Find C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\out.bat
    java.io.FileNotFoundException: C:\Documents (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at java.io.FileReader.<init>(FileReader.java:41)
         at makeUtil.makeLibs(makeUtil.java:100)
         at makeUtil.main(makeUtil.java:127)
    'out.bat' is not recognized as an internal or external command,
    operable program or batch file.
    Could Not Find C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\tmp\out.bat
    Preverifying
    Making jar file
    .\* : no such file or directory
    java.io.FileNotFoundException: C:\Documents (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at java.io.FileReader.<init>(FileReader.java:41)
         at makeUtil.makeImages(makeUtil.java:78)
         at makeUtil.main(makeUtil.java:125)
    'out.bat' is not recognized as an internal or external command,
    operable program or batch file.
    Could Not Find C:\Documents and Settings\SodiumLight\Desktop\JustEat\Project\src\out.bat
    Making jad file
    Finished
    The strange part is that the same copy of JDeveloper works fine on another system...
    I hope someout out there can help me out...
    Regards Thomas Rolskov
    [email protected]

    HI Friend:
    You install jdk1.5.try it!

  • Image problem with my palm (J2ME Wireless Toolkit)

    Hi,
    I did a basic application. I just show an image and it works perfectly with the J2ME Wireless ToolKit.
    However, when I create the package, convert it and send it on my palm, everything is ok, except the image. It won't appair.
    I get an exception that the image couldn't be found, but when I use the emulator, everything is ok !!!
    The image is in the "res" directory, like it was asked in the manual.
    I tought that everything is encoded (text file or image file) when you create the package. If it's working with the emulator, why is it not working on my palm?

    I had a same problem with my nokia 3650 in J2me the image appears but not on the phone, I think that that is a bug and fixed it this way:
    when you make a jar package, unpack package with winRAR or some archive program in some temp directory and in that directory make a res directory an put the image in it, then repack theese files again including the res directory in a new jar file. It works for me. It looks that J2ME in compiling doesn't change the path, to root but leaves the res directory.

  • J2ME Wireless Toolkit 2.5

    Hi all,
    I would like to ask if this new veresion (J2ME Wireless toolkit 2.5) supports ArrayList.
    I have developed a program with ArrayList , is it possible to run it in this new version without problems.
    Thanks

    New version of WTK 2.5 supports CLDC stack. Unfortunately the ArrayList class is not present in the spec for this stack, so WTK 2.5 will not be able to run your application. (Like all other CLDC implementations) But you can try the CDC emulator "Sun Java Toolkit 1.0 for CDC" at http://java.sun.com/javame/downloads/index.jsp
    (CDC stack has the class ArrayList)

  • J2ME Wireless Toolkit jad error

    hi every1 i'm new to this j2me. i'm having the following install error:
    'the application file(.jad) for HopBoy does not appear to be the correct type'.
    i'm using j2me wireless toolkit. create the package then run via ota. i'm using apache web server. well i'm trying to simulate OTA function demonstrates how a mobile phone locates and downloads MIDlets from a remote server. thank u for your help.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • Problem With Downloading Wireless Toolkit.

    I`ve problem with downloading the j2me wireless toolkit, i`ve tried to downloading it for 3 weeks but i couldn`t, so i`m searching for some mirror sites for this package and couldn`t find anything.Can You Suggest me a mirror site for Dl ing this package PLZ?

    I found that mpp sdk works well, it may not be what your looking for but Its worth looking at I think.
    http://www.mpowerplayer.com/

  • J2ME - WIRELESS TOOLKIT - SUN

    Hi All
    I installed J2ME - WIRELESS TOOLKIT - SUN, to work with JDEVELOPER but I don't know what else I need to start to develop my application.
    someone could help me, what else I have to install in my machine
    Thanks
    José

    Jose -
    There are detailed instructions provided at this location:
    http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/j2me/content.html
    Hope this helps,
    Lynn
    Java Tools Team

  • J2me wireless toolkit and MIDP,CLDC

    Hi,
    does the j2me wireless toolkit ship the cldc and midp with it ?

    why email, thats a forum because there are more people interested in problems and their solution than you.
    The 2.2beta also ships with the CLDC 1.1 and MIDP 2.0. Its a must because without it, you wouldnt be able to execute anything. And you cant put the JVM, MIDP and CLDC on your phone. The only thing you need is your application. The rest is implemented in hardware (or firmware of the phone). If not, theres no way to ''manually'' put in there (this includes upgrading).
    hth
    Kay

  • No Image in my cell but there's an image in J2ME wireless toolkit

    Hi all,
    I'm really lost here. I coded my java code and run it in J2ME wireless toolkit and the image is there, I put the image on the res folder and the image file format is .PNG, its working in the default color phone. However whe send it to my cellphone, sending the .jar file, and after installation, as I run the program, I cant see the image, all UI is ok but not the image. Thanks a lot
    Here's the code:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class HelloWorld extends MIDlet implements CommandListener, ItemStateListener
    private Form frm;
    private Display display;
    private TextField txtName;
    private TextField txtAge;
    String[] genderArray = {"Male", "Female"};
    private ChoiceGroup gender;
    String[] statusArray = {"Single", "Married", "Widow"};
    private ChoiceGroup status;
    private Command cmdExit;
    public HelloWorld( )
         display = Display.getDisplay(this);
         frm = new Form("Hello World");
         txtName = new TextField("Name: ","",40,TextField.ANY);
         txtAge = new TextField("Age: ","",2,TextField.NUMERIC);
         Image[] imageArray2 = null;
         Image[] imageArray3 = null;
         try {
              Image icon = Image.createImage("/icon.png");
              Image img = Image.createImage("/myPic.png");
              imageArray2 = new Image[] {icon, icon};          
              imageArray3 = new Image[] {icon, icon, icon};
         frm.append(new ImageItem(null, img, ImageItem.LAYOUT_CENTER,null));     
         } catch(java.io.IOException err)
              // Found an error
         gender = new ChoiceGroup("Gender: ",ChoiceGroup.EXCLUSIVE,genderArray,imageArray2);
         status = new ChoiceGroup("Status: ",ChoiceGroup.POPUP,statusArray,imageArray3);
         cmdExit = new Command("Exit",Command.EXIT,1);
         frm.addCommand(cmdExit);
         frm.append(txtName);
         frm.append(txtAge);
         frm.append(gender);
         frm.append(status);
    public void startApp( )
         display.setCurrent(frm);
    public void pauseApp( )
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if ( c == cmdExit )
         destroyApp(false);
         notifyDestroyed( );
    public void itemStateChanged(Item item)
    Thanks.

    HI Phoenix_Mj
    I'm a beginner in J2ME world and it might happen that I'm be missing some impt step from coding to transferring.
    Do I have to configure anything?
    Im I right by saying, only the .jar file is then transmitted to the device?
    Lastly, where should I put my images? what folder to be specific?
    I can't run the application correctly even trying to run it over the OTA....
    No images is being displayed...
    Please help guys.
    By the way thanks, Phoenix_Mj
    God Bless to all

  • Does J2ME Wireless Toolkit Check Memory Usage?

    I just want to confirm that does the J2ME wireless Toolkit check the memory usage by a MIDlet and only allow it 128KB of memory usage as specified by the MIDP 2.0 specification???
    Or do we have to calculate and check manually about the memory usage of a MIDlet???

    Hi,
    The WTK doesnt set heap memory unless u specify in the preferences. Most of the devices allow upto 200 KB heap size or more. The least being Nokia 7250 which allows only upto 200 KB heap size. SO if u are developing for a particular device in mind specify the heap size in the preferences. You will also get the memory utilized at runtime thru.
    Runtime.getRuntime().* functions. eg.
    Runtime.getRuntime().freeMemory();
    wil give u free memory.
    in new emulators such as Nokia 7210 emulator , u can see the memory real time , on the details secction.
    Hope this helps.

  • J2ME Wireless Toolkit Not Loading..

    Dear Everyone,
    I had just installed J2ME Wireless Toolkit 1.0.4 but when I click on the shortcut to launch the software, nothing happen..Please advice...
    Thank you..

    Hi dumb00,
    I had reinstall my JDK and J2ME for around 5 times since yesterday.
    Later, I found out that is the corrupted fonts in my computer that cause this problem.
    You can find more detail at http://forum.java.sun.com/thread.jsp?forum=31&thread=145251
    Thanks you for responding, dumb00.

  • Java Forte CE and J2ME Wireless Toolkit configuration

    I installed Sun Java Forte V3.0 Community Edition and the J2ME Wireless Toolkit 1.0.3.
    I not able to run a MIDlet for the PALM OS Emulator. Wen I execute the MIDLet suite, the output windows returns: "Error could not find a JVM"
    - Does any body knows how to properly configure Java Forte to run application on the Palm OS Emulator (POSE).
    - Does any body knows how to attach Sun Forte debugger for MIDLet applications ?
    Thanks

    hi,
    First Install the forte and then install the j2mewtk.While installating j2mewtk chose integrated option.
    For Palm OS emulator you have to set the POSE location.
    Try out this.
    Open ktolbar.
    OpenProject.
    select an application.(examples)
    set device PalmOS_device.
    Now run the application.
    A window pop for u.
    This may help you
    good luck.
    koka

  • Question about java 5.0 & j2me & wireless toolkit

    Hi,
    I maybe have a dumb question, but to me it's not totally clear. I am currently developing an application (for J2ME and J2SE) which uses RSA encryption. So I found out that before Java 5.0 RSA encryption wasn't supported, but starting from Java 5.0 it is. So my question now is. If I use the RSA encryption from Java 5.0, can I still use it in my cell phone? And which Java version runs in my cell phone?
    It not clear to me, but maybe someone will be so nice to respond...
    Can my/any cellphone run Java 5.0 code? So what if I use the mentioned RSA-cipher... or generics...enumerations... On what does it depend whether I can use it for my cell phone or not?
    Does it just depend on the compiler? the JVM on my phone? or even the wireless toolkit?
    Thank you very much in advance.
    Sincerely.

    bump...
    anyone?

  • For J2ME Wireless Toolkit Beta 2

    I wrote a project with this toolkit, I test it and it works fine with the
    Run MIDP Application. I tried to install it in the Nokia 72XX (Handphone of my
    fried, sorry forget the model). It reported "Invalid Jad file"
    Any suggestions?
    Thanks a lot in advance!

    I tried with the 7210 again, but it still insists that it is an invalid .jad file
    I put mine .jad file below. I am not sure which line makes the difference.
    MIDlet-1: atest, atest.png, SpaceGame
    MIDlet-Jar-Size: 100
    MIDlet-Jar-URL: atest.jar
    MIDlet-Name: atest
    MIDlet-Vendor: Sun Microsystems
    MIDlet-Version: 1.0
    in the atest.jar file, there is
    App.png
    SpaceGame$SpaceCanvas.class
    SpaceGame.class
    Sprite.class
    MANIFEST.MF (this file is in path meta-inf\)
    My friend download the valid .jad file, its .jad file is some different from the one I post above. Since yours works fine, can you tell where the error comes from?
    Thanks a lot for your help!

Maybe you are looking for

  • Battery Maximizer Lenovo 3000 Series

    I would like why no Battery Maximizer software for 3000 Series systems/notebooks? Why only for ThinkPad series?

  • ALV and Crystal Reports challenge

    Hi there Gurus. I already have posted this question in the Crystal section. Maybe some of you ABAP Guys knows the answer here. Our Customer have  Crystal Reports Template includet so that the user can choose to display ALV in a nice Crystal Report. W

  • Configuring Ejb 2.1 in different server

    Hi, I have two EJB's (Version 2.1) say CustomerEJB and AccountEJB both are stateless session beans. I have two Jboss servers configured in two different machines naming it Server 1and Server 2. These servers are not in cluster I like to deploy the Cu

  • 1920x816 to 16:9

    Hi - I have a 1920x816 clip that I need to resize to 16:9 for a DVD. I would like it if possible to be full widescreen without letterboxing. What window size would be the best and is this something that I would resize using scale in FCP? Thanks.

  • & (ampersand) in 10g form

    Hi All, We have some issue about the & (ampersand) functionality in 6i forms which is not found in 10g form. We successfully convert the forms from 6i to 10g but when the users do their TESTING they found out that the & (ampersand) functionality was