Hello friends...
I have developed a JAR file that contains the sample audiotesting code. The JAR file contains a folder called wavfile which holds the wavefiles of the project. I used to get the current dir of the JAR by adding the follwing code into it:
System.getProperties("User.dir"+"\\WavFile");
But when I try to run this file in another Windows system it is not working.
The code searches for the wavefile where the jar has been loaded
For example: If I load my JAR file in C:\\ then the code searches for the wavefile folder in C:\\ and not inside the JAR file and throws me the error
File not found:C:\\WavFile\\English\\mysound.wav
Any ideas for me .....
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)