Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Detect Java Installation from a Batch File

807607Nov 8 2006 — edited Nov 8 2006
Hi ,

I need to find out the Java Installed on my machine from a bat file. The actual requirement is that i need to check if the Java Version is equal to or greater than 1.5 from a batch file , if not then i have to echo an error.
IF anyone has a sample for the same can you please provide it. Its kind of Urgent.
Thanks in advance.

RK
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2006
Added on Nov 8 2006
3 comments
1,157 views