I am trying to test a Kava program that records and plays back audio from the Macbook laptop.
Here is the link to the code: github
When I run it on Eclipse, it cannot record any audio. However, when I export it to a JAR file and run it from terminal, then there will be a pop up asking for permission to use the microphone and then it can successfully record and playback audio input.
How would I be able to give Eclipse microphone permissions so that I can run it directly from within Eclipse?
I have tried installing a new version of Eclipse as another user mentioned it will ask for permissions but nothing popped up.
Also, went开发者_开发问答 on System Preferences to add it there, but Eclipse/Java does not show up as an option to even allow.
精彩评论