diff options
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/util.hxx')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.hxx b/jvmfwk/plugins/sunmajor/pluginlib/util.hxx index 0f0bf04f2619..38d3175dacc5 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.hxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.hxx @@ -39,6 +39,12 @@ bool getJREInfoFromBinPath( const OUString& path, std::vector<rtl::Reference<VendorBase> > & vecInfos); inline OUString getDirFromFile(const OUString& usFilePath); void createJavaInfoFromPath(std::vector<rtl::Reference<VendorBase> >& vecInfos); + +/* Returns a VendorBase object if JAVA_HOME environment variable points + to a JRE. + */ +rtl::Reference<VendorBase> getJavaInfoFromJavaHome(); + void createJavaInfoFromJavaHome(std::vector<rtl::Reference<VendorBase> > &vecInfos); void createJavaInfoDirScan(std::vector<rtl::Reference<VendorBase> >& vecInfos); #ifdef WNT |