|Downloading the JRE||Multiple JREs|
|Testing Your JRE||JDK|
|Silent JRE Installs||Links|
To use the JRE you must be running W2K, XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, Linux, LinuxARM, LinuxX86, LinuxX64, Ubuntu, Solaris, SolarisSPARC, SolarisSPARC64, SolarisX86, SolarisX64 and OSX or Solaris.
When you install multiple JREs (Java Runtime Environments)and JDKs (Java Development Kits) you will have many different java.exe, javaw.exe, javaws.exe and javac.exe installed. Which one is used depends on which JREs and JDKs you have installed, which JVMs are enabled in the Java Control Panel, the SET JAVA_HOME, the path, the current directory and the phases of moon used in a pseudo random number generator to select one of the installed Javas. Verify you are using what you expect with java.exe -version.
If you install more than one JRE/JDK, you can select the java.exe you want with:
"C:\Program Files (x86)\Java\jre8\bin\java.exe" -version
Test with -version. Just going to the directory and typing java.exe will not necessarily work.
You can find the various downloads with your browser. For Vista, W2008, W7-32, W7-64, W8-32 and W8-64, make sure you are logged in as an administrator before you install. Some suggest it is best also to turn on UAC (User Account Control) (that irritating Visa User Account control) during the install. The downloads are labelled as updates, but they are complete in themselves. You don’t need to install a previous version.
Below is how to get Java for Windows, Linux and Solaris. For other platforms (e.g. various Unices) see your OS (Operating System) vendor’s site. For example for NetBSD Unix Java is included in pkgsrc (the Packages System).
A static JRE is one kept on an old version without upgrading it to test software on old the old version.
You will get one JRE automatically installed as a side effect of installing the JDK.
Download 20MB self-installing executable. Look for the third entry, Java JRE 8 Then click Download. Then select your platform tick the licence agreement and Click Windows Offline Installation. This is most likely the version you want to download. For W2K, XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, Linux, LinuxARM, LinuxX86, LinuxX64, Ubuntu, Solaris, SolarisSPARC, SolarisSPARC64, SolarisX86, SolarisX64 and OSX, make sure you are logged in as an administrator before you install. The install will work more smoothly if you launch the install of the download with run as administrator and if you have UAC turned on. If you have 64-bit Windows, you probably want to install both the 64 and 32-bit versions of Java.
|The download includes the Java Plug-in for Applets and Java Web Start. It includes the JVM (Java Virtual Machine) and the standard class library files, but no source and no javac.exe. It does not include JavaMail or JAF. It will install in C:\Program Files\java\jre1.8.0_51\ . If you want to write your own Java programs, install the JDK instead.|
You might want to manually set your JAVA_HOME environment variable to the JRE directory e.g. C:\Program Files\java\jre1.8.0_51\ . Some software finds Java using this variable rather than poking around in the registry. If you have a JDK at well set JAVA_HOME to point to it.
Testing your JRE is more complicated that you might expect. You want to find out if Java is working properly on the desktop and in each of your browsers. Further, you want to test that Java Web Start is working properly on the desktop and in each of your browsers. Just because Java/Java Web Start works in one browser, does not mean it will automatically work in another.
Copy your various library jars into the C:\Program Files\java\jre1.8.0_51\ \lib\ext directory.
If you have Windows 7 64-bit, you will need to install two JRE s, a 64-bit one in C:\Program Files\java\jre1.8.0_51 for used by your desktop apps and by your 64-bit browsers and a 32-bit one in C:\Program Files (x86)\java\jre1.8.0_51 for use by your 32-bit browsers.
Sooner or later you will have to reinstall the JDK/JRE and you will lose your ext directories. You can quickly rebuild them if you maintain a bat file like this and run it after every JRE/JDK install. Adjust the file to account for where your ext dirs are and where the jars are you need.
java.exe -versionYou should see the expected version you just installed, probably 1.8.0_51. It can be problematic to have more than one version installed at a time.
It should tell you that your browser is using the JVM version you just installed, probably 1.8.0_51. Look for the line marked java.version. If Wassup does not run, or you have the wrong version, go into Settings ⇒ Control Panel ⇒ Java Plug-In ⇒ Browser and turn off each browser, then click apply, then turn them on again, then hit apply again. Then retest with Wassup. If that still does not work, turn on the Java console, try Wassup again and look for clues.
Then instead of saying java.exe, use the fully qualified name to select which version of the java run time you want e.g. C:\Program Files\java\jre1.8.0_51\ \bin\java.exe.
This page is posted
Optional Replicator mirror
|no blog for this page||Canadian
Your face IP:[22.214.171.124]
You are visitor number|