Ignore:
Timestamp:
2008-12-17T17:38:47+13:00 (15 years ago)
Author:
oranfry
Message:

added new options to search4j to only return a jre or only return a jre, and an option to display the type of the found jvm (whether jre or jdk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/search4j/libsearch4j.h

    r17302 r18237  
    33#include <string>
    44#include <sstream>
     5#include <sys/stat.h>
    56using namespace std;
    67#ifdef WINDOWS
     
    2728    string javaHome;
    2829    bool isJdk;
    29     bool healthy;   
     30    bool healthy;
    3031
    3132    public:
     
    4647    int getUpdate();
    4748
     49    bool getIsJre();
     50    bool getIsJdk();
     51
    4852    private:
    4953    void setVersionFromExeOuput();
     54    void setIsJdkFromJavacPresence();
    5055
    5156};
     
    5358
    5459
    55 bool find( Jvm &jvm, bool use_minimum, Jvm minimum, string phint, string hint, bool verbose );
     60bool find( Jvm &jvm, bool use_minimum, Jvm minimum, bool jreOnly, bool jdeOnly, string phint, string hint, bool verbose );
Note: See TracChangeset for help on using the changeset viewer.