This problem has troubled me two days!class cant visit class between jars;

I set classpath: CLASSPATH:C:\Documents and Settings\xxxx
in this directory,I have a jdbc.jar and a sub directory named t,Test class in t ;
Test class code here:
package t;
import jdbc.DateParser;
public class Test{
    public static void main(String[] args){
        DateParser parser=new DateParser();
        String s=parser.formatDate("1987/9/9");
       System.out.println(s);
}I do this:
C:\Documents and Settings\xxxx>java t.Test
1987/09/09 00:00:00
this Test class run successfully
and I do this(note: in MANIFEST.MF,just only this words at first line : Main-Class: t.Test) :
C:\Documents and Settings\xxxx>jar cvfm t.jar MANIFEST.MF t
list (manifest)
add:t/(read= 0) (write= 0)(stored 0%)
add:t/Test.java(read= 237) (write= 159)(compressed 32%)
add:t/Test.class(read= 524) (write= 347)(compressed 33%)
C:\Documents and Settings\xxxx>java -jar t.jar
Exception in thread "main" java.lang.NoClassDefFoundError: jdbc/DateParser
at t.Test.main(Test.java:5)
this execution is failed?
why??
this problem has troubled me two days!I really need help!

C:\Documents and Settings\xxxx>jar tvf jdbc.jar
0 Thu Nov 04 21:16:20 CST 2004 META-INF/
91 Thu Nov 04 21:16:20 CST 2004 META-INF/MANIFEST.MF
0 Tue Nov 02 23:32:50 CST 2004 jdbc/
547 Sun Oct 31 18:54:08 CST 2004 jdbc/Blob.class
4280 Fri Oct 29 23:28:40 CST 2004 jdbc/ResultSet.class
2100 Sun Oct 31 23:45:56 CST 2004 jdbc/Statement.class
2438 Thu Oct 28 22:22:32 CST 2004 jdbc/Connection.class
1384 Thu Oct 28 22:11:42 CST 2004 jdbc/HStream.class
2172 Thu Oct 28 22:20:08 CST 2004 jdbc/Test.class
3347 Sun Oct 17 21:23:38 CST 2004 jdbc/DateParser.class
4495 Wed Oct 20 17:19:26 CST 2004 jdbc/Sorter.class
Actually, ignore that. I think the problem is you are using "java -jar xxx". This runs the JAR in encapsulated mode, which ignores any classpath setting.you mean using "java -jar xxx" cant let xxx visit a class that in another jar?
if that,what command shoud I use?

Similar Messages

  • I cant watch online videos as its all scrambelled. This just started since last two days, I cant watch online videos as its all scrambelled. This just started since last two days

    Since last two days I cant watch any online videos.. I can hear the voice but the picture is all scrambed and it keeps jumping up and down.
    Would appreciate suggestions to fix this.
    Thanks

    Might be the Flash plugin causing this...
    Uninstall the old then reinstall new >  Troubleshoot Flash Player | Mac OS
    And empty your browser cache more often.
    When you post for help, please tell us which Mac OS X you have installed. Thanks! 

  • Good afternoon! I purchased a few months the basics of adobe photoshop package with the CC and Lightroom, but has expired, and was made the annual package. What can I do to solve this problem. I have two weddings being edited and now I can not finish the

    Good afternoon! I purchased a few months the basics of adobe photoshop package with the CC and Lightroom, but has expired, and was made the annual package. What can I do to solve this problem. I have two weddings being edited and now I can not finish the work. I thank you.

    Renew the subscription?

  • Our apologies but there was an unexpected error with the application. This problem has been noted, and an email has been sent to the administrators. Please check back in a few hours to try the download again. What is

    What is going on here. I've waited 4 weeks for my ipad which will not do anything untill I've downloaded the latest version of itunes which I can't do because this message keeps appearing,
    Our apologies but there was an unexpected error with the application.
    This problem has been noted, and an email has been sent to the administrators.
    Please check back in a few hours to try the download again.
    Reading another post, someone is still trying after two days!
    Anyone got a solution to this please, or, if not, does anyone know how to email itunes.
    Thanks, Allan

    Found this
    http://www.v3.co.uk/v3-uk/download-review/1955243/apple-itunes-1011
    Hope it helps

  • Hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    Here's a nifty agorithm to fill an array of primes, using a forever loop with a labeled continue statement, from Horton's Beginining Java:public class MorePrimes
      public static void main(String[] args)
        long[] primes = new long[20];    // Array to store primes
        primes[0] = 2;                   // Seed the first prime
        primes[1] = 3;                   // and the second
        int count = 2;                   // Count of primes found - up to now,
                                         // which is also the array index
        long number = 5;                 // Next integer to be tested
        outer:
        for( ; count < primes.length; number += 2)
          // The maximum divisor we need to try is square root of number
          long limit = (long)Math.ceil(Math.sqrt((double)number));
          // Divide by all the primes we have up to limit
          for(int i = 1; i < count && primes[i] <= limit; i++)
            if(number%primes[i] == 0)             // Is it an exact divisor?
              continue outer;              // yes, try the next number
          primes[count++] = number;               // We got one!
        for(int i=0; i < primes.length; i++)
          System.out.println(primes); // Output all the primes

  • My iPhone5 is under warranty but during incoming call handset is hang. this problem 2-3 time a day. pleas help.

    My iPhone5 is under warranty but during incoming call handset is hang. this problem 2-3 time a day. pleas help.

    I'm experiencing what is I believe to be the same issue with my iPhone 4, and have been suffering in silence for about a week.
    iPhone 4 model MC603X with Modem Firmware 04.10.01, 16Gb, cheap silicone cover, Vodafone NZ as my carrier.
    My screen locks after 1 minute of inactivity as it should with my settings. Perhaps 1 call in 5, or 1 call in 10, the screen wakes up and displays called ID information etc correctly, but I cannot swipe to answer the call. The touch screen simply fails to respond.
    If I push the power button briefly to silence the ringtone, this does not make a difference. The iPhone has to be locked (and screen turned off), then push a hardware button to wake up the display, and then I can swipe to unlock the device.
    This is only since iOS 4.3 and unfortunately iOS 4.3.1 has not changed this behaviour.
    Any advice appreciated.
    Cheers, Mike

  • How im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    how im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    What "auto shutdown problem" are you talking about?

  • After downloading new version of Firefox 4 I am unable to use touch pad for scrolling. I have tried installing and uninstalling the new version but this problem has always been occuring.

    after downloading new version of Firefox 4 I am unable to use touch pad for scrolling. I have tried installing and uninstalling the new version but this problem has always been occuring. I do not know how to fix this problem so I always return to the old version.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • I am unable to fully download iPhoto on my iPad 2. It downloads nearly to the end and then I get a message that says"unable to download at this time." This time has now lasted two weeks. What do I do? Many thanks!

    How do I download iPhoto to my iPad 2 iOS 6? It refuses to fully download. Towards the end of the download, I get a message that says "unable to download at this time." This time has now lasted two weeks. I already have iPhoto on my MacBook Pro. Many thanks.

    Have you tried a soft-reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • TS3276 I have no sound on my MacBook Air for sending and receiving messages. All sound settings have been checked and are OK. This problem has arisen many times and is intermittent in the sense that the sound returns and disappears for no apparent reason.

    I have no sound on my MacBook Air for sending and receiving messages. All sound settings have been checked and are OK. This problem has arisen many times and is intermittent in the sense that the sound returns and disappears for no apparent reason.

    Open System Preferences > Sound > Sound Effects
    Select:  Play user interface sound effects
    And make sure the Mute box is not selected.
    Now open Mail. From the Mail menu bar clik Mail > Preferences then select the General tab.
    Make a selection from the:  New messages sound  pop up menu.

  • Hi I have a iPhone 4 and I seem to have a problem during calls. If I make or receive a call I can hear the person who is on the line with me but the other person can't hear me. This problem has occurred 1 week ago so please get back thank you

    Hi I have a iPhone 4 and I seem to have a problem during calls. If I make or receive a call I can hear the person who is on the line with me but the other person can't hear me. This problem has occurred 1 week ago so please get back thank you

    You use Restore to get the latest firmware build, not the Update button. You can only use the Update button, if there is an iOS update, say iOS 5.1.
    this link talks about updating to 9A406 to fix the "No Service" issue with iPhone 4S:
    http://iphone-and-i.blogspot.com/2011/12/fixing-iphone-4s-signal-problem.html

  • HT201317 My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.

    My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.I reinstalled my icloud and checked if icloud sharing is ON. I can see pic in my photo stream in PC only in slide show mode. While in list mode it shows pics before i actually click on photostream folder. My phone memory is out becose of bunch of photoes. How do i copy my photostream photoes.

    Hi all.  I can’t tell you how to solve your iCloud 3.x issues.  Heck, I don’t think they’re even solvable.
    But if you had a previous version of iCloud that was working correctly then I can definitely tell you how to solve the “iCloud Photo Stream is not syncing correctly to my Windows 7 PC” problem.  …without even a re-boot.
    Log out of iCloud 3.0 and uninstall it.
    Open My Computer and then open your C:\ drive.  Go to Tools/Folder Options and click on the View tab.  Select the “Show hidden…” radio button and click on OK.
    Open the Users folder.
    Open your user folder
    Open ProgramData (previously hidden folder)
    Open the Apple folder – not the Apple Computer folder.
    Open the Installer Cache folder
    In Details view sort on Name
    Open the folder for the newest entry for iCloud Control Panel 2.x – probably 2.1.2.8 dated 4/25/2013
    Right click on iCloud64.msi and select Install.
    When finished, the synching between iCloud and your PC will be back to working perfectly as before the 3.0 fiasco.  The pictures will be synched to the same Photostream folder as before the “upgrade”.  Now all you need to do is wait until Apple/Microsoft get this thing fixed and working before you try the 3.x upgrade again.
    I think the iCloud 3.0 software was written by the same folks who wrote healthcare.gov with the main difference being that healthcare.gov might eventually be made to work.
    For those of you who hate to go backwards, think of it as attacking to the rear.  Which would you rather have, the frustration of no synching or everything working on an older version?
    Good luck…

  • When I load cds i get a message that states, "User not registered for online use." This problem has only begun since the new itunes update and is only a problem on my pc laptop.  Media content (track names, etc.) do not load.  Thanks

    When I load cds i get a message that states, "User not registered for online use." This problem has only begun since the new itunes update and is only a problem on my pc laptop.  Media content (track names, etc.) do not load.  Thanks

    See  Re: itunes 12 track names not found and user not registered for online use.
    tt2

  • My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.

    My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.
    -My wifi connection is running strong
    -All the devices run the same version of iOS

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • When I'm composing emails a dialog box keeps popping up asking me to click "resend" to reload my email. If I don't I get timed out. This problem has only happened after I installed update 3.6.16

    When I'm composing emails a dialog box keeps popping up asking me to click "resend" to reload my email. If I don't I get timed out. This problem has only happened after I installed update 3.6.16
    FYI I am referring to my ISP email on the providor's website, although I have not tried opening other email accounts on the updated Firefox.

    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Post the results back here
    Pete

Maybe you are looking for

  • People are getting my email instead of contact name?

    Not sure if there is a way around it or not, but whenever I start up a conversation through text on my iPad and I haven't previously had a conversation going for it to show up on my iPad, people get my email address instead of my number which would b

  • How to run workflow from Developer studio ?

    Hi Guys, I searched for a work item type in the developer studio and it showed the results, but could not find out how to run it from there.. I know we can run it from there.. There is no run button or options available. Do i need to setup some profi

  • Music/tv shows not authorizing ?

    I have a problem which is frustrating  so perhaps someone may be able to help me. I have recently re-installed all my iTunes library in 2 new macs. 27" iMac and 13" macbookpro. About 75% of the music and tv shows bought in the iTunes store are workin

  • Safari Web Content

    I am running the following Maverick - 10.9.2, with Safari Version 7.0.2 (9537.74.9) This build of Safari seems to be incredibly slow, not only when it opens but when you open multiple tabs, the iMac stops reponding, unable to use any applications unt

  • What is the Cache?

    I am really confused as to what the cache is on my computer or where it is. I went to upload some photos and it said I need to maximize my cache and I don't know how to do it or why. It also said I can purge my folders; does that mean that my photos