Answer the question
In order to leave comments, you need to log in
Is it possible to run a project compiled on JDK 13 on earlier versions of the JDK?
Hello, I wrote some project and compiled it using JDK 13, now I need to distribute it to some PCs that have JDK 6 installed, tell me if it is possible to build the project so that it runs regardless of the JDK version, or can I do an adaptation or rebuild project on an earlier version? If it is possible, tell me what manipulations need to be done for this?
Answer the question
In order to leave comments, you need to log in
You can, if your code does not use the features of new versions of the language. It is enough to specify the version of the target platform when compiling.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question