开发者

How to give microphone access to Java in Eclipse? (Audio input issues)

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜