javamanager/javacaptain/systemams/src/systemams.cpp
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Start point of the VM process
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <unistd.h>
       
    20 
       
    21 #include "logger.h"
       
    22 
       
    23 using namespace java::util;
       
    24 
       
    25 _LIT(KExecutableName, "javacaptain.exe");
       
    26 
       
    27 int main(int /*argc*/, char **/*argv[]*/)
       
    28 {
       
    29     RProcess proc;
       
    30     int st = proc.Create(KExecutableName, KExecutableName);
       
    31     if (st == KErrNone)
       
    32     {
       
    33         proc.Resume();
       
    34         proc.Close();
       
    35     }
       
    36 
       
    37 }