File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes JRE install Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JRE install" Watch "JRE install" New topic

JRE install

Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
I've installed the SDK on a couple of computers, and each time I had to do that thing with the OS where you have to configure the OS in order to tell the computer the pathway variable to find java. How about installing the JRE? I looked at the installation instructions for installing the JRE and I didn't see anything about setting any path variables. Is it really not necessary?
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

as far as I know, the JRE is installed alongwith the SDK, and you need to set the path always, no matter what you install.

Hope this helps

|Asking Good Questions|
marc weber

Joined: Aug 31, 2004
Posts: 11343

Setting the PATH allows command-line input (e.g., javac) to find its way. If you are installing only the JRE and not the SDK, then you do not need to set a PATH.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
Thank you. Everything worked out alright without setting any path variables, because I installed only the JRE.
I always wondered why you have to set the path for javac. It's because you have to use the command line for javac. That makes sense.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

The latest installs usually put in all the environmental variables. Netbeans can help you a great deal with the development

===Vyas Sanzgiri===
My Blog
I agree. Here's the link:
subject: JRE install
jQuery in Action, 3rd edition