Ignore:
Timestamp:
2008-04-23T17:26:48+12:00 (16 years ago)
Author:
oranfry
Message:

some updates to make the release kit produce nicer installers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk3/wrapper/mywrapper.c

    r15142 r15205  
    6666            cout << "Your java is too old." << endl;
    6767        } else {
    68             cout << "Could not find java." << endl;
     68            cout << "Could not find java on your system." << endl;
    6969        }
    7070       
     
    7373        #ifdef java_is_bundled
    7474            //yes, JRE is bundled
     75            /*
    7576            cout
    7677                << "This installer comes bundled with a suitible version of java: " << endl
     
    7980            char r[1024]; cin >> r;
    8081            if ( strcmp( r, "y" ) == 0 || strcmp( r, "Y" ) == 0) {
    81                 extract_bundled_file( java, sizeof(java), (char*)"@java.installer@", true );
    82                 system( "./@java.installer@" );
    83                 jvmFound = true; //assume the java installation went well
    84             }
     82            */
     83
     84            cout << "Using bundled java." << endl;
     85            extract_bundled_file( java, sizeof(java), (char*)"@java.installer@", true );
     86            system( "tar -xzf @java.installer@" );
     87            jvmFound = true; //assume the java installation went well
     88
     89            /*}*/
    8590        #endif
    8691
Note: See TracChangeset for help on using the changeset viewer.