VOTG
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Beginning Java
 
RSS feed
 
New topic
Author

Query on JDK installer?

Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Messages: 304

I wanted to know if explicitly installing JDK on a machine is any different from copying the JDK folder to it from a machine where that JDK was installed?

SPOJ ROCKS!!!
Prashant Langade
Greenhorn

Joined: Jul 01, 2009
Messages: 14

Obviously yes..
You need to install it separately.Copying only the folder doesn't work.

Prashant
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Messages: 285

The explicit installation might do additional things like setup the Path & possible create an uninstall link.
Other than that - I really don't think there is any difference in the two approaches.

Cheers - Sam.
Twisters - The new age Java Quiz || Programming Puzzle Sites
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Messages: 304

Prashant Langade wrote:Obviously yes..
You need to install it separately.Copying only the folder doesn't work.

Prashant


Ok. But what additional does the installer do?

This message was edited 1 time. Last update was at by Satya Maheshwari


SPOJ ROCKS!!!
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Messages: 285

Prashant Langade wrote:Obviously yes..
You need to install it separately.Copying only the folder doesn't work.

Prashant


Nopes. Coping Just the folder works!!

Cheers - Sam.
Twisters - The new age Java Quiz || Programming Puzzle Sites
Campbell Ritchie
Bartender

Joined: Oct 13, 2005
Messages: 14935

Obviously the only thing required for the folder to work is its PATH environment entrz.
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Messages: 285

Campbell Ritchie wrote:Obviously the only thing required for the folder to work is its PATH environment entrz.


and if you compile the way I was taught in college - by going into the bin directory you might not even have to do that!!!

Cheers - Sam.
Twisters - The new age Java Quiz || Programming Puzzle Sites
Rob Prime
Bartender

Joined: Oct 27, 2005
Messages: 8776

The installation also updates your registry. Now I don't know if it only needs to do that to be able to use C:\WINDOWS\system32\java.exe and C:\WINDOWS\system32\javaw.exe, which are actually nothing more than wrappers that call the same executable from one of the actually installed JREs, but I still wouldn't try the simple copying myself, to be honest.

SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Beginning Java
 
RSS feed
 
New topic
replay challenge

.