0 Replies Latest reply on May 20, 2007 4:16 PM by 807606

    how to open a file from inside of java program

      suppose i have sample.txt file...
      in java code

      i brought that sample.txt file into program (in bytes array),
      after compiling code( .class will be created),
      i will copy that file(.class) into another location,
      how can i execute that sample.txt file(which is inside my .class file in the form of bytes array),
      i must not create any local file for store sample.txt file.

      i want to execute that bytes array(which is inside of .class ) directly..
      any idea.....