due to space reasons, I have changed the directory (E: instead of C:) in which I installed Java JRE. However, my browsers do not seem to be able to find the Java plugin when I do this. I have tried this with multiple browers (Firefox, Opera) so I do not think it is browser specific.
Is there any other setting I need to change? I have kept the folder names the same. And I am using Windows 10.
I have checked "Configure Java" and Java is enabled. Clicking on "Update Java" in the Java Control Panel also shows me that it is the latest version.
How can I get Java to work in my browsers?
Related
I have a problem getting my SDK to intelliJ idea, i have downloaded Java SE newest edition, and put it in a seperate folder on my desktop. Whenever i chose it from intellij it just shows an error, Anybody knows a fix?
Check if you have there really the JDK home. If you click to the arrow on the left of your Java SE, it should look something like this (my jdk1.8.0_152 is the proper home folder of a JDK):
Also your Java SE\bin folder should contain the javac.exe file - notice the c at the end of the file name :)
I always download the full installer from Oracle (just search google for oracle java SE JDK download) and then run it. You may specify the destination folder where you want it to be installed, or you rather leave the default (I strongly recommend that).
So I installed the latest Java SE Development Kit (jdk1.8.0_112) that come with JRE (jre1.8.0_112) so I notice I now have two JREs one I got from java.com (jre1.8.0_111)
So what I did is I uninstalled the (jre1.8.0_111) but then when I tried to visit java.com to verify if my JRE is working it seems like it does not work. it just ask me to download it which is the version (jre1.8.0_111).
My question is does the JRE included in the SDK is for development purposes only? and is different from the JRE the end users get??
both JRE foot prints are same. only difference is additionally you get development libraries(+ JRE) with JDK(java development Kit) as opposed to standalone JRE installtion
My question is does the JRE included in the SDK is for development purposes only?
No.
and is different from the JRE the end users get??
No.
What has actually happened here is that your web browser's Java plugin apparently cannot find the previously configured Java installation anymore. The "verify" page is checking that the Java that your browser is using in its plugin is the right one.
If you don't have Java enabled in your browser (wise move!!) then it doesn't matter that it won't work (!)
If you do need the browser's Java plugin to work, the I suggest that you uninstall the JDK and reinstall it. If that fails, you will need to dig deeper to find out why the plugin is not working.
Alright, so reinstalling the SDK didn't actually solve my problem but I think I figured out what's wrong. So the JDK that I downloaded is for 64bit windows thus it includes 64bit JDK and JRE BUT the browser that I am using is 32bit! which is why it needs a 32bit JRE to run Java. So basically I need 32bit JRE for it to work on my browser.
(by default internet explorer and firefox uses 32bit regardless if u have 64bit OS, but u can freely switch to 64bit if you want but not recommended since some web content may not work properly in a 64-bit browser - got this info from this link)
I have the latest java by now 1.8.0_25 on my mac. version checker says it's fine.
But I 'm getting this error
If I click 'Later' it works, but then appears again later. I see this almost since the release of 1.8.
I also have jdk1.7 and 1.6(apple) installed. enter image description here
I had the exact same problem for the longest time. No old Java VM showed up in the system preferences. I eventually found and old JDK in /Library/Java/JavaVirtualMachines.
Check in the following locations for "old" VMs:
find /Library -name '*java*'
find /System/Library -name '*java*'
find ~/Library -name '*java*'
On Mac, a newer JDK does not necessarily replace an older JRE. So it might be that you have the latest JDK, but still an old JRE somewhere. Go to the Apple menu and choose "System Preferences…". There should be a "Java" entry in the last section. Clicking on it should open the Java Control Panel in a separate window.
Check what it says there in the Update-tab. My guess is, that there is still an older version listed. So I would just update it. You can also check if on the "Java" tab in the Control Panel, if there are multiple versions listed and which one is the top one. Maybe reordering them if you have multiple to have the newest on top might help as well.
Windows 7 64bit. I have a web based application that needs to use the newest version of java (1.7.0.45) and I have another software install the needs java versions (1.5.0.15 & 1.4.2). I'm just unsure how to set the PATH/VARIABLE for this to work properly.. any help would be greatly appreciated.
I have seen several posts & answers regarding very similar situations to this, but I am just unsure how to make this work.
As mentioned by #Moshe here.
It is absolutely possible to install side-by-side several JRE/JDK
versions. Moreover, you don't have to do anything special for that to
happen, as Sun is creating a different folder for each (under Program
Files).
There is no control panel to check which JRE works for each
application. Basically, the JRE that will work would be the first in
your PATH environment variable. You can change that, or the JAVA_HOME
variable, or create specific cmd/bat files to launch the applications
you desire, each with a different JRE in path. Just like below,
set JAVA_HOME=C:\...\j2dskXXX to change the JAVA_HOME environment.
How can I test Java Applet application in the Firefox with different Java Plugins versions?
For instance, with Java 6 and Java 7?
Is there a way to guide Firefox to the correct java.plugin.dll?
Haven't found any Firefox command-line options with regard to NPAPI so far.
Finally, I managed to do this.
Steps to make your computer use another JRE/JDK:
Open regedit.
Open HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\#java.com/JavaPlugin,version=XXX subtree.
Change Path value to the place, where your plugin dll is. E.g.: c:\java\jdk1.6.0_37\jre\bin\plugin2\npjp2.dll.
Change Version value E.g.: 1.6.0_37.
Make sure, that you have correct Java in %PATH% environment variable.
In the Control Panel -> Java -> View disable all javas that you will not use. Select only the one you need.
Have fun!
Deploy the applet using JNLP and specify the appropriate version in the j2se element of the resources section. That would be 1.6* & 1.7* respectively. Note that will only work for 1.6 versions that implement the Plug-In 2 architecture JRE (e.g. Oracle's 1.6.0_10+).
See also Java Web Start - Runtime Versioning for details on version string usage.
Alternately
Go to the control panel and navigate to the JNLP Runtime Settings.
To test in 1.6, select the 1.6 JREs, and deselect the 1.7.