1 19 20 package org.netbeans.modules.java.j2seplatform.wizard; 21 22 import java.io.File ; 23 import java.io.FileOutputStream ; 24 import java.util.Properties ; 25 26 public class SDKProbe { 27 public static void main(String [] args) { 28 Properties p = System.getProperties(); 29 30 File f = new File (args[0]); 31 try { 32 FileOutputStream fos = new FileOutputStream (f); 33 p.store(fos, null); 34 fos.close(); 35 } catch (Exception exc) { 36 exc.printStackTrace(); 38 } 39 } 40 } 41 | Popular Tags |