Note that AwsCredentials.properties must be in the same folder of the java file which needs to read it.
Or you use:
PropertiesCredentials props = new PropertiesCredentials(“/AwsCredentials.properties”);
It is straightforward to work with Amazon AWS Java SDK in Eclipse.
But if you want to use AWS Java SDK in NetBeans, for Maven project,
clicked on “dependencies” (listed on the left side) and then “add dependency”. There you can query “aws” and just install the matching result.