one of my friend is making projects which included java functionality, he was asking me that is there any way to dectect java runtime files from windows machine. If java exists that script should return its path, but if doesn't than it should prompt that Java runtime files not found.
as u had seen while installing apache tomcat it detects is JDK is installed on that PC or not. if it is not found than it quits the installation and incase JDK is installed it prompts user and continue its installation.
anyhelp will be appreciated.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL