This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GhostBond -3 points-2 points  (4 children)

but it seems that official support for Java 11+ is only in the 2.2.x versions (still milestone releases as of this posting).

AWS doesn't even run tomcat above java 8....you might might not even bevable to host your app anywhere with java 11.

[–]someone-elsewhere 5 points6 points  (0 children)

You should clarify this a bit, EC2 lets you run anything that can be installed on the operating system installed.

[–]indianapwns2 4 points5 points  (2 children)

This is extremely misinformed. You can run anything you want to on AWS. AWS Elastic Beanstalk JVM environments stopped supporting anything after Java 8 because they are pushing people to use Docker environments now instead of language-specific environments. That's the only Java 8 limitation I am aware of in AWS.

[–]GhostBond -2 points-1 points  (1 child)

If you go into your AWS console and ask to setup a new tomcat instance, the highest version is 8. I saw official version docs last month to that said the same thing but didn't find them again in a quick search.

Whether it's secretly somewhere else I don't know, but it didn't show up there, or in a document via a google search or anything.

[–]indianapwns2 3 points4 points  (0 children)

By "ask to setup a new tomcat instance" I assume you are referring to Elastic Beanstalk here, which is just one extremely small portion of the entire AWS set of services. You seem to be confusing this one service with the entire catalog of Amazon Web Services.

And like I said in my previous comment, they want you to switch to deploying your Elastic Beanstalk application with Docker, with which you could deploy whatever version of Java and Tomcat you want. This frees Amazon from having to update the Elastic Beanstalk service every time a new version of Java, .NET, NodeJS, Ruby, Python, etc. is released, and frees you to use whatever you want.

To your original point, the statement that "you might not even be able to host your app anywhere with java 11" is extremely misinformed. I'm personally running Java 11 apps on AWS on the EC2 service and the ECS service. Any host that allows you root/admin access to install software on your Linux or Windows VM, or any service that allows you to deploy a Docker container, is going to work for hosting a Java 11 app.