Import, import, import... but how can i import my own libraries?

This is the case: i have a personal library, made by me. I jarred it and then i put it on a subdirectory named lib.
How can i import it on a new class file? Because import only loads libraries on the jdk directory and only in the format any.any.* Compile is not the problem, i set up classpath and no problem. But if i send my program to another person, it wont run because dont have the library.
And another question: can i put all the libraries in a jar file and the program read libraries IN the jar? So, how do i import it?

How can i import it on a new class file? Because
import only loads libraries on the jdk directory and
only in the format any.any.*Bad assumption. It will import anything in the classpath.
Compile is not the
problem, i set up classpath and no problem. But if i
send my program to another person, it wont run because
dont have the library. Well, gee, they need the jar too, don't they?
>
And another question: can i put all the libraries in a
jar file and the program read libraries IN the jar?
So, how do i import it?Jars cannot contain (ok, they can, but not without a custom classloader) other jars.

Similar Messages

  • How can I import UDOs data in earlier 2007 versions (before PL46)

    Hi Experts,
    I made an UIAPI AddOn that has several u201CChoose from listu201D (CFLs) and is working fine, In order to use CFLs I had to make an UDO.
    Mi problem is that my customer has SAP B1 PL42 and in this version the Data Transfer (DTW) cannot import UDOs data (this feature supposed to be available in the SP01PL06 version) and the DIAPI has no support to add UDOs rows (this feature is available from PL46).
    My question is, ¿How the old AddOns (PL42 and olders) that have CFLs did to import its data?, ¿How can I import UDOs data in PL42?
    Thanks

    Hi Mario,
    Unfortunately, there was no supported method for importing UDO data in versions prior to PL 46. The only option is to use the UDO form itself, within the SBO client, to load data. I have previously used the B1 Test Tools utility to load UDO data (which takes control of the UI so using it doesn't bypass SAP"s support rules) but it does take a bit of work to set up and you can't control the test tools through code.
    SAP don't allow the direct use of SQL statements on system tables. As all UDOs use system tables to some degree (ie ONNM etc), you can't use SQL statements to load data without breaching SAP's support rules and risking loss of support for your system.
    How much data is involved?
    Kind Regards,
    Owen

  • How can I import my mails from my google account into iCloud?

    Hello,
    my plan is to switch from google to iCloud with all my mails, contacts and calender. I think contacts and calender will not be the problem to import in iCloud but how can I realise the import of my mails?
    After the move I should be able to send emails with my gmail adress too. Hopefully it is possible.
    Thanks for your support, kind regards

    You cannot send using iCloud's outgoing server with anything other than your iCloud address as the 'From' address: and iCloud cannot access your Gmail messages, though you could set up forwarding at Gmail to iCloud if that's what you want to do.
    If you really want to upload messages to iCloud it's easiest to do this in the Mail application: simply select some of the messages (don't try to do a large number at once) and drag them to the iCloud mailbox you want them to land up in. Wait for them to upload - it could take some time - and don't try to do any more until the process has completed.

  • How can I import foto's incl. faces and places?

    I know how to import foto's from my MacBook to my iMac. But how can I import the foto's incl. faces and places?

    With the paid version of iPhoto Library Manager you can copy photos from LIbrary A to Library B and include exactly what you want:
    OT

  • How can I import photos from photo stream to windows photo gallery? These photos are not on the camera roll on my iPad but are from another iPad on the same iCloud account.

    I work at a Learning Center that has 12 iPads on the same iTunes and iCloud account.  Each classroom uses an iPad assigned to their room to take photos.  Each of these photos then shows up in the Photo Stream in all 11 of the other iPads.  I have no trouble importing photos that are in the Camera Roll of any individual iPad, but I have not been able to import photos from the Photo Stream if the picture was not taken on the specific iPad I am using.  It is not feasible for me to collect all 12 iPads everyday to import everyones photos, so how can I use one "master" iPad that will let me import photos from the Photo Stream since it has all the photos that everyone has taken? 

    You downloaded an iCloud backup to your PC?  I assume you mean you downloaded your photo stream to your PC.  What you may not know is that photo stream only keeps your photos for 30 days.  After that, they are deleted from photo stream but not from any device that already has them (such as your phone).  When you enabled photo stream on your PC you only had access to photos from the last 30 days since the others are no longer there, even though they remain on your phone.
    To transfer these to your computer at this point you have two options:
    Save them to the camera roll on your phone (by opening the my photo stream album, tap Edit, tap all the photos, tap Share, tap Save to Camera Roll.  (You can only import photos to your computer from the Camera Roll album.)  Then import them to your computer as described here: http://support.apple.com/kb/HT4083; or
    Use an app like PhotoSync, which can wirelessly transfer photos from any album between your devices/computers, including the my photo stream album.
    In the future, always import your photos from your camera roll to your computer via USB before deleting them.  Don't rely on photo stream or your iCloud backup to save your photos.

  • How can I import pictures from my iphone to PC which I imported to the iphone from another PC? The folder doesn't show on my computer. I see all other pictures I took with the phone but not the imported folder.

    How can I import pictures from my iphone to PC which I imported to the iphone from another PC? The folder doesn't show on my computer. I see all other pictures I took with the phone but not the imported folder.

    Photos that were synced from a computer won't show for copying to a computer. If you want to copy them back then you will need a third-party app on your phone such as Simple Transfer which can copy them off via your wifi network. But photos are 'optimised' when they are synced to a device, any that you then copy back to a computer may not be exactly the same as they originally were on your computer (e.g. their dimensions might be different and their colours may look a bit different).

  • How can I import a movie into iMovie 09 from a hard drive?  The movie will open and play in idvd but breaks into separate files that can't be downloaded when I try to import.  Can it be done?

    How can I import a movie into iMovie 09 from a hard drive?  The movie will open and play in idvd but breaks into separate files that can't be downloaded when I try to import.  Can it be done? I am trying to create a disc of player highlights for a collegiate coach, and I am using movie files downloaded to my hard drive from a DVD created on a PC. 

    No unfortunately it won't open in quicktime either.  It does the same thing that Imovie does, separates it into two file folders audio and video, and if i select video it opens to reveal 8 files that cannot be selected.  VIDEO_TS.BUP, VIDEO_TS.IFO, VIDEO_TS.VOB,VTS_01_0.BUP, VTS_01_0.IFO, VTS_01_1.VOB, VTS_01_2.VB, VTS_01_3.VOB.  All of which cannot be opened or selected.
    Opening it in Idvd and folllowing your suggestion works and I get a format code of NTSC.  Is that the same?  Thank you for your time and response.
    CaCanuck

  • TS4147 My contacts from iphone were deleted by mistake, but I found them saved in may icloud account, on a PC. Now how can I import all may contacts back to myu iphone?

    My contacts from iphone were deleted by mistake, but I found them saved in may icloud account, on a PC. Now how can I import all may contacts back to myu iphone?

    Do you mean they are on the web at iCloud.com or on your PC in an iCloud client (such as Outlook)

  • I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    at the end, you say "import preferences", which program are you describing?
    So im safer using footage that is remotely being pulled from iphoto...
    vs
    using footage that is imported into FCP from imovie?
    Is there anything i can do in fcp to make this footage more reliable or safer or more stable as i pull remotely from iphoto?
    All the footage, and all the libraries to all programs, or on a new pegasus 12tb raid 5 setup fyi.

  • How can I import not only apps from the old iphone to the new iphone, but also the content of the apps?

    How can I import not only apps from the old iphone to the new iphone, but also the content of the apps?

    You can sync apps as you normally would, but I do not believe this copies over app specifc data (i.e. saved game status/scores).
    You can always restore your new device with a backup from your old device.

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

  • I cannot import music I bought from another site into iTunes.  The files are there but they won't import into Itunes.  How can I fix this?  Thanks!

    I cannot import music I bought from another site into iTunes.  The files are there but they won't import into Itunes.  How can I fix this?  Thanks

    What format are they in?
    What happens when you try?
    Have you tried placing a copy in the Automatically add to iTunes folder?
    tt2

  • Hi there , i wanna ask how can i import my bookmark after format ? i've a back up in time meachin but where should i go to get mu old book mark ??

    hi there , i wanna ask how can i import my bookmark after format ? i've a back up in time machine but where should i go to get my old book mark ??
    plz help

    See:
    *https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • HT4489 please i need to know how can i import my contacts from the pc saved as vcard i tried to import but it gives me an error

    please i need to know how can i import my contacts from the pc saved as vcard? i tried to import a vcard contact but it gives me an error

    Time Machine is a back up you have to set up to back up before there is a problem like a hard drive failure.
    It is possible to recover files from a failed drive, but it is an expensive proposition.
    There is a faint hope that an app like Disk Warrior or TechTool Pro might repair the drive. You could try making an appointment at an Apple store and ask a technician there to take a look... the diagnosis will not cost you.
    http://www.apple.com/retail/geniusbar/

  • Imovie09 copies videos but doesn't import. how can I import my videos into imovie?

    imovie09 copies videos but doesn't import. how can I import my videos into imovie?

    Can you tell us what you actually mean by "iMovie09 copies videos but doesn't import"?
    If you have got your video into iMovie then it has imported it.Are you able to see your video in the Event Browser?

Maybe you are looking for