What are examples of modifiers?
No Answer is Posted For this Question
Be the First to Post Answer
What is generic class?
What is charat ()?
Explain about OOPS concepts and fundamentals.
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is the purpose class.forname method?
What is the difference between abstract class and interface1? What is an interface?
What are parent methods and how can you call them?
Can we overload final method in java?
How do you ensure that n threads can access n resources without deadlock?
What's the base class in java from which all classes are derived?
What are the types of web technologies?
Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }