Trouble integrating BouncyCastle Jar

前端 未结 1 2022
梦如初夏
梦如初夏 2021-01-11 21:35

Okay, I\'ll say now that I know very little about Java. I was given the Bouncy Castle Jar and told that would contain what I needed to do this assignment. The Jar file is

1条回答
  •  醉梦人生
    2021-01-11 21:39

    Type this for running the program:

    java -classpath bcprov-jdk15on-147.jar:. encrypt
    

    That's because your program also needs to have any libraries it uses as part of the classpath at the time of running, not only at compile time.

    0 讨论(0)
提交回复
热议问题