Changeset 17306

Show
Ignore:
Timestamp:
17.09.2008 13:45:46 (11 years ago)
Author:
oranfry
Message:

have the linux wrapper use the new libsearch4j format

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/linux/wrapper.cpp

    r16211 r17306  
    5959    //check if an appropriate java is found 
    6060    Jvm minimum; minimum.setVersionFromString( "@java.min.version@" ); 
    61     string hint = "./@java.extracted@"; 
     61    string phint = "./@java.extracted@"; 
     62    string hint = ""; 
    6263    Jvm foundJvm; 
    63     bool jvmFound = find( foundJvm, true, minimum, hint, false ); 
     64    bool jvmFound = find( foundJvm, true, minimum, phint, hint, false ); 
    6465 
    6566    //if the jvm was not found, report not found 
     
    7172        //tell them if java is absent or just too old 
    7273        Jvm tmpJvm; 
    73         if ( find(tmpJvm,false,minimum,hint,false) ) { 
     74        if ( find( tmpJvm, false, minimum, phint, hint, false ) ) { 
    7475            cout << "You have java, but it is too old." << endl; 
    7576        } else {