wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Install JDK question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Install JDK question" Watch "Install JDK question" New topic
Author

Install JDK question

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
I installed JDK on computer A as C:\jdk1.4.0.
Can I simply copy this folder (jdk1.4.0) to computer B? Will this install JDK on B?
Thanks.


BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
You may want to adjust the path and classpath settings after such an operation - but you wouldn't have to depending on how you use the JDK.
I think that the best answer is, "Give it a try and find out how well it works."
If you let us know what you learn, we all get to learn something.
Good Luck.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
It depends on whether or not the install affects the registry, installs files in other subdirectories, etc. I have not seen any documentation on it, but it seems that suddenly my javac is coming from 1.4 even though I have not changed my path and classpath.

I think would copy the .exe file and reinstall it with the install program. But if you decide to try installing with just copying the files in the subdir, let us know whether or not it works.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Install JDK question
 
Similar Threads
AnyJ
Trouble installing JDK 7
control to display HTML
What is the deal with Java Applets on WIndows XP?
JFileChooser problem with jdk1.4.1_01