Home > Java > javaTutorial > body text

Override java version on flutter

DDD
Release: 2024-11-03 12:27:03
Original
928 people have browsed it

Override java version on flutter

Today, I have a requirement to override the Java version on the Flutter project.

I used sdkman for switching between multiple Java versions, and in this case I used java 17.0.12. For the Flutter version, I used fvm and used flutter 3.24.0 on this project.

Here is the command to set java version:

fvm flutter config --jdkdir=/Users/sugiarto/.sdkman/candidates/java/current
Copy after login

Where jdkdir should point to your absolute path of the Java directory.

The above is the detailed content of Override java version on flutter. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template