How to set path for Jre 6 when jre 7 installed?

前端 未结 12 824
深忆病人
深忆病人 2021-01-18 00:19

I am programming through java 1.6 u_17, but i have JRE version 6 and JRE version 7 installed, so how to run my compiled program from JDK 1.6 to run through the JRE 6 only?<

12条回答
  •  失恋的感觉
    2021-01-18 00:34

    There are two types of path for java : Permanent & Temporary.

    Here is the video tutorial describing how to set path for Java?

    How to Set path for Java : https://www.youtube.com/watch?v=rM4Qq3Ua7Sk

    This video tutorial will guide you in setting permanent and temporary path for Java. Simply follow the steps. This will work with any version of Java, JDK or JRE. In video I have used path of JDK, Simply copy path of JRE instead of JDK and rest is same.

    OR read the tutorial here : How to Set path for Java : http://aatul.me/2011/08/24/how-to-set-path-for-java/

    Hope this solutions will help you.

提交回复
热议问题