How can I retrieve configured JRE path from Basic or Python?

I try with this code

Sub Main
   GlobalScope.BasicLibraries.LoadLibrary("Tools")
oKey = GetRegistryKeyContent("/org.openoffice.Office.Java/Install", False)
   print oKey.PackageInstallationDirectory
End Sub

But value is a null string
Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to