Select Language:
If you’ve received an email indicating that AWS SDK for Java 1.x has reached the end of support, and you’re unsure whether your server is still using it, don’t worry. Here’s a straightforward way to check on your Ubuntu EC2 instance.
Start by opening your terminal and navigating to the directory where your Shiny server or related services are located. You can use commands like:
cd /srv/shiny-server
or
cd /opt/my-service
Next, you’ll want to search your codebase for any references to the AWS SDK for Java. Use the grep command to look through your files:
grep -R “com.amazonaws.services” . 2>/dev/null
If nothing shows up, try narrowing it down:
grep -R “com.amazonaws.services.s3” . 2>/dev/null
You can also search for specific SDK JAR files that might be present on your system:
find / -type f -name “aws-java-sdk-*.jar” 2>/dev/null
and
find / -type f -name “aws-java-sdk-s3*.jar” 2>/dev/null
If these commands return no results, your server likely isn’t running the old SDK. However, if you do find references or JAR files, you might want to update to the latest version of the AWS SDK for Java. This is important to ensure continued support, security, and access to the latest features.
Updating your SDK typically involves replacing the old JAR files with the latest versions and updating your project dependencies accordingly. This way, you’ll keep your applications running smoothly and stay in line with AWS support policies.





