We are trying to use bnd shell command under windows and getting the following error .
We can not find the dll to add or an extra jar
java -jar biz.aQute.bnd-7.0.0.jar bnd shell -p clientRunFFtest.bndrun
done
Errors
000: Exception: java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path: C:\Program Files\Eclipse Adoptium\jdk-21.0.3.9-hotspot\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Eclipse Adoptium\jdk-21.0.3.9-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\dotnet;C:\Users\Jamie Dougal\AppData\Local\Microsoft\WindowsApps;C:\Users\Jamie Dougal\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;.]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.(AnsiConsole.java:38)
at jline.AnsiWindowsTerminal.detectAnsiSupport(AnsiWindowsTerminal.java:57)
at jline.AnsiWindowsTerminal.(AnsiWindowsTerminal.java:27)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:304)
at java.base/java.lang.Class.newInstance(Class.java:725)
at jline.TerminalFactory.getFlavor(TerminalFactory.java:205)
at jline.TerminalFactory.create(TerminalFactory.java:96)
at jline.TerminalFactory.get(TerminalFactory.java:180)
at jline.TerminalFactory.get(TerminalFactory.java:186)
at jline.console.ConsoleReader.(ConsoleReader.java:244)
at jline.console.ConsoleReader.(ConsoleReader.java:236)
at jline.console.ConsoleReader.(ConsoleReader.java:224)
at aQute.bnd.main.Shell.loop(Shell.java:52)
at aQute.bnd.main.bnd._shell(bnd.java:4418)
at aQute.lib.getopt.CommandLine.execute(CommandLine.java:159)
at aQute.bnd.main.bnd._bnd(bnd.java:445)
at aQute.lib.getopt.CommandLine.execute(CommandLine.java:159)
at aQute.bnd.main.bnd._bnd(bnd.java:445)
at aQute.lib.getopt.CommandLine.execute(CommandLine.java:159)
at aQute.bnd.main.bnd.start(bnd.java:293)
at aQute.bnd.main.bnd.main(bnd.java:270)
001: Could not load library. Reasons: [no jansi in java.library.path: C:\Program Files\Eclipse Adoptium\jdk-21.0.3.9-hotspot\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Eclipse Adoptium\jdk-21.0.3.9-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\dotnet;C:\Users\Jamie Dougal\AppData\Local\Microsoft\WindowsApps;C:\Users\Jamie Dougal\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin;.]