Reputation:
I use Solr in my website, and now I am about to configure my VPS account.
I am at the stage where I need to install java in order to make Solr work.
Now, I only plan on running solr, and using it as it is (I have no java programming skills at all), so my Q is, do I need the entire JDK which includes JRE, or is JRE enough?
Thanks
BTW: My server OS is Linux (ubuntu 9.10).
Thanks
Upvotes: 4
Views: 9369
Reputation: 166
Installing Solr just need JRE which is Java runtime environment, you require JDK if you intend to compile the java programs. Although, installing JDK gives you JRE as well but that is something which is not required by you.
Just install JRE and you will be good to go. For more details on difference between JDK and JRE, use following link:
Which one to download: JDK or JRE?
Upvotes: 0
Reputation: 2959
To only make it run JRE
is sufficient.
However in development environment having a JDK is useful cause with it comes bunch of handy tools for profiling/monitoring the application.
In a production build while packing consider just the JRE.
Upvotes: 4
Reputation: 33143
You need the JRE only. If you do use the admin screens you will however need the JDK as these are servlets.
Upvotes: 1
Reputation: 5123
This FAQ explains when a JDK is needed instead of just a JRE.
Upvotes: 2