Results 1 to 3 of 3
  1. #1
    njoymirror is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default Executable java to read and write to a txt file

    Is it possible to create a JAR file or any other method to read from the console or a file and create a new file with the data that has been read?

  2. #2
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Arrow

    I dont know if this is exactly what you want, this attached zip file contains all the files created in netbeans for an application to firstly create a .txt file within a manually created folder called datafiles. Hope this helps!

    If you downlod this file check that the datafiles folder is created.

    path ../build/classes/video/

    Within that folder there should be a .txt file.
    Attached Files Attached Files

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    I think you want to read data from console/file and create a new file with data. Nothing to do with Jar files initially. First of all you must write the application to do this, and later you can create a Jar file for your application. Is that what you want to do I guess..

Similar Threads

  1. Replies: 5
    Last Post: 02-05-2009, 10:28 AM
  2. Replies: 5
    Last Post: 01-20-2009, 09:08 AM
  3. Read and Write file
    By mrdestroy in forum New To Java
    Replies: 13
    Last Post: 10-31-2008, 12:11 PM
  4. File read/write problems
    By p900128 in forum New To Java
    Replies: 4
    Last Post: 06-27-2008, 12:15 AM
  5. Read/Find Substring/Write to new file
    By hiklior in forum New To Java
    Replies: 6
    Last Post: 04-23-2008, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •