Re: Detect .NET presence
Ted Neward <[email protected]> Tue, 2 Sep 2008 10:14:18 -0700
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <05b401c90d1f$69224290$3b66c7b0$@net> |
There's always calling a native method that tries to create an instance of a .NET AppDomain in the same process.... Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com > -----Original Message----- > From: Discussion of advanced Java topics. [mailto:ADVANCED- > [email protected]] On Behalf Of Sergey Marakhov > Sent: Wednesday, August 20, 2008 11:34 PM > To: [email protected] > Subject: [ADVANCED-JAVA] Detect .NET presence > > Hi all. > > We need to detect from our java application if .NET is installed on the > box where the application is running, and if it is - what version. > > We could read the registry keys (I guess). > We could also scan the c:\windows\microsoft.net\framework. > > I don't like those - I'm looking for something more reliable and > simple, for example using a 3rd party library that would do it for me. > > Any ideas? > > Thank you, > ------------------------------------ > Sergey Marakhov > Quest Software > (613) 9811 8083 > > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 270.6.5/1618 - Release Date: > 8/18/2008 6:51 AM > No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.6.14/1647 - Release Date: 9/2/2008 6:02 AM =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com