• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query on JDK installer?

 
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Obviously yes..
You need to install it separately.Copying only the folder doesn't work.

Prashant
 
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Saifuddin Merchant
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!!
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Obviously the only thing required for the folder to work is its PATH environment entrz.
 
Saifuddin Merchant
Ranch Hand
Posts: 608
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!!!
 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic