Nelson Sam wrote:Appreciate everyone for helping
@kunu patil-Can you explain more about fileInstance.I could not find in javadocs.Thanks for adding the required codes
@Peter Taucher-Thanks for link.I tired using exists method.
Isn't above code correct.When I compile i get this error
filez.java:11: cannot find symbol
symbol : method exists()
location: class java.lang.String
boolean b=f.exists();
^
Esmaeil Ashrafi wrote:
David Newton wrote:Path.newDirectoryStream() returns an implementation.
How? from where? Shouldn't an abstract method have been specified/implemented somewhere!?
Yar lag wrote:John thanks for the quick reply, but no that wouldn't work. What I'm trying to do is this:
Process 1 -> Set up a new env with user.name="John"
Process 1 -> Launch a new jvm with the above env
Process 2 -> Starts and read in the user.name and picks up "John"
I hope that makes sense, any ideas how to setup the env?