IntelliJ Java IDE
The moose likes Beginning Java and the fly likes Query on JDK installer? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Query on JDK installer?" Watch "Query on JDK installer?" New topic
Author

Query on JDK installer?

Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 365
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?


Thanks and Regards
Prashant Langade
Ranch Hand

Joined: Jul 01, 2009
Posts: 70
Obviously yes..
You need to install it separately.Copying only the folder doesn't work.

Prashant
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Posts: 539

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 || My Blog
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 365
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?
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Posts: 539

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!!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 26710
Obviously the only thing required for the folder to work is its PATH environment entrz.
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Posts: 539

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!!!
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18365

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
 
 
subject: Query on JDK installer?
 
Threads others viewed
JDK location
date and time
Hi can anybody solve this problem....
still this code gives compile time error
Cannot compile in 1.5
developer file tools