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 Installing Java using batch file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Installing Java using batch file" Watch "Installing Java using batch file" New topic

Installing Java using batch file

Dhammdip Jadhav

Joined: Jul 07, 2008
Posts: 2
Hi friends ,
I want to install java using windows batch file,means suppose I have java.exe file and I want it to convert in batch file.I am totally new to this topic and I am really not getting what to do..?
I am not aware of batch programming too.If someone can help will be appreciated. Any suggetions,links,data most welcome.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1599
You want to install Java or java program?

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46375
If on Windows, it is easy: find the jdk6u7 installer here download it and double-click it. It works the same as any other Windows installers.

The hard part, which is in the installation instructions, is updating the PATH. Find those instructions and follow them to the letter; if you get your PATH wrong it won't work at all.
I agree. Here's the link:
subject: Installing Java using batch file
It's not a secret anymore!