how to set path in java jdk in window

 

Permanent Path of JDK


To set the permanent path of the JDK on your system, follow the steps below.

step 1 right click on This PC  and go to properties


step 2 go to advance system setting

step 3 Click on the environment variables in the tab


step 4 Go to user variables and click on new.



step 5 copy java path up to bin directory



step 6 Add the variable name as ‘path’ & copy path and paste 


step 7 click ok  and then again ok 














    Comments

    Popular posts from this blog

    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver