UNC Paths

Hi,

I am using java.util.io package File class to create an instance as following:

File f = new File("\\\\dctm-app1\mydir");

where dctm-app1 is a machine on the network and files and "mydir" is a directory. Now the code works on my development machine which is using JDK 1.4.2, but when deployed on a network machine (which is probably using JVM 1.3.1), it gives an error. Why?

Thanks

[415 byte] By [Ammara] at [2007-9-30 23:40:33]
# 1
I believe that you'll find the cause to be the lack of the java.net.URI in versions earlier than 1.4.See the URI Javadoc documentation for more information.
ChuckBinga at 2007-7-7 14:54:42 > top of Java-index,Administration Tools,Sun Connection...