359 jvm->appendApplicationArgument( |
359 jvm->appendApplicationArgument( |
360 JavaCommonUtils::utf8ToWstring(argv[i])); // codescanner::accessArrayElementWithoutCheck2 |
360 JavaCommonUtils::utf8ToWstring(argv[i])); // codescanner::accessArrayElementWithoutCheck2 |
361 } |
361 } |
362 |
362 |
363 #ifdef RD_JAVA_INSTALLERUI_ENABLED |
363 #ifdef RD_JAVA_INSTALLERUI_ENABLED |
|
364 #if 0 // Disable 10.1 JavaInstallerUi |
|
365 //#ifdef RD_JAVA_S60_RELEASE_10_1_ONWARDS |
|
366 jvm->appendSystemProperty( |
|
367 L"-Dcom.nokia.mj.impl.installer.ui=" |
|
368 L"com.nokia.mj.impl.installer.ui.eswt2.InstallerUiEswt"); |
|
369 // Replace RuntimeUi with installer specific implementation. |
|
370 jvm->appendSystemProperty( |
|
371 L"-Dcom.nokia.mj.impl.rt.ui=" |
|
372 L"com.nokia.mj.impl.installer.ui.eswt2.InstallerRuntimeUi"); |
|
373 #else |
364 jvm->appendSystemProperty( |
374 jvm->appendSystemProperty( |
365 L"-Dcom.nokia.mj.impl.installer.ui=" |
375 L"-Dcom.nokia.mj.impl.installer.ui=" |
366 L"com.nokia.mj.impl.installer.ui.eswt.InstallerUiEswt"); |
376 L"com.nokia.mj.impl.installer.ui.eswt.InstallerUiEswt"); |
367 #endif |
377 #endif // RD_JAVA_S60_RELEASE_10_1_ONWARDS |
|
378 #endif // RD_JAVA_INSTALLERUI_ENABLED |
368 |
379 |
369 std::wstring extendedBootClassPath; |
380 std::wstring extendedBootClassPath; |
370 // This call is platform dependent. |
381 // This call is platform dependent. |
371 starterUtils->getExtBootClassPath(extendedBootClassPath); |
382 starterUtils->getExtBootClassPath(extendedBootClassPath); |
372 if (extendedBootClassPath.length() > 0) |
383 if (extendedBootClassPath.length() > 0) |