How do I write to a file in a jar?  I seached the forums but couldn't find.

I need to write to a .txt file in a jar. Can that be done?

A JAR file is just a ZIP file that you can fiddle with using WinZip, as you probably know. Offhand, I don't know of any API classes for writing these files. But it's hard to imagine why a program (other than a Java development tool) would need to write to a JAR file, as opposed to writing the text file "normally" somewhere (e.g., to your program's installation directory).

Similar Messages

  • How can i write a XML file with oracle data ?

    How can i write a XML file using PL/SQL.
    Can i do as follows.
    1.Open a file using UTL_FILE.FOPEN(LC_DIR_LOC,'abc.xml','W')     ;
    2.write all the required tag and value using UTL.put_line
    that is enough. Is not, please guide me to write.
    gk

    Having Oracle 9i.
    One more doubt. In the speck, some constand values are there, When i write the same into file, How can i write ?.
    1. l_str := ' "E27" '
    or
    2. l_str := ' E27 '
    UTL_FILE.PUT_LINE(L_FILE_POI,l_str,TRUE);          
    1 case : in XML file : "E27"
    In 2 case : E27
    When we write a XML file through editors , we have to define the constant within quote . is it?      
    Which one can i use ? Or any other way is there ..
    Thanks and Regards
    gopi

  • I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.

  • How do I copy my video files from iPhoto to iMovie. The two   hour wait to view all in iMovie puts the kibosh on my edit time.

    How do I copy my video files from iPhoto to iMovie? The two + hour wait for thumb nails and hour long wait looking for the right videos kills the time I have to edit.

    You need to convert the VOB files in the TS-Folder of the DVD back to DV which iMovie is designed to handle. For that you need mpegStreamclip:
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    which is free, but you must also have the  Apple mpeg2 plugin :
    http://www.apple.com/quicktime/mpeg2/
    (unless you are running Lion in which case see below))
    which is a mere $20.
    Another possibility is to use DVDxDV:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.overview.htm
    which costs $25.
    For the benefit of others who may read this thread:
    Obviously the foregoing only applies to DVDs you have made yourself, or other home-made DVDs that have been given to you. It will NOT work on copy-protected commercial DVDs, which in any case would be illegal.
    If you are running Lion:
    From the MPEG Streamclip homepage
    The installer of the MPEG-2 Playback Component may refuse to install the component in Lion. Apple states the component is unnecessary in Lion, however MPEG Streamclip still needs it.
    To install the component in Lion, please download MPEG Streamclip 1.9.3b7 beta above; inside the disk image you will find the Utility MPEG2 Component Lion: use it to install the MPEG-2 Playback Component in Lion. The original installer's disk image (QuickTimeMPEG2.dmg) is required.
    The current versions of MPEG Streamclip cannot take advantage of the built-in MPEG-2 functionality of Lion. For MPEG-2 files you still need to install the QuickTime MPEG-2 Playback Component, which is not preinstalled in Lion. You don't have to install QuickTime 7.

  • How do i convert a PDF file to Excell?  I pad the fee and it won't let me.  Please help???

    how to do you convert a pdf file to excell?  i paid the service, but it won't let me.
    forumnotifier

    Hi arcadiak6290381,
    Are you still having trouble with ExportPDF? What happens when you try to log in to https://cloud.acrobat.com? Are you receiving an error, or are you prompted to sign up again?
    Please try clearing the browser cache, or log in using a different browser.
    Let us know how it goes.
    Best,
    Sara

  • How can I attach a jpg file in a mail message as the file icon, not as an opened image in the text?

    How can I attach a jpg file in a mail message as the file icon, not as an opened image in the text?

    what's wrong with this picture

  • How do i create a pdf file? I no longer have the pdf button.

    how do i create a pdf file? I no longer have the pdf button.

    Are you referring to the CreatePDF online service?

  • I want to ask about deleting files that have been deleted in the trash but I want to remove it permanently from the trash can not

    I want to ask about deleting files that have been deleted in the trash but I want to remove it permanently from the trash can not, indeed I delete files that are partly contained in the application file. I want to delete files that are also quite a lot by 5 Gyga, I've tried to remove it from the normal trash remains are not removed. How should I do?

    +

  • How do I enable my iTouch? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iTouch? Thanks.

    How do I enable my iPod? I am trying to update the apps but when I click "Update All", a pop up "Your Apple ID has been disabled." How do I change it so I can enable my iPod? My iPod is not locked (I know my password), but I just can't figure out how to enable it. Thanks.

    This may help:
    http://support.apple.com/kb/ts2446

  • How do I import a playlist on home sharing?  I get the songs, but not packaged in the playlist from which it was imported.

    How do I import a playlist on home sharing?  I get the songs, but not packaged in the playlist from which they were imported. Now I have duplicate songs in my music library.

    You can't import media from one Home Sharing library to another by any other means except selecting the individual items you want to import. For example, you can't select a playlist and then click on the 'Import' button to import all the items in that playlist. You have to select all the items in the playlist before you can click on the 'Import' button. By extension, the playlist on the other Home Sharing computer will not be re-created on your computer. You can select more than one item using the 'Shift' or 'Command' keys.
    What you can do is create a playlist on your computer first, with the same name if you want, and then use drag and drop to copy the media from the remote playlist to your playlist. Note that the playlist on your computer cannot be a 'Smart' playlist it must be a regular playlist for drag and drop copying to work.
    Regarding 'Smart' playlists. If you create a 'Smart' playlist on your computer that uses the exact same filtres as the ones on the remote library when you import the media from the remote library they will show up in the same 'Smart' playlist on your computer.

  • How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    Here you go: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Good luck!

  • Firefox does not open, but instead gives the error message, "Failed to read the configuration file." It has worked in the past, but not now.

    Firefox does not open, but instead gives the error message, "Failed to read the configuration file." It has worked in the past, but not now.
    I REINSTALL 10 TIMES SO DON'T TELL ME THAT!!!
    I'm piss because i need firefox working again so i can finish reseaching my speech in 5 days.

    Which files do you have in the defaults\pref folder in the Firefox program folder?
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    See also "Other solutions":
    *http://kb.mozillazine.org/Preferences_not_saved
    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 22.0: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • I have recently purchased my mac book with retina.i have explore all the feature but couldn't able to understand how to use my facetime. plz assist me

    i have recently purchased my mac book with retina.i have explore all the feature but couldn't able to understand how to use my facetime. plz assist me
    rahul

    Greetings rahul81,
    After reviewing your post, it sounds like you want to know how to use FaceTime. I would recommend that you read this article, it may be able to help the issue.
    FaceTime for Mac (Yosemite): Make and receive FaceTime calls
    Thanks for using Apple Support Communities.
    Take care,
    Mario

  • I was on the apple support site and typed my question in the small box at the bottom but couldn't figure out how to send it. The person at the other end couldn't read what I typed.

    I was on the apple support site and typed my question in the small box at the bottom but couldn't figure out how to send it. The person at the other end couldn't read what I typed.  I have a new OS10.8.4 and can't find "empty cache" when I'm ready to close Safari.  How do I do this?  Thanks

    https://discussions.apple.com/thread/4448839

  • How do I get iMessage to activate, I have read through all the instructions but it still says activation unsuccessful?

    How do I get iMessage to activate, I have read through all the instructions but it still says activation unsuccessful?

    Are you using a supported carrier? Do you have a plan that permits text messaging?
    The iPhone uses a 'silent' SMS message exchange with Apple's servers in the UK to activate. If you are not using a supported carrier, and/or your account is not provisioned properly for an iPhone, the activation may not be able to complete.

Maybe you are looking for