Jar doesn't recognize another jar

Hi I packed my java class and additional files into a jar file, using the eclipse.
The class I packed uses another jar file. it works fine.
the problem is with my new jar that I created, since it doesn't recognize the other jar that the class uses and can't use it,
Although I included the other jar in my class path in the eclipse.
i don't know how to make that the new jar will know the other jar.
thanks.

gimbal2 wrote:
...Jar files have their own classpath that you cannot override. ...Since you have provided the correct strategy to pursue in this instance, I will simply point out (OP please stop reading ..now!) that it is possible to side step the default behaviour of the -jar option by not including that option when starting an app.
E.G.
prompt:java -jar main.jar
NoClassDefFoundError Other.class
prompt:java -cp main.jar;other.jar com.our.main
Other.class processing..

Similar Messages

  • Itunes works for 1 Ipod, doesn't recognize another Ipod

    My nephew has an Ipod touch, and it is not being recognized by Itunes. I have an Ipod touch and when connecting it to his computer, it is recognized. I've gone through the steps and tips available on the support page, but I am not sure what else to do. I am guessing the problem is not with Itunes since it recognizes other Ipods. The closest Apple store is 3 hours away. Any suggestions???

    I used 2002 outlook and my IPHONE would not sync my contacts or calendar even from the start, so I moved my contacts to outlook express. It synce fine with express. I also upgraded to the lastest itunes before I sync'd my phone. Ive read that the sync program and iphone are only compatiable with outlook 2003, 2007 and yahoo.
    If you can get 2002 to work let me know because express has no calender and I really need that, I may have to buy 2007 soon, just for the calender

  • I am trying to sync an old ipod nano (2nd generation) to my itunes on a windows pc but the itunes doesn't recognize the nano and says that it is synced with another computer. Unfortunately, I don't have the old computer now. How do I sync this nano to itu

    I am trying to sync an old ipod nano (2nd generation) to my itunes on a windows pc but the itunes doesn't recognize the nano and says that it is synced with another  computer. Unfortunately, I don't have the old computer now. How do I sync this nano to itunes ?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • The system doesn't recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of

    The system doesn’t recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of highlighting it as incorrectly is this is a word that’s being misspelled. Can Apple fix this bug to make it user friendly as if you were using Office or a Word Document?

    You hit the target CT.
    It’s only fair that if Apple is going to integrate Mail into Mac PCs, it would be nice if the system does it for you like Office or perhaps Outlook. I just don’t to use Outlook although I have it installed and ready to use, but instead use Mail which comes with Mac OS already.
    I hope to make some sense here.

  • I have an 11" MacBook Air.  When I plug in my VGA adapter to my Thunderbolt port, the computer doesn't recognize it ... unless I reboot the computer.  Is there another way to get the computer to recognize the adapter?  (It works with my MacBook Pro)

    I have an 11" MacBook Air.  When I plug in my VGA adapter to my Thunderbolt port, the computer doesn't recognize it ... unless I reboot the computer.  Is there another way to get the computer to recognize the adapter?  (It works with my MacBook Pro)

    Thanks for the useful feedback, Knucklesmac. I agree. I must have blown something on the logic board -- because I had a faulty old KVM switch that would not switch between computers without some nasty hot-plugging/unplugging the VGA video cables. (wince!). It's like when Dizzy Dean ruined his arm because a line drive hit him in the foot and he readjusted his mechanics around the injury. I take the blame because this has been a great computer, and does not deserve any blame.
    If it will help anyone else reading this thread, C2G (née Cables to Go) has some interesting ideas for still getting external video out of this computer:
    -USB-to-VGA
    http://www.cablestogo.com/product/30545
    -Convert s-video or composite video signals to high resolution VGA
    http://www.cablestogo.com/product/40971
    The price range is $75-$85, which doesn't make horse sense to me for such an old computer -- which has a lot of life in it anyway, because its own 15" monitor is not chopped liver.
    el7

  • I am not able to mail the photos from iPhoto.  Its always saying that the email address it's not recognized.  Another situation is that when I try to add my me account in the preferences account, doesn't recognize my @me password. Tks for any help! :-)

    I am not able to mail the photos from iPhoto.  Its always saying that the email address it's not recognized.  Another situation is that when I try to add my me account in the preferences account, doesn't recognize my @me password. Tks for any help! :-)

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • I had to reinstall ADE on another computer.  Now it doesn't recognize my Sony eReader

    I had to reinstall ADE on another computer.  Now it doesn't recognize my Sony eReader.  How do I get it to recognize it?  Do I need to "unauthorize" my ADE id on the 1st device?  Is that the problem?  How the hell do you talk to a live body at Adobe?  This is ridiculous.
    Ted

    Hello -  the chat service for ADE helped me find an answer.  With Sony ereaders, you always need to have the Sony reader app installed on the same machine as ADE.  There are some drivers installed with the Sony reader app that are needed.  Since I did that, ADE now acknowledges my Sony PRS-350. 
    Here is a link:  https://ebookstore.sony.com/download/
    The chat line was very helpful with this; they tell me you cannot call in to get ADE support -  you can only use the chat box.
    Ted

  • Forte doesn't recognize classes are compiled

    In the Sun One Studio 4 Update 1 IDE, my Java source files are displayed in the Explorer window with the uncompiled badge icons next to them, even though the classes are already compiled. If I select a file to compile it, the IDE will compile it, and put the compiled class in the target directory correctly. But the uncompiled icon is still displayed. If I select the file again and compile, the IDE compiles it again, instead of giving me the message that the file is up to date.
    Has anyone seen this problem?

    Add the output dir to classpath.Did you ever use forte? It doesn't recognize classpath. It looks at the mounted directories and jars instead. And I do have the output dir mounted - otherwise, the compiler couldn't put the compiled classes in the right place.

  • Itunes 10.6 doesn't recognize my iphone 4s 32gb, could you please help me?

    I bought an iPhone 4s 32gb from Singapore. I'm living in Chennai, India. To connect it to my computer (windows XP,), I have downloaded iTunes 10.6.1.7. Unfortunately iTunes is not recognizing my iPhone.  I had tried to troubleshoot it by reinstalling iTunes (2 times). I have restarted the apple mobile device from control panel. I try connecting my iphone in another usb port. but no use. I don't know what am I missing?.  iTunes opens on my computer. but doesn't recognize my device. when I click on help. it says an "unknown error has occurred. your computer is not connected to internet. please check your internet connection and try again later". I don't know what to do? could you please help me? thank you so much for your help and time.
    I did the apple's diagnostics test on my computer. I'm pasting the result for your info.
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    System manufacturer System Product Name
    iTunes 10.6.1.7
    QuickTime not available
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0013AC2C0E8DEF50
    Current user is an administrator.
    The current local date and time is 2012-06-12 20:13:12.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel(R) G41 Express Chipset
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {D85300A1-330D-41ED-AC5A-EC032B22FBF0}
    Description:            Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.3
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Tue Jun 12 19:48:36 2012
    Lease Expires:       Wed Jun 13 07:48:36 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    iTunes has never successfully accessed the iTunes Store.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    G: Optiarc DVD RW AD-7220A, Rev 1.01
    Drive is empty.
    **** Device Connectivity Tests ****
    iPodService 10.6.1.7 is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) N10/ICH7 Family USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    Well, you do not mention what computer OS you are using, so here are the support documents for both.
    Windows:     http://support.apple.com/kb/TS1538
    OS X:     http://support.apple.com/kb/TS1591

  • Have problem setting Email alerts for Calendar events. Warning message says I need to set up a card in Contacts with my email. I do but it doesn't recognize it. How do I indicate the email I want alerts sent to?

    The system of setting up email alerts for Calendar events worked fine in Snow Leopard but since I upgraded to Mt. Lion Calendar won't let me set email alerts. When I try, I get an error message saying I need to set up a card in Contacts for my email. I have a card set up in Contacts for both of my email addresses but it doesn't recognize them. Perhaps the name I have on the card doesn't match a name that Calendar is looking for. Calendar doesn't seem to have a way in Preferences or elsewhere to indicate the email I want alerts sent to. Any ideas how I can get this system working again? Thanks for your help.

    You might want to consider starting a new discussion. Since this one is marked solved, less people are likely to look at it. You can link to this one.
    See if another contact is marked as this is my card.

  • Imported photo's from computer, via Itunes, to iphone, now itunes can't find the folder with original pictures from Iphone or doesn't recognize it.

    Dear reader,
    i just bought a new Iphone 5s, and decided to download Itunes and sync my Iphone with my laptop. Everyting went well until i decided to try out some things and i imported pictures via Itunes from laptop to Iphone. this is how i did it: Itunes - iphone - pictures - pictures synchronized from 'option choose map' - I chose another map - after, i 'ticked' box 'all maps'. Then i hit the button 'synchronize'. I forgot to look how the orignal map was called and this was the one Itunes syncronised autmatically with, that one also contaned all the original pictures on my Iphone. So, after putting some new photo's on my Iphone, i wanted to change the settings back to normal so my Itunes and Iphone could sync iphone pictures again. But I can't find the old map back or Itunes doesn't recognize the map. I already tried to use the map 'Ipod Photo Cache' but it shows only empty folders. I also tried computer - iphone - Internal storage or DCIM or 860OKMZO; No idea what that means but i thought that the last two folders can contain pictures. However, i get an error if select these ones a map in Itunes. How do I get back to the old settings again?
    I hope I described the problem well; English is not my native language so i'm sure this might contain grammar mistakes.
    A big 'thank you' for helping me in advance!

    When i connected the iphone to my laptop, i found the location of the pictures on the iphone; the a map called  '860OKMZO' (i've mentioned this map earlier, this folder is located inside the folder DCIM). But if i try to open it with Itunes, this error comes up: 'foldername is invalid'. I figured that Itunes could have saved the synchronised pictures in another map somewhere else but i've found nothing... 

  • My Ipod Touch Won't Charge Properly and My Laptop doesn't recognize it.

    Everything was fine until this morning.
    I was charging my iPod Touch while my daughter and I were playing with it. Since I have to do some errands, I removed the charger even though the battery was not yet full. I did played a bit, even took some photos. After an hour or so I decided to plug in the charger again. I was waiting for the BEEP sound it does whenever it charges, but it didn't make any beep sound nor the battery display didn't turned green. I tried plugging it on my laptop, and my laptop just gives me a message saying it doesn't recognize the device. So I went to borrow my mom's speaker (she have an iPhone and charges it using a speaker for iPhones/iPods since her own charger is broken), it still doesn't charge but when I play music on my pod, the speaker reads it. So I tried turning off then turning on my iPod, same thing happens, still not charging. So I asked my brother about it, he said I should try pressing the home button and power button for 10 secs til the Apple logo appears while charger is plugged. So I did, then VOILA... the much awaited BEEP sound and the green battery.. IT IS CHARGING!!!... so I left it for like two hours, expecting the battery would be full (waiting for the plug icon on the battery)... but all I got is like a 99% green. So I left it charging for 10 more minutes. Still the same after ten minutes, and gave it another ten minutes, still the same again. So I unplugged the charger and replug it again... I went back to NO BEEP, NO GREEN BATTERY CHARGING SIGN. I did the hold for ten seconds home and power button til the Apple logo appears, there goes again the beep and the green battery. I checked it again... it seems like I need to do the ten seconds home and power button press every time I plug in the charger.
    Now I tried it on my laptop, same troubleshoot, but this time, it didn't give a beep sound nor a green battery sign. My laptop still doesn't recognize the device. I dunno what to do. Please help me. It's really frustrating me. I tried looking for answers online but only got the same troubleshooting I did.

    I tried this just now, my iPod did showed a
    but my computer show a

  • Itunes (10.6.3) doesn't recognize my Iphone 5 (iOS6). Can somebody help me? thanks!

    itunes (10.6.3) doesn't recognize my Iphone 5 (iOS6). Can somebody please help me?
    I have a Macbook with the latest version of Itunes (10.6.3) and I just bought the new Iphone 5 with the latest operating system on my iphone (iOS 6)
    I'm from Amsterdam, The Netherlands.
    I already tried another USB-portal. I tried restarting my macbook.....what could be the problem?
    I hope to hear from you...
    Thanks!

    ok believe it or not....but I found the answer and everything works now!!!:
    Once again hanks for the help guys!
    Symptoms
    In rare circumstances, an iPhone, iPad, or iPod touch may not be recognized in iTunes on Mac OS X v10.6 Snow Leopard after the Mac is restarted. If you reinstall iTunes, your device may be recognized. However, restarting your Mac may result in the device not being recognized again.
    Note: These steps do not apply to OS X Lion or Mountain Lion.
    Resolution
    Follow the below steps to troubleshoot the issue.
    Note: Some of these steps will require that you enter your Mac OS X user password. If you do not know your user's password, follow this article first.
    Install all software updates. If you have an update available for an SDK (Software Development Kit), be sure these updates are also installed. Do this by clicking the Apple () menu, choosing Software Update, and following the on-screen instructions. If you need to download iTunes manually, you can download it here.
    Disconnect the device and quit iTunes.
    In Finder, click the Go menu and then choose Go to Folder. Enter the following location into the text field that appears:
    /System/Library/LaunchDaemons
    Click Go.
    Locate the file "com.apple.usbmuxd.plist~orig" and drag it to the Trash. (Do not move the similarly named "com.apple.usbmuxd.plist" file to the Trash.)
    Restart your Mac, open iTunes, and connect your device. If your device shows up in iTunes, restart your Mac one more time and confirm the issue is still resolved.

  • My Windows PC doesn't recognize my iPod as an iPod

    Hi,
    I recently bought an iPod Touch 5 gen and when I plug it to my computer it doesn't recognize it as an iPod but as a non specified device. What's the matter? iTunes doesn't start up when i plug the iPod in, even if I check the box that says it. I must sync the iPod manually, and last.fm software doesn't recognize it as an iPod as well. I tried to plug my iPod to another PC an it works just fine. I cleaned the system registry but it didn't worked. I use Windows 8.1 and the latest version of iTunes.The strange thing is that even when the iPod isn't plugged in, iTunes says that it is plugged in. I really don't know what to do.

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or                     
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - Then do the other actions of:
    iOS: Device not recognized in iTunes for Windows
    paying special attention to item #5
    - New cable unless you used the same cable that worked on other computer, and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • My computer doesn't recognize my new Nano 3rd Gen

    Please HELP!!! I have a new nano 8gb and I am unable to load my tunes into it. My PC doesn't recognize it and I don't know how to add another device ( i have 2 registered to the account) Please help, my beautiful new IPOD Nano is a paper weight!!
    scazz

    yes, did restore factory settings and uploaded latest version of ITUNES; Received dialog box reformat ipod. Ipod is locked in "connected" position and will not shut down.

Maybe you are looking for

  • How do I create a workflow token based on a section property in site studio

    I am trying to setup a workflow for a Site Studio site and I want to set the alias based on a custom property of the site studio site. Example...I have custom property called group and I want to use this to determine what which alias to use to send o

  • To pull data from avarchar field into a date field in another table

    Hi I pulled some records into a table from a remote server by means of a database link and one of the field which is varchar(30) needs to be pulled into other database which has a date column. so the varchar field needs to be converted into the date

  • Problem with GroupableTableHeader

    Folks'es, i have a problem with my GroupableTableHeader (as of the "tame collection"). everything works just fine, until... ... until i add a new column to the table and do a fireTableStructureChanged(). after that my group headers are gone and only

  • Import theme not working - apache log shows ORA-00942

    Hi, I'm doing some development using htmldb v2 (of which I am greatly impressed). Everything is going well, but none of the import facilities seem to work (e.g. import theme, workspace etc). I get Page not found when pressing the Import button with t

  • Back ground job for OLIX copying

    Hi, I am using OLIX to copy keyfigures between Infostructures. How to define a Mass job for this transaction to make copying for all keyfigures and all product groups at a time. thanks,