So I needed to allow Java access to my Mac's mic and speakers through one of our websites at work. I was prompted to download a .exe file supplied by the vendor to allow access. Since I'm a Mac user, this wasn't an option.
The solution was simply as follows:
permission javax.sound.sampled.AudioPermission "record";
};
This should work just fine on Linux as well.
Let me know if that worked out for you, if there are better ways to do the same!
The solution was simply as follows:
- Open up your Terminal.app
- Create a new file called .java.policy
- Add the following to the newly created file:
permission javax.sound.sampled.AudioPermission "record";
};
- Save the file and restart your browser.
This should work just fine on Linux as well.
Let me know if that worked out for you, if there are better ways to do the same!
No comments:
Post a Comment