*The class should be written as org.Sign instead of org/Sign.* I tried with both , both are valid options
On Tue, Apr 16, 2024 at 11:04 AM Roland Müller <rol...@gmail.com> wrote: > The class should be written as org.Sign instead of org/Sign. > > Am Dienstag, 16. April 2024 schrieb Kurtis Rader <kra...@skepticism.us>: > > 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.Sign > >> Caused 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 > . > > -- 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/CAEdxAjHdkUMoqP2iEcByac5v7aPP4X0hS22LNHF94tStizRO2g%40mail.gmail.com.