Java se 111/1/2024 ![]() ![]() Sudo update-alternatives -install "/usr/bin/javadoc" "javadoc" "/usr/lib/jvm/jdk-11.0. Sudo update-alternatives -install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-11.0.4+11/bin/javac" 1 Where I could get OpenJDK 11 (LTS) build 11.0.4+11Īfter I added it to alternatives sudo update-alternatives -install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-11.0.4+11/bin/java" 1 Searching about openjdk I discovered this site OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode) OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11) I check my work laptop and it has openjdk version "11.0.4" So I got this message using tool chain: 'JDK 10 (1.10)' I checked version of jdk in my laptop it was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javaīut it inside is using tool chain: 'JDK 10 (1.10)' I had the same problem using openjdk 11 in linux Ubuntu.īut it worked ok in my work laptop. I have been with this problem for a week now, i think i tried all, but i would be really greatful if someone could help me with this. Here are the Images of the deploy failing and the environmental variables that are set up. TargetCompatibility = JavaVersion.VERSION_11īut it keeps installing jdk8 at the start of the deploy(git push heroku master) like this: Gradle app detected gradle file with =11 inside it.Īlso i have this in my adle: sourceCompatibility = JavaVersion.VERSION_11 I also tried putting to the root folder a file and also instead of. If i check java -version, and javac -version, they both show java 11. Software Filter results Levels Professional Java Certification Paths Select a product and related credential below to view the steps to get certified. ![]() set up, i have an image of all of them here, i think they are correct. Software Java Certification Paths Develop in-demand programming skills with comprehensive training on the latest Java technology. ![]() Trying to deploy my app to heroku, but it keeps failing with the error:Ĭould not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)' ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |