skip to Main Content

Can I change the Java version on Ubuntu Linux?

I set JAVA_HOME in .bashrc on my Ubuntu 22.04.2 LTS system, but when I check the version, it's still the old one: ruomini@ruomini-XPS-13-9370:~$ echo $JAVA_HOME /home/ruomini/jdk-17.0.7 ruomini@ruomini-XPS-13-9370:~$ java -version openjdk version "11.0.18" 2023-01-17 OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit…

VIEW QUESTION

How do I set values in environment for Spring Boot app in Ubuntu 22.04?

I am trying to set below values in enviornment (Ubuntu 22.04) spring.datasource.url = jdbc:mysql://localhost:3306/abc?useSSL=false spring.datasource.username = root spring.datasource.password = root I have set values in enviornment as export spring_datasource_url_prefix=mysql export spring_datasource_host=localhost export spring_datasource_port=3306 export spring_datasource_database=abc export spring_datasource_username=root export spring_datasource_password=root And…

VIEW QUESTION

Flutter – updated my gradle properties but now this java error pops up

Exception in thread "main" java.lang.RuntimeException: Could not load wrapper properties from at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:60)Caused by: java.net.URISyntaxException: Illegal character in path at index 62: at java.base/java.net.URI$Parser.fail(Unknown Source) at java.base/java.net.URI$Parser.checkChars(Unknown Source) at java.base/java.net.URI$Parser.parseHierarchical(Unknown Source) at java.base/java.net.URI$Parser.parse(Unknown Source) at java.base/java.net.URI.<init>(Unknown So at org.gradle.wrapper.WrapperExecutor.readDistroUrl(WrapperExecutor.java:81) at…

VIEW QUESTION
Back To Top
Search