I created a jar where I want to run the main function of the Sign class .
*jar tf DigitalSign.jar* META-INF/MANIFEST.MF org/ org/Sign.class META-INF/ bcmail-jdk15on-1.59.jar xml-apis-1.4.01.jar xercesImpl-2.12.2.jar bcutil-jdk18on-1.77.jar bcprov-jdk18on-1.77.jar bcpkix-jdk15on-1.55.jar bcprov-jdk15on-1.59.jar 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 . * What am I missing here ? -- 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/eb8f6cb3-b72c-4ae5-bc81-3bc1fa5c4017n%40googlegroups.com.