Using external libs with SunToolKit Fails.

I am trying to compile an external class in J2ME SunToolKit.
This is what I have done. My class is in:
net.test.myClass.class
I preverify the class. This workd fine.
Then I create a zip file with the preverify class and add the zip file to the lib folder in my app folder created by the tool kit. Just as the user guide says.
Then I try to build my application which uses this class. I get a :
JAR file creation failed with error -1
The preverified classes if any are in tmpdir.
com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
Build failed
Now I notice that if I try to run preverify directly from the command line on the zip file I created I get the same error.
What is the problem. Is there a step I am missing.
Note I do not have a manifest file in my zip.
Also I am using the latest version of all the software
JRE 1.3_02
SDK 1.3_02
and Wireless ToolKit 1.3
Please help. I can not figure out a way to solve this problem.

No not at all. I made sure of that.
As a matter of fact I got things to compile and preverify fine when I do it outside the toolkit (commandline) I only see this problem with the toolkit. I am using version 1.3.

Similar Messages

  • Using external libraries with Developer Studio 7.1 Composition Environment

    Hi,
    I downloaded DS 7.1 CE and tried to develop a simple application which uses an external library.
    I created a development component for "external library" for the local development -> MyComponent, giving it the name "test2" (for the domain basis).
    I imported the external library file using Import -> File System , then selecting the .jar file.
    In the component properties browser I added a public part naming it "mylib2" setting the purpose to "ASSEMBLY" (my intention was that the libarry will be transferred during the deployment to the application server).
    I right clicked on the public part to "managed entities". I selected the archive tree and checked the library file shown there (the one I imported before). #
    Then I opended component properties of my web dynpro project and clicked on "Dependencies". The I chose "Add..." and selected the "test2" development component I created before (see above).
    Then I tried to deploy the project (which uses this external library) using "Deploy Archive and Run"
    After deployment the browser window opens and shows the ClassNotFoundException
    So what did I oversee or do wrong?
    BTW: Is it necessary for using external libraries to use a full fletched NWDI? Or can I use external libs also with netweaver development environments freely available for download on sdn.sap.com?
    Any hints?
    Thanks a lot
    Hannes

    Hannes,
    If you want to use external libraries with DCs then you should follow the NWDI completely.
    Check this step, otheways of using external libraries is mentioned <a href="http://help.sap.com/saphelp_nw70/helpdata/en/e3/de813e77d46245e10000000a114084/frameset.htm">here.</a>
    Regards
    Abhilash

  • Can we use external drive with ipad air

    can we use external drive with ipad air?

    There are some wifi-enabled drives that allow you to stream content (music, films, tv programmes) to an iPad, but you can't directly connect one to an iPad.

  • Can I use external speakers with the iPad when using Facetime?

    Can I use external speakers with the iPad when using Facetime?  How do I do that?

    They have to be either plugged in via headphone jack or the dock port at the bottom. If you can. I've used it on apple tv, but that's it. I don't know if the others work, but I don't see why not. Try plugging in speakers in the headphone jack. You will get an answer :)

  • Using external Jar with a mobile application

    Hi folks!
       I need some help with my application, i make a simple mobile application and i need to use a external jar, in this case, this jar have a simple JAVA class that represents a manipulation with eSWT, so my problem is How to using external Jar in NetWeaver 7.1?
       I see other threads that have a same doubts, but i don´t have a solution for my problem.
       Thats it.

    Hi Sivakumar,
    I have similar problem. i want use iText or similar jar files to create pdf. I have currently developed a UI component for handheld. I have dont the following things:
    1)Created a external dc of type external library
    2) addedd the jar in the build path
    3) added the jar in the lib folder of the webdynpro project
    4) added the external jar dc as dependency in my webdynpro project
    I am getting no class def found eror still for some wierd reason. please let me know if some step is missing. I have pasted the trace.
    rror starting the framework
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: com/cete/dynamicpdf/Font
         at com.sap.demo.testui.testapp.comp.SignatureStandard.runApps(SignatureStandard.java:88)
         at com.sap.demo.testui.testapp.comp.TestCompView.wdDoInit(TestCompView.java:85)
         at com.sap.tc.mobile.wdlite.progmodel.core.Controller.enter(Controller.java:21)
         at com.sap.tc.mobile.wdlite.progmodel.core.View.enter(View.java:45)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrentView(Application.java:133)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.navigate(Application.java:169)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:19)
         at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.setCurrentApplication(WDLite.java:148)
         at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:80)
         at com.sap.tc.mobile.wdlite.container.ContainerApp.startApp(ContainerApp.java:171)
         at com.sap.tc.mobile.wdlite.container.AppMenuView.onActionLaunchApp(AppMenuView.java:325)
         at com.sap.tc.mobile.wdlite.container.AppMenuView.invokeEventHandler(AppMenuView.java:368)
         at com.sap.tc.mobile.wdlite.progmodel.core.AbstractViewElement.doHandleEvent(AbstractViewElement.java:199)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement.doHandleEvent(UIElement.java:369)
         at com.sap.tc.mobile.wdlite.renderer.api.UIImageButton.mouseReleased(UIImageButton.java:148)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement.dispatchMouseReleasedWidgetEvent(UIElement.java:412)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement$1.mouseReleased(UIElement.java:455)
         at com.sap.tc.mobile.wdlite.renderer.swt.MouseEventDispatcher.mouseUp(SWTControl.java:380)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)

  • Possible to use external HD with 2 machines?

    Aloha all, I have been using an external HD with my MacBook to store librarys for iPhoto, & Aperture. It has worked great, but today I hit a snag. I cannot get the drive to show up when I plug it into my G5. I would like to be able to use it with both.

    Do you have a LAN that you can connect the two Macs to? If so then log into the MacBook from the G5 and select the external HD. That will let you access any of the libraries on the external HD. Just be sure to set the ownership of the external HD to be ignored as seen here.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • How can I use external tables with directories not on Oracle host?

    Oracle 11.2.0.2
    We have developers using C# to populate global temporary tables (two one header and detail with 1 to many relationbship between these two tables). The process of using C# was blowing up memory on Windows.
    As an alternative I requested them to create two CSV files and I can use sqlldr to load the detail CSV file of over 1 million rows under 15 seconds. It came to my mind that I could use external tables for this purpose with getting read of header and trailer from the CSV files.
    The issue I have is that I am not a DBA so I do not have access to OS host that Oracle instance is running. sqlldr is a client side tool, whereas external tables are server side. I was wondering if there is an alternative in 11g to use external tables without creating directories on the OS host that Oracle runs on? Are there other alternatives?
    Thanks

    905989 wrote:
    Oracle 11.2.0.2
    We have developers using C# to populate global temporary tables (two one header and detail with 1 to many relationbship between these two tables). The process of using C# was blowing up memory on Windows.
    As an alternative I requested them to create two CSV files and I can use sqlldr to load the detail CSV file of over 1 million rows under 15 seconds. It came to my mind that I could use external tables for this purpose with getting read of header and trailer from the CSV files.
    The issue I have is that I am not a DBA so I do not have access to OS host that Oracle instance is running. sqlldr is a client side tool, whereas external tables are server side. I was wondering if there is an alternative in 11g to use external tables without creating directories on the OS host that Oracle runs on? Are there other alternatives?
    Thanks
    no other alternative

  • Using External iSight with MacBook Pro / iMac.

    Posted in both forums.
    Internal iSight is great, but the external iSight offers so much more flexability, and been able to position the camera where you want it is much better than tilting the screen and moving the computer.
    So can you use external camera's with the MacBook Pro's and iMac's?
    *nathan

    Great! Thats awesome.
    Have you tried it? If so, does the Mac automaticlly switch to the external iSight, or do you get an option to choose between internal and external.
    Thanks,
    *nathan

  • Using External Effects with Logic

    I'm about to purchase Logic 9, and also need an Audio Interface. 
    I've got a Korg MicroKorg, which I intend to line-in for its own synth functionality.  I also intend to use it as a midi control surface to use percussion, etc., in Logic.  How would this work with external effects?
    If I create a drum track in Logic, I'd like to do things like run that track through pedals like an EHX Flanger Hoax (I realize sound quality may vary, given that this is a guitar effect). 
    How what I do that, and what would I need to look for in an Audio Interface to allow me to get the audio out of Logic, through the pedal, and back into Logic?
    Thx.

    I think I understand you - you have a choice of Firewire or USB connected devices - Firewire devices are faster and generally more reliable and can handle a larger bandwidth, so if you're planning on recording numerous inputs, for example, this will matter. However, USB devices are pretty good on the whole - I'm using a simple Apogee One at the moment, which is perfectly adequate for my purposes, but my earlier point was that it obviously wouldn't be any good for using external effects since you're going to need to send a signal out from Logic (maybe via a Bus/Auxiliary) to your effects device and then return it back into Logic, so you need an interface with enough inputs and outputs to be able to do that. You might want to have other outboard gear permanently connected for convenience, so only you can work out how many inputs and outputs you'll need and obviously, the bigger the requirement, the more expensive it will be. You'll have to do some Googling to give you an idea - Apogee, Focusrite and MOTU are good starting points, in my opinion but there's a vast range (I'd avoid MAudio)
    http://www.google.co.uk/#hl=en&gs_nf=1&cp=22&gs_id=2g&xhr=t&q=audio+interfaces+f or+mac&pf=p&sclient=psy-ab&oq=audio+intefaces+for+ma&gs_l=&pbx=1&bav=on.2,or.r_g c.r_pw.r_qf.,cf.osb&fp=426f61de939593dc&biw=1231&bih=579
    Another point I was trying to make earlier is that Logic includes such a large range of effects to choose from (the Pedalboard is an emulation of various fx pedals which you can swop around) that you may find you can get the kind of sounds you want 'in the box' - so that's well worth a try first.

  • Using external drives with OS X Server

    Is it possible to use external firewire hard drives the same way that I would use an internal. I am asking this because we have 3 of them with 250Gb each. I would use them to increase the storage of a server, which would lower the cost of one and make it much more possible to buy. The drives wouldn't be removed and I would like to be able to apply security settings to control access to them. They can be easily formatted with the approperiate OS X file system.

    It wasn't that I thought I couldn't use them I just need to know if I can put a user's home directory on there and have users save to them across the network. Can I in fact do this. A couple of people I have talked to about doing this had mixed thought so I figured I'd throw to you guys.

  • System hangs after using external display with lid closed

    I often use my MBP with the lid closed with an external display and Bluetooth mouse and keyboard. When done in this mode, I put the system to sleep using the apple menu, then disconnect the monitor. I found some info on the apple site explaining that this was the recommended procedure for exiting the lid-closed mode.
    However, sometimes the system doesn't go to sleep. Opening the lid, the LED goes out, but the display remains off. If I then try reconnecting the external monitor, nothing happens. It appears that it has gone into some mode where it is active, but no displays are enabled. My only resource at this point is to power the system off and back on, at which point everything is ok.
    I'm wondering if turning off my bluetooth devices after selecting the sleep menu item is causing the system to reawaken at a bad time, causing this state to occur.
    I have also run into problems when connecting an external projection monitor. On several occassions I have connected the external display adapter before turning on the projector, or before connecting it to the adapter, and the system locked-up hard (no mouse movement, etc). My only recourse was hard power off.
    Any ideas? Is this a broken system or are these known OSX or MBP issues?

    Try SleepLess…
    http://www.versiontracker.com/dyn/moreinfo/macosx/17893
    … or InsomniaX…
    http://www.versiontracker.com/dyn/moreinfo/macosx/30315

  • Using external SuperDrive with 2011 Mini

    Hi,
    I have one of the new Mac Minis which comes without an optical drive. however, I do have a USB SuperDrive which I bought for my 2010 MacBook Air. If I plug the drive into the Mini and then insert a prerecorded or blank disk, it is recognised perfectly. Blank disks open the Remote Disc folder (wherever that is), but I can't drop files into the folder for burning. If I try, I get a pop-up message 'The item FILENAME can't be moved because "Remote Disc" can't be modified.' The Remote Disc icon also doesn't have a burn button
    On my Air, using the SuperDrive with a blank disk, Finder allows me to drop files into a folder and to press the Burn button to finalise the disk.
    So does anyone know if I can get the Mac Mini to treat the SuperDrive in the same way as the Air? Or is there some way of setting up the Remote Disc to use the SuperDrive?
    I can write the files using Toast, but I'd prefer to use Finder wherever possible.
    Many thanks,
    Mike.

    i have a dell monitor also. 1901fp is the model number. it uses the dvi-d single link connector. i'm having problems finding a miniport to dvi-d single link connector. any suggestions?
    or do i have to find an adapter to adapt the single link to dual link first?
    i should have know this wasn't going to be easy!
    thanks,

  • Using External monitor with DVI kills wireless connectivity

    I recently purchased a BenQ G2400WD 24" 1920x1200 monitor, for use with my May 2007 GMA 950 2.0Ghz. Macbook.
    Upon receiving the monitor, I immediately plugged it in to my Macbook, using the Mini-DV to VGA adaptor I already had, for use with projectors. The monitor was good, but a bit blurry and not too sharp, due to the analog signal. So I ordered a Mini-DVI to DVI adaptor. When it arrived, the improved picture quality was immediately apparent.
    However, as time went on, I noticed my wireless connectivity was getting terrible. Extremely slow Safari page load times, and upon going to Terminal and pinging my router, I would often get response times of 21000 milliseconds, or worse! I did a lot of research, on router firmware, on wireless connectivity, etc., but to no prevail. Then, on a whim, while continually pinging my router, I removed the DVI adaptor from my monitor. The ping instantly dropped from tens of full seconds to just a stable 0.4 milliseconds! Using my VGA connection resulted in no worse wireless connectivity than without it, but upon plugging in DVI and stressing the connection a bit (i.e. downloading a large file), the connection went bonkers. The pings also immediately jump from 0.4 milliseconds to a range of 1-4 milliseconds, regardless of any "stressing".
    I have done numerous research, including searching both here and on other discussion forums. It appears this problem with DVI connection is fairly common, but with no resolution so far. Any help would be great!
    A few important notes:
    -Both ends of both my VGA cable and my DVI cable are shielded.
    -I have tried numerous channel changes of my router, to no prevail.
    -While using DVI, EVERYTHING works well except the wireless. So the monitor isn't too demanding for my computer.
    And I hope my thorough post didn't scare you away!

    I have this same issue with the dvi and wireless disconnect. I am using a samsung 214T. I am glad to know i am not the only one seeing this, because it is kind of one of those things that is hard to believe. Anyway, I am also curious what kind of routers people have who are experiencing this issue. I am using a wrt54GL with tomato firmware.
    Also, In addition to the disconnect, my picture quality on my monitor gradually degrades over time...starting with what looks like snow flecks. After waking from screen saver, sometimes it is full static. Turning off and turning back on the monitor clears the static away.
    I can use another samsung 19in monitor with dvi without any problems.

  • Using external drive with iMac as startup

    I have an iMac that the hard drive is failing thus I purchased an external drive to use as a startup up drive connected to the iMac.  How reliable is this setup and what are the cons/pros in operating this way?

    Assuming you bought a FW800 drive the performance should be OK, not as good as your old internal HD but useable. If you bought a USB drive the performance is going to be very slow. As far as reliability it should be fine assuming you bought a decent quality HD. However why not just get the internal HD replaced? If you decide to move forward with the external HD after you install OS X onto it don't forget to make sure it's set as your Startup drive in System Preferences.

  • Can i use external drive with pc and mac??? files be recognised by both??

    hi
    i have two external hard drives, with stuff from my pc on them.
    can i plug them into my macbook? and just copy files?
    usb hard drives.
    one i think is one or the other, mac or pc, not both at same time, unless i partition and format i think. maybe the other one too.
    i have a 8gb file on my pc, im trying to get into my macbook.
    how can i???
    i have a 160gb ipod, its only 30gb full, and pc says not enough space on it.
    why is this???? the file is only 8gb......and theres over 100gb free on my ipod.
    anyone help?
    cheers

    If your iPod is formatted FAT32 there is a 4 GB file size limit. Obviously an 8 GB file exceeds the limit.
    In order to use any drive on both a Mac and a PC with full read/write capability the drive must be formatted MS-DOS (FAT16 or FAT32.) A drive formatted NTFS is read-only on a Mac unless you use third-party software such as MacFuse with NTFS-3G or Paragon NTFS.

Maybe you are looking for

  • So sick of having Java problems on my Macbook Pro

    I have problems with Java with every single browser on my mac. I have tried 6 different browsers and I cannot run any Java applications on any of the browsers. Every single time I open RuneScape or Minecraft, there is just a black screen. I can't eve

  • Transferring Files from a PC to my new Macbook

    Hi Everyone, I just bought a new Macbook and am waiting for it to be delivered. All I want to transfer from my old PC are my photos, videos and music files. I was using an external hard drive with my old PC, is it as easy as transferring those files

  • How to use loop in RuleBase

    Hi, I have a scenario where i have a set of values(say 10) and i need to verify if 2 of them are same. How can i write rule around this scenario? Please help me!! Thanks.

  • Adding 2nd hard drive(IDE 40gig)  to B&W G3 w/ 9gig SCSI drive

    Recently got a 450 B&W G3 with a 9gig SCSI ultra something drive in it already and i would like to add a 40gig IDE drive as a second. the scsi drive is hooked through a scsi card and is the main drive. i want to just add the second drive for more sto

  • Invoice as PDF to be sent to Customer

    Hi, I have a requirement, wherein after the billing document is saved the output has to be generated and immediately sent to customer as PDF file. I know that this is not a standard functionality of SAP, but can be achieved thru custom developments.