I have a JRE already installed on my system, but looks that I need to install JDK.
Is it possible to keep the JRE installed and install JDK also or I should to remove the JRE before.
any advice? because it should be better for me if I don't delete any old programme.
You can install JDK without uninstalling JRE. It will be ok and work fine.
BUT
You should note that JDK comes with JRE, so you no need to install it separately. Also, You can install different JDK versions (e.g. jdk1.7.0_51, jdk1.8.0_149, jdk1.8.0_151, jdk1.7.0_58) side by side and all will work fine.
Related
So I'm trying to install Eclipse IDE for Java on my main pc.
I had no problem installing it on my laptop but when trying to install it on my PC I get JRE Missing webpage.
I've installed the JDK and JRE and they are both working. I could use some advice.
i also had the problem with eclipse and the JRE.
Try to delete the 2 Java versions and deinstall eclipse.
then install the JDK first and seccond the JRE. after the 2 installations install the new eclipse version(in the installer you chan choose between some installations take the first).
i hope I can help you.
Unless explicitly told in eclipse.ini Eclipse uses the system wide java command.
Easiest for you right now is to install a system wide JRE (same 32/64 bit flavor as eclipse).
I had the same issue. It was happening when installing different match of JDK version (11 in my case), with JRE (8 in my case).
So, in order to have this installation of Eclipse working make sure that you have both JDK and JRE referring to the same version. Installation will not work if they have different versions.
I followed the answer given here:
https://stackoverflow.com/a/27647491/5904193 to install Netbeans ide 8.2 with jdk 10.0.2 on windows 10 64 bits OS.
After installation, I found that the jdk was generally incompatible with the ide. So I finally got the latest Netbeans version 9.1 from Apache.
This works with my jdk so I decided to clean things up by uninstalling Netbeans 8.2. Attempting to uninstall directly with the uninstall executable fails with the same error as the installer. That is it requests jdk 8 or higher (I have only jdk 10 installed).
I then tried using the jar file trick by extracting the Uninstaller and executing the jar file with Java. Things happened (lots of output in the console screen and uninstall actually completed) but all the program files remain, I can still see the program in Programs and Features and I could even start the app using the desktop shortcut that was not even touched by the uninstall.
I suspect I could uninstall it normally if I installed jdk 8. But, I mean, there has to be a way to uninstall it without jdk 8 after being able to install without that jdk. Thanks.
"But, I mean, there has to be a way to uninstall it without jdk 8
after being able to install without that jdk."
There is no reason that should be true since you did not did not meet the "required software" standard for NetBeans 8.2, which states "Java SE 8 is required to install and run NetBeans IDE 8.2", nor did you follow the standard installation process.
So you "installed" NetBeans 8.2, but not successfully. Since it wasn't installed properly it's not surprising that the uninstall process is failing.
After installation, I found that the jdk was generally incompatible
with the ide.
That's because:
You didn't install NetBeans properly.
Regardless of that, NetBeans 8.2 does not support the use of any JDK > 8.
I suspect I could uninstall it normally if I installed jdk 8.
Perhaps, and unfortunately I think that is what you need to try. However, since you chose not to follow the normal NetBeans 8.2 installation process don't be too surprised if you still have problems.
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 used to have JRE 7 before, and now I installed JDK 8 and deleted my JRE 7 folder. I'm using Eclipse Kepler, and I added JDK 1.8 to my installed JRE's. Can I delete the JRE 1.8 folder as it's taking up space in my computer? Will it cause any problems?
JRE is a part of JDK.
No need to have JRE when you have JDK. If you open JDK folder and see, you'll have JRE folder inside it which is the same of JRE folder initially you have.
As all have said that JDK includes JRE, that is perfectly right.
But let me add more on it to fulfill an industrial Structure.
While an employee works on some project, they need JDK for they need to write code as well as compile it.
But after the development process completes, the software is ready to deliver and the client's machine will have to choose whether JDK is needed or the JRE.
I would recommend to install JRE on clients' machines because clients don't have to compile the code. Clients always goes straight forward to execute it.
So, make sure to install JRE on clients' machines, not JDK. It will give the advantage of Memory - Utilization too.
Thanks.
You can delete JRE. JDK is a superset of JRE and contains everything already.
I just got an Java update notification that Update 17 is out, so I ran the update and found that only my public JRE was updated. I still only have Update 16 of the JDK.
Is there a way to have the latest JDK automatically when it's available?
Of course, the update shouldn't get rid of old versions. That should be done manually since Eclipse is still using the old version. Once I've updated my settings I would delete the old JDK manually.
Not on Windows. If you are getting your JDK via a linux distro with an auto-updater, you could depend on that. Somehow I doubt that is what you have in mind. I do not believe that there is any Sun-supplied auto-download for the JDK.
Under OS X this is part of the operating system and is automatically updated. For Windows you must do it yourself.
Secunia PSI (a free version that runs on a single PC) will update it automatically. Read a review of it here. If you're running both Java 6 and Java 7 JREs (like me), there can be glitches and you still have to update manually sometimes.
Ninite is a great website that lets you download the latest version of multiple applications/packages. If you save the installer, it will always pull the most recent version and download/install it without prompts. Reference: https://ninite.com/help/home/update.html
I did this myself just now, only caveat is that I had to delete the older jdk folder in "C:\Program Files\Java" in order for the "java -version" command to recognize the change.
On MacOS, java can now be installed through the Homebrew package manager. After installing Homebrew, you can simply run:
brew cask install java
to install the latest java version. It can then be kept up using
brew cask reinstall java