Intellj recognizing .wav files as plain text Follow
Answered
So I'm trying play a sound everytime a letter is typed on screen. The code is definately correct since I copied it from a reliable source online. The only problem is I keep getting the (The system cannot find the path specified) error. Intellij recognizes .wav files as plain text for some reason. Is there a fix to this? Im I doing something wrong? Nothing I searched for works.
Please sign in to leave a comment.
.wav files are resource files that only have significance to your application. You should not expect an IDE to recognize or do anything with them.
If you are getting errors, depending on the language it means the file is not in the correct folder or hasn't been flagged correctly. For example, in Java it's expected to at worst end up in a folder called
resources
and flagged as such under Project Settings (this might happen automatically depending on how you set up your project).