aws-cloudformation / aws-cloudformation-resource-providers-awsutilities-commandrunner

Apache License 2.0
81 stars 21 forks source link

Unsupported Resource Handlee Runtime [java8] #62

Closed mrugankray closed 6 months ago

mrugankray commented 7 months ago

Getting this error while registering this -> Unsupported Resource Handler Runtime [java8] for AwsUtility::Cloudformation::CommandRunner - Runtime is Depricated

gardnerdez commented 6 months ago

I'm having the same issue, cant get pass the outdated java

AwsUtility::Cloudformation::CommandRunner - Runtime is Deprecated

rajrishi7817 commented 6 months ago

Still facing the issue

danf22 commented 6 months ago

Same issue here.

transferhp commented 6 months ago

Hi can we review the change request and try to approve it soon as the issue still exists now.

shantgup commented 6 months ago

The pull request is merged, the issue is resolved. You can compile and install it by running the following commands.

git clone https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-awsutilities-commandrunner.git

cd aws-cloudformation-resource-providers-awsutilities-commandrunner

./scripts/build.sh

You'll need Java, Maven and CFN CLI installed, I have the following versions running.

$ cfn --version
cfn 0.2.35

$ mvn -version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 19.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "14.1.1", arch: "aarch64", family: "mac"

$ java -version
java 19.0.2 2023-01-17
Java(TM) SE Runtime Environment (build 19.0.2+7-44)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing)

Please note that register.sh is still not working and I am still working on fixing that up, but in the meanwhile you can use build.sh.

Please let me know if you run into any issues. Appreciate your patience while we fixed this!

shantgup commented 6 months ago

Register.sh is fixed! Everything works like before now.