anycodings_installation Java 9 on Windows 7) and my findings anycodings_installation are:ĭefault seems to be (because of Path anycodings_installation entry) c:\ProgramData\Oracle\Java\javapath\java -version The path is important because most anycodings_installation public JRE installs put a linked anycodings_installation executable at anycodings_installation c:\WINDOWS\System32\java.exe, which anycodings_installation usually overrides most other settings. anycodings_installation This will put the desired JDK first in anycodings_installation the path and any secondary tools like anycodings_installation Ant or Maven can use the JAVA_HOME anycodings_installation variable. Essentially anycodings_installation just set anycodings_installation JAVA_HOME=c:\jdk\sun\JDK_DESIRED and anycodings_installation then set PATH=%JAVA_HOME%\bin %PATH%. When in development, I have a little anycodings_installation batch file that I use to setup a command anycodings_installation prompt for each JDK version. Install older JDKs as necessary, like anycodings_installation 5u18 in c:\install\jdk\sun\5u18, but anycodings_installation don't install the public JREs. This will setup your anycodings_installation default JRE for the majority of things. 6u11, in anycodings_installation path like c:\install\jdk\sun\6u11, then anycodings_installation let the installer install public JRE in anycodings_installation the default place (c:\program anycodings_installation files\blah). anycodings_installation Here's what I do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |