Path problem with j2me wtk emulator tool

i am trying to run a midlet that uses an optional package ('location' for
GPS interface). When I compile the system sees the package and e'thing is
fine. But when I try to run the midlet, I get 'NoClassDefFoundError'. I
have tried adding the path to the emulator script but with no effect. And
when I add the following code to see the run time paths being used, the
system displays 'null':
import java.util.Properties;
System.out.println( System.getProperty( "java.class.path" ) );
Thanks,
Tom Arnall
north spit, ca

when using j2me, I added the following code to see the run time paths being used, and the system displayed 'null':
import java.util.Properties;
System.out.println( System.getProperty( "java.class.path" ) );
is the 'class.path' key supported under j2me?
thanks,
tom arnall

Similar Messages

  • Problem with Refine Mask (Edge) Tool (+Refine Radius Brush)

    Hey all,
    I'm a teacher at Vancouver Film School in Canada.
    Having some major problems with the Refine Mask tool in Photoshop CS5 (+5.1)
    Especially when using the Decontaminate colours check box.
    it eliminates smart objects
    it leaves artifacting (especially in areas where I use the Refine Radius tool.) see posted image
    these are consistent problems.When I uncheck decontaminate colours, the artifacting doesn't happen and smart objects stay in tact.
    Is anyone else having problems with this?
    Also having this problem
    sometimes the radius will only increase INSIDE the selection  and not in the center like it should. This is the most frustrating  because it's not consistent but happened on 4 systems yesterday while teaching a class.

    Hi Notsosimpleton,
    You most likely already know this stuff.
    I have been experimenting with two images with Photoshop.  I agree that masking is a non destructive method of editing your image, but when you choose to use the decontaminate color option the refine edge feature automatically changes from new mask to new layer with mask indicating that the decontamination is destructive.
    Smart objects by there nature prevent pixel level modification. From my (general) understanding of the decontaminate color feature, Photoshop is attempting to replace edges which contain colors from the non selected area with colors from the selected area, in turn your smart object needs to be rasterized to allow this process to take place.  This then creates artificating because Photoshop is painting on to edges with color, leaving undesired rubbish around your selection. The majority of this is hidden by the mask.
    Changing your selection method or using clone stamp with the blend mode set to color and replace edges using selections from inside the selection area.  Affectively doing what Photoshop would do, but manually.
    I am not sure this really helps?, but I always try using other masking methods to achieve the result i.e. channels, paths.  I would be happy to experiment and share the results.

  • I have a problem with Google Android Emulator

    I have a problem with Google Android Emulator
    After I installed Google Android SDK, I've got a problem.
    When I created a virtual device and started it on emulator, it took a long time.
    And then I got error messages, one of them is com.google.android.phone is not responding.
    Has anyone experience like me?

    See: http://groups.google.com/group/android- … a3a33f182e
    http://groups.google.com/group/android- … 664c1f3b88
    http://code.google.com/p/android/issues/detail?id=138
    Good luck!

  • HELP!! Nokia's API classes not found with j2me WTK

    I setup j2me WTK, jdk1.4.2 and also Nokia's SDK (Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1) on my Win NT 4.0 machine.
    J2ME samples (shipped with it) are working fine with ktoolbar. but when i try to build & run nokia samples, they are always giving error "FullCanvas class not found" and "package com.nokia.lcd.ui.* not found". I am sure it is the problem of placement of classes of nokia at correct place inside j2me's WTK. However, i followed the guidelines to install symbian sdk inside wtk401\wtklib\devices folder (as per instructions of forum nokia). But i am still not able to get it running. Any expert suggestions, then plz respond me , i am in urgent need to solve this issue!!!! plz help me!!!!

    Hi,
    Maybe I'm being thick but I can't get this work. I've tried zipping the com/nokia stuff into the midpapi.zip. And I've tried just replacing midapi.zip with classes.zip from the nokia emulator. But it still says:
    "package nokia.mid.ui does not exist
    import nokia.mid.ui.*;"
    I'm using ktoolbar 1.04.
    Many thanks!
    CP
    Hey, thanks for the great tip. Was also using
    KToolbar because it runs faster on my slow laptop than
    Sun One studio.
    With the later version of WTK, the paths
    C:\...\WTK21\lib contains 2 files, midpapi20.zip and
    midpapi10.zip
    The later contains classes for compiling to MIDP1.0
    standard. I think most people use this. Replace it
    the class.zip in
    C:\Nokia\Devices\Nokia_7210_MIDP_SDK_v1_0\lib if
    you're using the same SDK as I am, and don't forget to
    rename it.
    Cheers.

  • Problems with J2ME and JAX-RPC

    Hi,
    I am trying to write a J2ME web service client. I have generated the stub classes with wscompile from the wsdl document at http://www.webservicex.net/stockquote.asmx?WSDL. However, when I try to run the MIDlet I always get the following error message:
    [wtkpreverify] Error preverifying class javax.xml.rpc.encoding.Serializer
    [wtkpreverify] java/lang/NoClassDefFoundError: java/io/Serializable
    I am using Eclipse 3.1, Antenna 0.9.13, the Web Service Development Kit 2.0 and the WTK 2.3 beta.
    The necessary jars (the WTK libs, rt.jar from the JRE, activation, mail, saaj and jax-rpc libraries from the WSDK) have been included in my classpath.
    Does anybody know how to fix this problem? Any help is much appreciated.
    Regards,
    Motivated

    Thanks, that was my mistake.
    Instead of using wscompile, you must generate the stub classes with the WTK. Then, you set a reference to the j2me-ws.jar (JSR-172). No additional libraries from the Web Service Development Kit are required.

  • Problem with align and Selection Tool.

    This is a weird problem which I cannot explain at all.
    I am using AI CS3 with Windows XP.
    I am having this completely random problem with the selection tool and align pallette I cannot explain.
    I have a group of objects and groups of objects I am trying to use the align pallette on.
    Sometimes when I select all of the items I want to align, either by shift-clicking each one, or by drag-selecting them I am getting a random behavior where sometimes the align button will move all of the objects COMPLETELY off of the artboard, all the way to the edge of the working area and beyond into the grey area you cannot see.
    Normally, this would be caused by a stray point somewhere way off-screen or some other cleanup oriented thing on my part. However in this case, the behavior is random and does not happen every time I hit the align button.
    Sometimes it takes items within my grouped objects (lines of text) and moves THEM completely off the work area, leaving the other items in the groups in place. Sometimes the bounding box when I drag-select the items will stretch extremely far off of the work area.
    I have even dragged the extra large bounding box, bringing the edge that was once way off screen onto the work area, in outline view, in hopes of finding the stray point or object that could be causing this. However NOTHING appears that can be causing the align to throw all of my objects off-screen.
    The random nature of this behavior and the way it sometimes affects my text objects inside of groups leads me to believe it is a program bug and nothing I am doing.
    The behavior takes place regardless if I select by dragging or by shift-clicking, and is happening in more than one file, also randomly.
    Also, choosing "align to art board" vs. "align to crop area" does nothing to change this behavior.
    It is quite irritating. I've been using illustrator since v.88 so I have enough experience to know this is not normal.
    Any help with this one would be greatly appreciated.

    When this behaviour occurs, are perhaps guides included in your selection?

  • Problems with the elliptical marquee tool in CS6/Mac

    I have CS6 and did the newest update yesterday. I'm working on Mac OS X 10.6.8. The problem is following:
    The elliptical tool doesn't function anymore correctly. If I want to make an ellipse or circle first it looks normal put if I let go the mouse, it changes the shape in another form like square. Who knows whats wrong or how I can handle this?
    Thanks in advance. Foto Pitt

    How/where do I have to save that?
    If you are quite new you may not have customized any Actions, Brushes etc.
    But if you have you should regularly save those from the Panels’ fly-out menus or Edit > Presets > Preset Manager.
    3rd party plug-ins deactivation -> How/where can I deactivate the plug-ins?
    Do you have any plug-ins installed that were not part of the original program installation?
    Boilerplate-text:
    As with all unexplainable Photoshop-problems you might try trashing the prefs (after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed) by keeping command-alt-shift pressed on starting the program or starting from a new user-account.
    System Maintenance (repairing permissions, purging PRAM, running cron-scripts, cleaning caches, etc.) might also be beneficial, Onyx has been recommended for such tasks.
    http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html
    Weeding out bad fonts never seems to be a bad idea, either. (Validate your fonts in Font Book and remove the bad ones.)
    http://helpx.adobe.com/photoshop/kb/troubleshoot-fonts-photoshop-cs5.html

  • Custom mySQL  - updating path / problem with pre-installed mySQL

    I've got a custom mySQL installation setup and humming along on a 10.6.4 server. The problem is although I've updated the paths to search on usr/local/mysql/bin, when I try to access by using the shortcut mysql i get this error: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' . To be clear, mySQL is working fine - it's just the shortcut that's not.
    This makes me think that the shell is looking first at the default [not enabled] apple mysql install. So something in my paths must be wiggy.
    I had this working perfectly on my 10.4 Xserve but the no one, I'm at a loss.
    Has anyone else run into this - any tips? I'm not going to be running the Apple install of mySQL.

    Actually, my problem is not with the socket location but with the data directory location. But I think is caused by the same path problem to data as yours was with socket. I have posted this question to the Mac OS X Technologies > Unix forum. If you could take a look, I would appreciate it.
    Thanks.

  • Problem with Oracle Security Developer Tools creating signed SAML Assertion

    Hi,
    I'm trying to use OSDT to create a signed SAML assertion.
    Basically, what I've done is to use the ST_Test.java sample and the SignXMLEnveloped.java sample together.
    This is just a proof-of-concept, so what I did was use the code from ST_Test.java to create the unsigned assertion, take the byte array that results, and use it in a ByteArrayInputStream feeding into slightly modified SignXMLEnveloped.java code.
    I was actually able to created a signed assertion, but the signature on the signed assertion does not validate.
    I think that the reason it doesn't validate is because the original code in SignXMLEnveloped.java sets the URI in the reference to "", whereas the reference should be to something like "XXXXXX", which is the "AssertionID" attribute on the Assertion element.
    However, if I modify the SignedXMLEnveloped code to do a setUri to "#XXXXXX", I get the following error:
    Exception in thread "main" oracle.security.xmlsec.dsig.SigningException: Cannot find node with @Id="theassertion"
         at oracle.security.xmlsec.dsig.XSSignature.sign(Unknown Source)
         at SignXMLEnveloped.main(SignXMLEnveloped.java:116)
    Caused by: oracle.security.xmlsec.dsig.ReferenceException: Cannot find node with @Id="theassertion"
         at oracle.security.xmlsec.dsig.ObjectReference.dereference(Unknown Source)
         at oracle.security.xmlsec.dsig.XSReference.getTBDData(Unknown Source)
         at oracle.security.xmlsec.dsig.XSReference.computeDigest(Unknown Source)About to sign the Assertion...
         at oracle.security.xmlsec.dsig.XSReference.computeDigest(Unknown Source)
         at oracle.security.xmlsec.dsig.ReferenceList.computeRefDigests(Unknown Source)
         ... 2 more
    I think I know what the problem may be, but I'm not sure how to workaround it. I have written some apps to do digital signature verification before, and I know that there is a problem with SAML 1.1 called the "idness" problem, where the "AssertionID" attribute is not an "id" type attribute in the schema. I have a feeling that I'm running into the same problem here, with OSDT.
    Has anyone been successful at doing something like this with OSDT? If so, how?
    Thanks,
    Jim

    Hi,
    I was able to past my original problem, and can now sign the assertion which has the AssertionID attribute. I had to set the SAML version to 1.1 using initialize().
    Unfortunately, when I run the resulting signed assertion through a signature validation, it is failing to verify.
    I'm not sure why, but it is failing when it tries to verify the hash/digest on the reference.
    I am using a separate application that I wrote that uses Java6 and the security API that Java6 has, and with debugging enabled, I can see the dereferenced data that is being fed into the digester, and that looks correct, but the calculated digest doesn't match what my OSDT-based application generated.
    Anyone have any idea about what the problem might be?
    Thanks,
    Jim

  • WTK SDK 3.0 for OSX problem with capturing audio, emulator

    Hello all,
    i'm installed the WTK SDK 3.0 for osx and everything works well. Some test applications also work.
    Now I'm trying to realize my project and get strange error.
    I want to capture some audio form the microphone. But when i do so the Emulator strikes with this error:
    javax.microedition.media.MediaException: Player cannot be created for capture://audio
    so i tried this: System.getProperty("supports.recording") and it returns false. But when i read over the specification of the WTK it says that it should support the Audio capturing. Is this error based on the implementation of the WTK on OSX or have some Windows users also the same problem?
    here is my implementation for the Audio recording:
    public void commandAction(Command comm, Displayable disp){
            if(comm==recordCommand){
                try{
                    p = Manager.createPlayer("capture://audio");
                    p.realize();
                    RecordControl rc = (RecordControl)p.getControl("RecordControl");
                    ByteArrayOutputStream output = new ByteArrayOutputStream();
                    rc.setRecordStream(output);
                    rc.startRecord();
                    p.start();
                    messageItem.setText("recording...");
                    Thread.currentThread().sleep(5000);
                    messageItem.setText("done!");
                    rc.commit();
                    recordedSoundArray = output.toByteArray();
                    p.close();
                } catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
                } catch (InterruptedException ie) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ie.toString());
            } else if(comm == playCommand) {
                try {
                    ByteArrayInputStream recordedInputStream = new ByteArrayInputStream
                          (recordedSoundArray);
                    Player p2 = Manager.createPlayer(recordedInputStream,"audio/basic");
                    p2.prefetch();
                    p2.start();
                }  catch (IOException ioe) {
                    errorItem.setLabel("Error");
                    errorItem.setText(ioe.toString());
                } catch (MediaException me) {
                    errorItem.setLabel("Error");
                    errorItem.setText(me.toString());
        any help would be grateful!
    thx and greetings
    Edited by: nYmou on Jun 1, 2010 3:44 AM

    Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.

  • Installing the POSE (Palm Emulator) to work with J2ME WTK 2.2

    Hello All-
    I am trying to install the PalmOS emulator from Palm's website and get it to pop up as a device in the K Toolbar. Although I have not had much luck thus far.
    I have downloaded the skins, emulator and ROM's from the PalmOS website and have unzipped them into the wtklib directory. Unfortunately I have not gotten this to work yet.
    If anyone has any ideas on how to install the POSE and get it to pull up as one of the devices in the K Toolbar, any help would be greatly appreciated.
    Thanx
    January

    Yes, ran the script to install.
    There is a link for "/usr/dt/config/Xsession.d/1200.WinLock" pointing to "/opt/SRSS-Addons/WinLock/1200.WinLock"
    But after I start a session, I do not see the utaction that calls the xvkbd process. I see other utactions as follows:
    (run as utku0) /opt/SUNWut/bin/utaction -t 300 -d /opt/SUNWvda/lib/vda-client -a cardRemoved -
    (run as root) /opt/SUNWut/bin/utaction -t 12000 -i -e -d /opt/SUNWkio/bin/kioskrestart || /op
    (run as utku0) /opt/SUNWut/bin/utaction -d /etc/opt/SUNWkio/sessions/vda/vda-cardremoved
    (run as root) /opt/SUNWut/bin/utaction -x /usr/lib/smartcard/pcscd -k -x :9 -P 3786
    Thanks!

  • Newbie problem with new objects and tools.

    in chapter 4 of the after effects essential training series from Lynda.com in the section about controlling animation with the pick whip. when he applies the null object the red bar immediately populates (correct usage?) the timeline to the right. when i apply the null object it's hidden to the left, under all the layer info, and i need to drag it out into view.
    ive found that whenever i have a problem, e.g., im using a tool and nothing is happening, it always comes down to this same thing: the layer is not with everything else and i need to drag it out into view.
    not only am i new to mac, but im only marginally literate and a total newb to anything more advanced than iphoto, any advice would be appreciated.

    Rick Gerard wrote:
    I'm not understanding what you are asking.
    If you have a layer in the timeline, a null, and the parenting column is visible you simply click on the pickwhip next to the layer and drag it to the name of the null layer. The Parenting box now says that Layer 1 is connected to Null 1.
    Now, when you move the null, the layer will move.
    i understand what they do and how to set them up.
    my question is more specific, but also applies more generally to other tools and layers. when Ian creates his null layer in the video (as well as other layers ive seen him create) the red bar that represents his null layer immediately appears in the timeline with the begining of the red bar at the left end of the work area. it is fully visible. when i create one the file shows up in the list of layers on the panel to the left of the time line, but it is not visible in the comp window and the red bar is hidden to the left side of the visible timeline to where you have to click its right end and drag it out from behind the panel on the left.
    this has happened with other layers ive created using other tools and before i figured out what to look for it was very frustrating. now, whenever i can't find something, or a tool that im using isnt doing anyhting (besides creating more and more layers) ive learned to look and see if theyre just hidden. it seems like it's probably a setting. but clearly, something is different: he creates a null layer and it appears in the timeline, and mine appear slid to the left.

  • Problem with Sun ONE Assembly Tools

    I try to start "Sun ONE Assembly Tools" but it gives me the error as the following:
    "Another copy of AssemblyTool maybe running with the same userdir.
    Please exit from previous session or remove the lock file."
    I used to run this tool before and it worked without any problem. But now it cannot run properly and there isn't have any running session.
    Please give me the suggestion of how to solve this problem and I'd like to know where is the lock file of this tool.
    Thanks very much...
    Worawisut

    I cannot wait for reply any more :-)
    I try to de compile "com.sun.enterprise.tools.deployment.main.DeployTool.class" in "appserv-assemblytool.jar"
    and see that when Assembly Tool start ,it will create filename "lock" in the folder "C:\Documents and Settings\<User>\.assemblytool".
    This file is used to lock the tool's session.
    I delete it and then run the tool again.
    Fortunately,it works fine.
    Thanks.

  • Problems with j2me gaming

    Hi guys. I need you to help me with this problem. I'm developing a j2me game using netbeans and the gamebuilder component. So everything it's ok, but the problems come when I charge the application into my cellphone. The first problem is on the collidesWith() method. In spite of the hero sprite and the enemy sprite are saperated from many pixels, the CollidesWith method fires by itself. As an example, the hero sprite is at the top of the screen and the enemy sprite is at the bottom of the screen, when the level begins, the collidesWith() method fires so the application show the game over screen as if the enemy touched the hero, which is not true.
    The second problem is that when I try to stop the threads. For example if the hero sprite dies, all of the threads which drives the enemies should stop, so the player needs to restart the level for try again the level. The problem is that when the levels restarts, some of the enemies doesn't move.
    Any of you know what the problem could be it?? I'll appreciate your quick answers. Thanks in advance.

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

  • Problems with the apache ij tool, encoding error?

    Hello
    I try running a method in the ij.class from within my application. I always receive an error, which I believe is to do with encoding.
    int i = org.apache.derby.tools.ij.runScript(getDatabase("test").getConnection(),
             in,"ASCII", System.out, "UTF8");gives me:
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.apache.derby.iapi.tools.i18n.LocalizedResource.getNewEncodedOutput(Ljava/io/OutputStream;Ljava/lang/String;)Lorg/apache/derby/iapi/tools/i18n/LocalizedOutput;
    at org.apache.derby.tools.ij.runScript(Unknown Source)
    The method getNewEncodedOutput() is not in the class specified, as indicated by the exception. However, I was hoping the problem was me not using the encoding correct. I have tried different comb. of "ASCII" and "UTF8".
    Regard
    Fluid

    Hello
    I try running a method in the ij.class from within my
    application. I always receive an error, which I
    believe is to do with encoding.
    int i =
    org.apache.derby.tools.ij.runScript(getDatabase("test"
    ).getConnection(),
    in,"ASCII", System.out, "UTF8");
    gives me:
    Exception in thread "AWT-EventQueue-0"
    java.lang.NoSuchMethodError:
    org.apache.derby.iapi.tools.i18n.LocalizedResource.get
    NewEncodedOutput(Ljava/io/OutputStream;Ljava/lang/Stri
    ng;)Lorg/apache/derby/iapi/tools/i18n/LocalizedOutput;
    at
    org.apache.derby.tools.ij.runScript(Unknown Source) The method getNewEncodedOutput() is not in the class
    specified, as indicated by the exception. However, I
    was hoping the problem was me not using the encoding
    correct. I have tried different comb. of "ASCII" and
    "UTF8". Yeah, mismatch.
    Alternatively, you could do away with ij if you are simply running a script. For example, if you had a script that looked like this:
    CREATE TABLE HOCKEY_TEAMS(
      TEAM_NAME  VARCHAR(30)  NOT NULL,
      CITY                 VARCHAR(50)
    )You could simply read this file, build a query and perform a statement.executeQuery(String query);good luck.

Maybe you are looking for

  • How to join internet on iMac G5 10.4

    I am trying to set up an iMac G5 10.4 to my wireless internet however, it is not capturing a wireless service.  Can anyone help?

  • Cannot add users to a mapped third party group

    Hi Experts, When i try to add my sap groups(SB1~100@xxxx) to my ad users iam getting error as "cannot add users to a mapped thirdparty group.Pls advice how can i add these groups

  • Asking for host string

    Hi, I have downloaded the Oracle 9i personal edition on a Windows98 system. When I am trying to run the sqlplus.exe file, it asks me for User ID,Passww, Host string. What host string am I supposed to give? Its a standalone application that I want to

  • Raw in fullscreen all blak

    I have a Nikon D50 camera and use iPhoto 6.0.5 to manage my NEF raw photos. The photos look great but the problem is that if I go fullscreen to edit a picture it goes black after a couple seconds or as soon as I click the picture. It only does this w

  • Matlab code for NI 4472

    Hi, Can anyone help me with Matlab code to stream data from NI 4472 board to disk. I am using an IEPE microphone, single board, 8 channels. Reju