Can you make a class with a main() method that calls all the methods in the correct order? I don't like having to execute more than one class when testing. Testing often requires repeated execution...
Type: Posts; User: Norm
Can you make a class with a main() method that calls all the methods in the correct order? I don't like having to execute more than one class when testing. Testing often requires repeated execution...
Where is the one main() that calls all of the other main() methods in the correct order?
You have commented out where I started calling the other mains:
public static void main(String args[]) {...
Here are two of the path Strings:
static String pathToKey = "RSAPublicKeyFile.key";
static String pathToClntSecKey = "C:/Client/ClientsSecretKey";
Then those Strings are used where...
see you tomorrow
That code still has hardcoded file paths.
FileOutputStream keyFOS = new FileOutputStream(C:/Client/ClientsSecretKey);
Can you define the path's each in a String like I did and then use...
Ok, fix this so it works. I started making changes before I found that there were a lot more files than just 2:
/*...
That code has too many hard coded paths for easy testing. I don't want to set up lots of directories. For testing I want to be able to put all the files in one folder by easily changing the path to...
Can you post the code to create the RSAPublicKeyFile file?
And the ClientsSecretKey file?
And any other data the program needs to execute.
Search for: "UnlimitedJCEPolicy"
There are jar files in the JRE that need to be changed.