Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update what-platforms-are-supported.adoc #13424

Closed
wants to merge 3 commits into from

Conversation

nrkkalyan
Copy link

@nrkkalyan nrkkalyan commented Mar 8, 2024

Added some additional clarification on the java version support.

Description

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Added some additional clarification on the java version support.
@nrkkalyan
Copy link
Author

Added additional clarity with respect to supported java versions for each version

@davsclaus
Copy link
Contributor

Java 8 supported from 3.0 to 3.14
Java 11 supported for all of 3.x
Java 17 supported from 3.17
Java 21 supported from 4.2

@davsclaus
Copy link
Contributor

Can you use this information to update the PR with better information, thanks

added Java 21 support information
@nrkkalyan
Copy link
Author

Hi Claus

Thank you for your comments, but sorry to say, I don't understand what you mean "update the PR with better information,"

As my understanding is, one can use latest Java version (Java11 or above) for 3.x Apache camel.
And 3.x is not restricted to work only with Java11.
Like wise 3.17 is compatible to compile and run with Java 17 and higher java version.
Please clarify?

@davsclaus
Copy link
Contributor

Remove the + sign

@nrkkalyan
Copy link
Author

The + sign I mean for java 11 and above.
Is it not the case that one can use Java 17 to compile and run applications with apache 3.x?

@davsclaus
Copy link
Contributor

The + sign I mean for java 11 and above. Is it not the case that one can use Java 17 to compile and run applications with apache 3.x?

Only in Camel 3.17 onwards, as I listed in previous comments. The JDK versions change during the years.

Added compile and JRE version
@nrkkalyan
Copy link
Author

Ok I have added changes that would clearly state the different java versions one can use to Compile and as Runtime environments.
Basically this states that if an application is using any of the apache-camel version, say 3.16.0 then that application can use JRE 21. Please let me know if one cannot use JRE-21 for 3.16.0?

@davsclaus
Copy link
Contributor

No we dont support official any kind of JRE version - We only support JDK11, 17, 21 and so on. If you use JDK12, 14, 18 or whatever then its not supported.

@nrkkalyan
Copy link
Author

I mean running my own application that uses camel say 3.16.0.
So in that case still I cannot use Java 21 to compile and run my application just because my application has a dependency on camel 3.16.0? This is very strange. Please clarify if I can use JDK 21 to compile and run my application.

If you mean to say official support then do you mean, if my application is using camel 3.16.0 then you won't support if the error occurred in my application due to running in Java 21.

@davsclaus
Copy link
Contributor

Yes you can see the supported version on download page
https://camel.apache.org/download/

For example Camel 4.4 says
Supports Java 17 and 21

@davsclaus
Copy link
Contributor

If you mean to say official support then do you mean, if my application is using camel 3.16.0 then you won't support if the error occurred in my application due to running in Java 21.

Yes correct. Also ASF is only community support.

@nrkkalyan
Copy link
Author

nrkkalyan commented Mar 11, 2024

Yes you can see the supported version on download page https://camel.apache.org/download/

For example Camel 4.4 says Supports Java 17 and 21

Sorry for extending the discussion, but it is very important for me and possibly others to understand the JRE part of camel.

I am not sure if I was able to convey my question properly when I say JRE.
My case is I have a batch application deployed on AWS platform, the application process some files from S3 bucket.
My application stack is: Java-21, Spring 2.7.x, Camel 3.16.0.

I understand the support part. But other than that,
If I use camel 3.16.0 in my application compiled and running on JDK-21 on AWS platform will there be any problem?

@davsclaus
Copy link
Contributor

Yes you can see the supported version on download page https://camel.apache.org/download/
For example Camel 4.4 says Supports Java 17 and 21

Sorry for extending the discussion, but it is very important for me and possibly others to understand the JRE part of camel.

I am not sure if I was able to convey my question properly when I say JRE. My case is I have a batch application deployed on AWS platform, the application process some files from S3 bucket. My application stack is: Java-21, Spring 2.7.x, Camel 3.16.0.

I understand the support part. But other than that, If I use camel 3.16.0 in my application compiled and running on JDK-21 on AWS platform will there be any problem?

I dont know try it out - its very likely it will as JDK have great backwards compatability, but Camel also uses 3rd party JARs and they may not.

The ASF Camel project only support the JDK and Camel combinations I already mentioned. We have 25.000+ tests executed on CI servers for the JDK + Camel combinations that we use to help verify.

@davsclaus
Copy link
Contributor

If you need more help then ask on the chat room or mailing list

@davsclaus davsclaus closed this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants