bat file doesn't work
I have implemented a program and compiled all java files and tested the program and it works properly. After that I created a bat file and place it in the same map where I have the classes. But I receive this error message when I treid to start the program using the bat file:
C:\Documents and Settings\Ãgaren\Mina dokument\maroun\mail_encryption\mailencryp
tion>java gui
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/util
/encoders/Base64
at Kryptering.<init>(Kryptering.java:42)
at gui.<init>(gui.java:26)
at gui.main(gui.java:407)
I do not understand why it can not find org/bouncycastle/util
/encoders/Base64 when I try to start the program through bat file, but it works when run the program using JCreator.
Maroun
|