Community
Participate
Working Groups
/* startup jar was specified on the command line */
ch = _tcsdup(startupArg);
/* check path will check relative paths against programDir and workingDir */
file = checkPath(ch, programDir, 0);
file = checkPath(ch, programDir, 1);
if(file != ch)
free(ch);
/* check existence */
/* old startup.jar? */
ch = OLD_STARTUP;
if (_tstat( file, &stats ) == 0)
return (file == ch) ? _tcsdup(ch) : file;
vmName[length - 1] = 0;
}
vmName = checkPath(vmName, programDir, 0);
vmName = checkPath(vmName, programDir, 1);
type = checkProvidedVMType(vmName);
switch (type) {
case VM_DIRECTORY:
static int initialArgc;
static _TCHAR** initialArgv;
_TCHAR* eclipseLibrary; /* path to the eclipse shared library */
_TCHAR* eclipseLibrary = NULL; /* path to the eclipse shared library */
#ifdef UNICODE
extern int main(int, char**);
struct _stat stats;
if (library != NULL) {
path = checkPath(library, programDir, 0);
path = checkPath(library, programDir, 1);
if (_tstat(path, &stats) == 0 && (stats.st_mode & S_IFDIR) != 0)
{
/* directory, find the highest version eclipse_* library */