62,635
社区成员




import com.ice.jni.registry.*;
public class RegeditTest
{
public static void main(String[] str)
{
try
{
RegistryKey child = Registry.HKEY_LOCAL_MACHINE.openSubKey("SOFTWARE\\Tencent\\QQ");
String subKeyValue = child.getStringValue("install");
Runtime.getRuntime().exec(subKeyValue+"qq.exe");
System.out.println(subKeyValue);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}