Java init fails on Linux mint
See original GitHub issueIm trying to create an home assistant with a laptop x86_64 running Raspberry Os. Of I try to run my code i get this Error:
ai.picovoice.porcupine.PorcupineIOException: Initialization failed. at ai.picovoice.porcupine.Porcupine.init(Native Method) at ai.picovoice.porcupine.Porcupine.<init>(Porcupine.java:61) at ai.picovoice.porcupine.Porcupine$Builder.build(Porcupine.java:262) at de.VoiceRecognition.ball.WakeWordDetection.main(WakeWordDetection.java:79)
this is my code:
`
ByteArrayOutputStream outputStream = null;
String Keypath = "voiceTickets/de_linux_v2_1_0.ppn";
String ModelPath = "voiceTickets/porcupine_params_de.pv";
// get audio capture device
try {
micDataLine = mic.getTargetDataLine();
micDataLine.open(format);
} catch (LineUnavailableException e) {
System.err.println("Failed to get a valid capture device. Use --show_audio_devices to " +
"show available capture devices and their indices");
System.exit(1);
return;
}
Porcupine handle = new Porcupine.Builder()
.setAccessKey(accessKey)
.setKeywordPath(Keypath)
.setModelPath(ModelPath)
.build();`
Thank You
Issue Analytics
- State:
- Created 2 years ago
- Comments:35 (16 by maintainers)
Top Results From Across the Web
Java Initialization Error - Linux Mint Forums
Hello, I'm getting this error when I try to verify/test Java on https://www.java.com/en/download/installed.jsp from a fresh Linux Mint 17.2 ...
Read more >Fatal: Inialization Error: Could not initialize application
I found it simple to install on Mint 20.1. First download. Code: Select all. Linux with 64-bit JRE. from here: https://omegat.org ...
Read more >icedtea java error in new Mint 17 cinnamon release (SOLVED ...
Mint 16 java worked just fine and I have been using it with no problems. ... net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not ...
Read more >can't start java app from udev rule - Linux Mint Forums
i setup udev rule for start java application when SD card inserted. but there is ... root: Error occurred during initialization of VM...
Read more ><SOLVED> Java exception libjawt.so version ...
I'm trying to run BuildGDX engine games on my linux mint ... Lwjgl.LwjglGraphics.init(LwjglGraphics.java:92) at ru.m210projects.Build.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve run it via Ubuntu Standard with my Desktop PC!
Yes of course I’ve replaced it, I just didnt want others to know my key so i censored it. I have a constant internet connection 400mb. What am I supposed to do next?