title: Java Web Start Application can read files from local systems, but not write
body: <p>please ask if you need more info. I have the security and all permissions tags
   
  in my jnlp, and when I run my java app offline it works correctly.</p>
  
  <pre><code>File T = new File(System.getProperty("user.home") + File.separator + ".myapp/");&lt;br /&gt;
  if(!T.exists())
      T.mkdirs();
  File[] temp=new File[2];
  
  temp[0] = new File(System.getProperty("user.home") + File.separator +
                     ".myapp"+File.separator+"temp1.txt");
  temp[1] = new File(System.getProperty("user.home") + File.separator +
                     ".myapp"+File.separator+"temp2.txt");
  
  writer=new BufferedWriter(new FileWriter(temp[x]));
  writer.write(finalData);
  writer.close();
  </code></pre>
  
  <p>I use the following method to write to files I want to create in a directory in the user's system. In the program, I also read from the same folder and when I place test data in that folder it works correctly. When I remove the temp1.txt and temp2.txt files it does not read any data. No error messages come up or anything. </p>
  
  <p>To reiterate, when ran in java web start, the window pops up and the program runs correctly with no error messages, but it does not write the files properly to the users system. At the same time, when test data is provided in .txt files, it reads it correctly.</p>
  
  <p>Edit: If it is at all possible, could there be a solution without using some of the javaw.jnlp.* methods? The program really has to have a folder with .txt files to read from</p>
  
  <p>edit2: All my jars are signed as well </p>