### Searched on Google with the first line of a JAVAstack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

## Recommended solutions based on your search

### Samebug tips

1. ,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

2. ,

Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.

### Solutions on the web

via Oracle Community by 803815, 1 year ago
file:\C:\Users\me\Documents\NetBeansProjects\project\project.jar!\myProject\savedObj.obj (The filename, directory name, or volume label syntax is incorrect )
via Stack Overflow by user2319262
, 1 year ago
http:\localhost:8080\leopardcreek\xxxx.pem (The filename, directory name, or volume label syntax is incorrect)
via Coderanch by Gail Schlentz, 1 year ago
jar:file:\C:\path\to\jar\my.jar!\path\to\file\within\jar\Template.xls (The filename, directory name, or volume label syntax is incorrect)
via sohu.io by Unknown author, 1 year ago
http:\localhost:8080\leopardcreek\xxxx.pem (The filename, directory name, or volume label syntax is incorrect)
via Oracle Community by 807603, 1 year ago
http:\localhost:8087\jsp-examples.\curren operties (The filename, directory name, or volume label syntax is incorr
java.io.FileNotFoundException: file:\C:\Users\me\Documents\NetBeansProjects\project\project.jar!\myProject\savedObj.obj (The filename, directory name, or volume label syntax is incorrect
)	at java.io.FileInputStream.open(Native Method)	at java.io.FileInputStream.(Unknown Source)	at java.io.FileInputStream.(Unknown Source)	at project.Project.load(Project.java:100)	at project.Main.main(Main.java:34)