On Mon, Apr 15, 2024 at 4:02 AM Shivli Srivastava <shivli...@gmail.com> wrote:
> When I run the command on my terminal , everything works as fine but > running it using exec.Command gives > > *Error: Could not find or load main class org.SignCaused by: > java.lang.ClassNotFoundException: org.Sign .* Show us the command you ran interactively. Was it literally the following (since that is what your Go code runs): java -cp /Users/shivli.srivastava/Downloads/jars/bcmail-jdk15on-159.jar:/Users/shivli.srivastava/Downloads/jars/bcpkix-jdk15on-155.jar:/Users/shivli.srivastava/Downloads/jars/bcprov-jdk15on-155.jar:/Users/shivli.srivastava/Downloads/jars/xml-apis-1.4.01.jar:/Users/shivli.srivastava/Downloads/jars/xercesImpl-2.12.2.jar:DigitalSign.jar org/Sign If you copy/paste the above command into your interactive shell what happens? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD9T7tZhc2s0P%2Bz6c9xCn2%3DnFiGKykVq0i4-%2Bg9C_xS7vQ%40mail.gmail.com.