Too many jars cause the error "the input line is too ling"

Hi, Friends,
For some good reasons, I received a lot of jar files (25) and I have to include them in my classpath.
Now I have a problem. When I use javac or ant, I got
The input line is too long.
The syntax of the command is incorrect.
I don't know if the only solution is to extract classes from those jars and put the class root location in the classpath. I don't like this solution.
Thank you for your help?
Youbin

I did try using jre/lib/ext but it looked like I'd
have to put all the jars there -- i.e. even ones that
were in the classpath did not seem to be found unless
they were in the ext dirsctory. This may be a windows
quirk, but again, it is what I am stuck with for right
now.You mean that if you put one jar in lib/ext, then no jars outside of it are recognised? I've never heard of that before - it doesn't happen on any Windiws platform I've ever used.
I should warn you that I had a problem last week that seemed to come down to having unnecessary jar files in lib/ext - If you have an application that uses its own version of a particular jar, but there is a different version of the jar in lib/ext, the one in lib/ext is the one that gets used (I think its to do with class loaders deferring to parent class loaders) - not sure how often the problem occurs (I've never seen it before), but keep it in mind if you get any new problems coming up.
I don't know exactly what you're supposed to use lib/ext for, but I assume its intended as a place to put extensions to the core API and nothing else.

Similar Messages

  • The input line is too long.

    I am a prentice on J2EE by using the Tutorial 1.4.
    - Problem:
    I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant right after I successfully executed command "asant build" under the directory of both <Install>/examples/web/bookstore and bookstore1 when I practice the topic of The Example Servlets on Chapter 11: Java Servlet Technology.
    The command and the arguments are:
    asant create-db_common
    asant create-bookstore-war
    asant package-bookstore
    asant deploy-war
    All of them have the same outcome:
    "The input line is too long.
    The syntax of the command is incorrect."
    I have tried to do the research on the google and ased some Java developer friends and school teachers; unfortunately, none of them can solve this problem.
    - Environment:
    The OS I am using is win2k professional. The commands were issued on DOS terminal. I have successfully built application server, and pointbase, deploy tool. I have utilize this tools and environment to run all the examples very well on Chapter 8: Building Web Services with JAX-RPC.
    The Server and PointBase were activated when I issued those commands.
    -New Problem:
    Even worse, after failing on running the Servlets Examples, I got the same error message when I go back to the Chapter 8's Examples and run the command "asant build" on the directory <install>\j2eetutorial14\examples\jaxrpc\staticstub.
    - tried solutions:
    (A) I checked the log from admin console and found this error message that was Severe:
    A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for viewDescriptor 'webApplications'"
    The root cause is "com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered"
    See the HTML source for more detailed (stack trace) information.
    (B) I also after unistalling the Application Server from the directory of C:\Sun\AppServer, and reinstall the Server onto C:\AppServer; in addition endited the build.properties file under the directory of <install>\j2eetutorial4\examples\common on the line of j2ee.home=C:\Sun\AppServer to j2ee.home=C:\AppServer, I got the error msg as following:
    D:\Java\Tutorial\J2EE\j2eetutorial14\examples\jaxrpc\staticstub>asant build
    The system cannot find the path specified.
    The input line is too long.
    The syntax of the command is incorrect.
    where D:\Java\Tutorial\J2EE\j2eetutorial14\examples\jaxrpc\staticstub is the project I had successfully built before I tried to build on Servlet project.
    Can anyone or the tutorail's authors give me some helps? Thanks!

    This is a known problem of win2k...
    one of the solution is to shorten your J2EE path... e.g shorten c:\program files\sun\app_server to c:\app_server. i haven't tried this method personally though.
    the other solution is to use winXP. i have tried it n its working.

  • Your password has been incorrectly entered too many times. Go to the...

    "Your password has been incorrectly entered too many times. Go to the iTunes Store on your computer and retrieve your password."
    I keep getting this message, but when I go to iTunes, it lets me in with no problem and I don't know where I should be going to retrieve my password. Additionally, my Mac-based iTunes Library keeps disappearing from the Apple TV menu and today it started streaming (videos from my iTunes library) extremely slowly for some reason which I cannot discern. I don't know what the problem is, but my daughter is getting very frustrated that Word World keeps pausing every minute or so to buffer.
    Any help would be fantastic!

    I, too, am getting this error. Mine is on my Apple TV (black) and seems to happen any time I switch between items on the main menu screen. Apple recently prompted me to change my password for my Apple ID account. However, when I get this error message, I just select 'OK' and go on. It does not seem impact watching any content streamed from my Mac nor does it impact accessing Netflix...
    Other than being a nuisance, I haven't been able to find what is causing it and what limitations are resulting from it. I'm also not sure where I can go to update the password this Apple TV is using.
    Thanks for any help you may provide.

  • The input line is too long. The syntax of the command is incorrect.

    I am a prentice on J2EE by using the Tutorial 1.4.
    I keep getting this error message: "The input line is too long. The syntax of the command is incorrect." from the windows's terminal no matter what arguments I issued for the command asant right after I successfully executed command "asant build" under the directory of both <Install>\j2eetutorial14\examples\web\bookstore and bookstore1 when I practice the topic of The Example Servlets on Chapter 11: Java Servlet Technology.
    The command and the arguments are:
    asant create-db_common
    asant create-bookstore-war
    asant package-bookstore
    asant deploy-war
    All of them have the same outcome:
    "The input line is too long.
    The syntax of the command is incorrect."
    I have tried to do the research on the google and ased some Java developer friends and school teachers; unfortunately, none of them can solve this problem.
    The OS I am using is win2k professional. The commands were issued on DOS terminal. I have successfully built application server, and pointbase, deploy tool. I have utilize this tools and environment to run all the examples very well on Chapter 8: Building Web Services with JAX-RPC.
    Even worse, after failing on running the Servlets Examples, I got the same error message when I go back to the Chapter 8's Examples and run the command "asant build" on the directory <install>\j2eetutorial14\examples\jaxrpc\staticstub.
    The Server and PointBase were activated when I issued those commands.
    Can someone or the Tutorial's authors kindly help? Thank you very much!

    Hi eric.jendrock,
    Appreciate your help; unfortunately, in my asant.bat script I cannot find the line you indicated even though I found the solution addressed in the FAQ as you instructed, too. The only ines I found are:
    :runAnt
    "%_JAVACMD%" %ANT_OPTS% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.library.path="%AS_INSTALL%\bin;%AS_ICU_LIB%" -classpath "%AS_INSTALL%/lib/appserv-se.jar";"%AS_INSTALL%/lib/admin-cli.jar";"%AS_INSTALL%/lib/appserv-admin.jar";"%AS_INSTALL%/lib/j2ee.jar";"%AS_INSTALL%/lib/appserv-ext.jar";"%AS_INSTALL%/lib/appserv-rt.jar";"%AS_INSTALL%/lib/commons-launcher.jar";"%AS_INSTALL%/lib/install/applications/jmsra/imqjmsra.jar";"%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
    goto end
    :runAntWithJikes
    "%_JAVACMD%" %ANT_OPTS% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.library.path="%AS_INSTALL%\bin;%AS_ICU_LIB%" -classpath "%AS_INSTALL%/lib/appserv-se.jar";"%AS_INSTALL%/lib/admin-cli.jar";"%AS_INSTALL%/lib/appserv-admin.jar";"%AS_INSTALL%/lib/j2ee.jar";"%AS_INSTALL%/lib/appserv-ext.jar";"%AS_INSTALL%/lib/appserv-rt.jar";"%AS_INSTALL%/lib/commons-launcher.jar";"%AS_INSTALL%/lib/install/applications/jmsra/imqjmsra.jar";"%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
    goto end
    I however did tried to remove those lines with -Dcom and -Djava but kept the variables of arg0s, "%_JAVACMD%" %ANT_OPTS%. Here is the result I got:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    Looks funnier. Do you haver any clue or better solutions? Thanks!

  • HT1212 An elderly friend has given me her iPad to"fix". She has entered passcode incorrectly too many times (I now have the correct passcode).  The ipad is now disabled,has never been connected to a computer .  Can it be opened without loosing what is on

    An elderly friend has given me her iPad to"fix". She has entered passcode incorrectly too many times (I now have the correct passcode).  The ipad is now disabled,has never been connected to a computer .  Can it be opened without loosing what is on it?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • What does this mean? The mail server responded: Too many messages. Please check the message and try again.

    I use BT yahoo mail with Thunderbird 24.6.0 in the last few days i've started getting this message when sending messages:
    An error occurred while sending mail. The mail server responded: Too many messages. Please check the message and try again.
    Now sometimes the messages are sent anyway and sometimes not. If I re-send sometimes it works and sometimes not. I've contacted BT 'tech support' who tell me there is nothing wrong with them or their servers and as webmail works ok they won't help. I strongly suspect it IS a BT issue, Any clues to fix this?

    The message means BT are lying basically. I have just spent the best part of an hour on chasing what limits BT place on mail sending... the internet contains a void.
    The closest thing I can locate is a BT rep here https://community.bt.com/t5/Email/E-Mail-message-limit/m-p/1045228/highlight/true#M17523 refusing to identify what limits they impose but advising their switch to critical path has more stringent controls. AFAIK Critical path is ca mail software solution sold by OpenWave Messaging http://owmessaging.com/
    So your paying for a totally undefined service. Congratulations!

  • Does the iPhone 4 disable for 24 hours after too many failed attempts at entering the passcode

    Does the iPhone 4 disable for 24 hours after too many failed attempts at entering the passcode

    Oh thank you. Only thing is I have no backup, so i'd prefer to wait if there is a 24 hour lock out... Someone told me they thought there was, and I can't find anything on google to tell me how many attempts you get and how long you get locked out for each time. A friend made me a new passcode when under the influence and now after thinking about it remembers what he changed it to

  • HT1430 my daughter's ipod has been disabled after too many wrong password attempts. The ipod was not synced to a computer. How can we get it started?

    My daughter's ipod touch has been disabled after too many wrong password attempts.
    The ipod was never synced to the computer so can't connect to itunes.
    How else can we enable the ipod touch again?

    Restore, if iTunes will let you.  Everything except the password will be restored.  Connect via cable to the computer that you use for sync.  In your case, choose any computer with iTunes software.  Be forewarned that it takes a long time.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Well, I created a new Apple ID and I put money on it, I wanted to sign into ICloud and it wouldn't let me sign in due to the usage of too many Apple IDs created. The point for logging into the ICloud was to save my photos before I reset my phone.

    Well, I created a new Apple ID and I put money on it, I wanted to sign into ICloud and it wouldn't let me sign in due to making too many Apple IDs created. The point for logging into the ICloud was to save my photos before I reset my phone. Is there any way I could fix this? I also want to transfer my money because I think it's a waste to just forget about the $13.75 on my account. Thanks.

    I recently created a new apple ID
    Bad idea.
    Content bought with an Apple ID is forever associated with that Apple ID. Apple will not transfer content from one Apple ID to another and Apple will not merge Apple IDs. Unless you are prepared to forfeit all the previously purchased content and buy it all again with the new Apple ID, you will need to maintain the old ID to update and redownload your content.

  • HT1339 My Ipod is locked since my daughter tried too many times trying to put the password. Now it says " iPod is disabled" connect to iTunes, but when I connect to iTunes it says "Please enter the password to access"

    My Ipod is locked since my daughter tried too many times trying to put the password. Now it says " iPod is disabled" connect to iTunes, but when I connect to iTunes it says "Please enter the password to access"

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings         
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up      
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store         

  • I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues ove

    I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues over the phone. Adobe doesn't care about their older products - they don't care that I spent hundreds of dollars for CS3. This is truly disgusting corporate behavior. Is there anything I can do? We aren't all rich photographers. I paid a great deal of money for this product. Is it now useless?Thank you,
    James Scott

    HI James please contact the Adobe Chat Team for activation issue
    kindly do the mentioned steps as follow in order to get hold of chat rep of adobe
    Go to www.adobe.com/getsupport
    select the product as adobe creative suite - then select the issue as adobe id and sign in - and then click on still need help contact us then you will be able to find chat option and they will help you with the chat issue

  • Compile error "input line is too long" when using useLegacyAOT

    I'm using FlashBuilder 4.7 and the release of AIR 4 on Windows 7 to package for iOS...As soon as I include 3 or more ANEs I can no longer compile to iOS (and also use the new "useLegacyAOT no" command).  When I try I get an error "The input line is too long.   Compilation failed while executing : compile-abc"
    I found a couple other similar issues.  One post suggested instead of pointing to individual ANEs (in Package Contents) to point to a folder instead--but this doesn't fix the
    Another post for a slightly different problem said it was fixed in the release of AIR 4.
    Any ideas?  I wonder if I move my AIR SDK to a simple path (like "c:\air\adt.jar" instead of "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\adt.jar") if it'd help. 
    Thanks in advance!

    Awesome!  I got used to the new useLegacyAOT thing very fast.  In the meantime, I have to decide whether to remove all my ANEs and test or sit through an interminable build sequence.
    What's the current plan for a new release?  Is there any way I could get a beta copy just to use during development?
    Thanks!

  • While adding/Changing member in planning it gives the error "The SQL operation failed with an error code: 0"

    Hi,<BR>While adding/Changing member in planning it gives the error "The SQL operation failed with an error code: 0" and not allowing any of the changes. I am not able to open the forms giving the error as "Fiscal Days Input - is invalid". Interestingly one form was opening, when the Page selection is changed it also started giving error as like "Fisacal Days Input(form name) - is invalid check log for details". <BR>Pls advice us that what is this error and how to resolve this.<BR><BR>And Which log is to be referred for the details.<BR><BR>Thanks<BR>Ravi

    If a form is invalid it generally means that one of the dimension references is missing.<BR><BR>Can you get in to edit the form?<BR>If you can, see if you can preview it. I suspect you will not be able to.<BR><BR>If not, check all dimension boxes have at least one member against them.<BR>If you have multiple rows and/or columns check all of them too.<BR><BR>I've had a couple of forms in dev "drop" a dimension reference but only once or twice so not enough to reproduce or find out what is causing it. Each time I got the "form invalid" error message and managed to fix it.<BR><BR>Hope this helps.<BR>

  • Multisim 2001 "too many parameters for subcircuit" error

    When simulating circuits in Multisim 2001 with op amps from User library am getting Netlist Error message "Unable to correctly determine the nodes for the current circuit due to the following reasons:
            Too many parameters for subcircuit type lf156_op_amps_1 (instance: xxu3)"
    or a similar message for whatever op amp am using.  Have tried creating components for several different op amps and always get same error message.  Carefully checked the Pin Mapping Table and the symbol pins are correctly matched with order of pins in model.  The only way have been able to get a simulation to run with op amp components in the User Library is if copy an op amp directly from Multisim library to User library and make no changes whatsoever.  But if do something seemingly minor such as bring up the Symbol editor and add a text note underneath the symbol then get the "too many parameters for subcircuit" error.
    Am also getting a Consistency Self Check error stating "Error: The circuit it empty.  Simulation requires at least one ground."  Do have ground in circuit; presumably this error is related to Netlist error above.
    Operating system is Windows XP Professional.

    Well, this is an interesting situation in Multisim 2001. I tried doing this with another component and had the same results. I just renamed the part with no other changes and re-saved it to my database and sure enough I got this error. I have no idea what is causing this other than just a bug in the software. Us 2001 users will just have to live with this unless someone does happen to find a solution.
    I don't seem to have any problems when creating new components and using or editing existing symbols with new model information. This does suck. What if just wanted to edit one paramenter instead of using a completely different model? I really hope someone can find a workaround or solution to this. I am glad you broughtm this to our attention.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

  • Hi, I updated my version of iTunes and now get the error "The program can't start because MSVCR80.dll is missing from your computer".

    Hi, I hope some one can help as I updated my version of iTunes and now get the error "The program can't start because MSVCR80.dll is missing from your computer". I understand that I need to delete and reinstall iTunes but all of my music has been uploaded from CD's and I'd like to know if these are safe if I delete iTunes of if they too will be deleted. I have over 1300 songs so this is a big question for me.  Many thanks.

    Under normal circumstances, an uninstall/reinstall doesn't touch your content. (That being said, it's still always a good idea to maintain a current backup at all times in case of disasters of any sort.)
    First try updating to iTunes 11.1.5.5, using an installer downloaded from the Apple website:
    http://www.apple.com/itunes/download/
    If you still get the errors after that, try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for