FileInputStream returns FileNotFoundException on Apple Mac
From: Jacqueline Snook (jasnook_at_ntlworld.com)
Date: 11 May 2004 10:09:01 -0700
I am trying to reference a file on an apple mac from Java. In order
to find what the URL is supposed to be, I opened it in the Safari web
browser. The directory as returned was
When I give this as a String reference to FileInputStream in Java, it
returns a FileNotFoundException, quoting
"file:/Users/networkserver/SmartAV-CMS/smartav.properties (No such
file or directory).
I would like to know how to reference this file, and also maybe why it
takes out 2 of the slashes.
Many thanks in advance,