]>
Commit | Line | Data |
---|---|---|
58eb6e7c AG |
1 | /* Copyright (C) 1999 Cygnus Solutions |
2 | ||
3 | This file is part of libgcj. | |
4 | ||
5 | This software is copyrighted work licensed under the terms of the | |
6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for | |
7 | details. */ | |
8 | ||
9 | /* Author: Kresten Krab Thorup <krab@gnu.org> */ | |
10 | ||
11 | #include <jvm.h> | |
27e934d8 | 12 | #include <gcj/cni.h> |
58eb6e7c AG |
13 | #include <stdio.h> |
14 | ||
15 | #include <java/lang/System.h> | |
16 | #include <java/util/Properties.h> | |
17 | ||
76ed0c0a TT |
18 | // This is used to initialize the compiled-in system properties. |
19 | const char *_Jv_Compiler_Properties[] = | |
20 | { | |
21 | NULL | |
22 | }; | |
23 | ||
24 | int | |
25 | main (int argc, const char **argv) | |
58eb6e7c AG |
26 | { |
27 | if (argc < 2) | |
28 | { | |
76ed0c0a | 29 | printf ("usage: %s CLASS [ARGS]...\n", argv[0]); |
58eb6e7c AG |
30 | exit (1); |
31 | } | |
32 | ||
76ed0c0a | 33 | _Jv_RunMain (argv[1], argc - 1, argv + 1); |
58eb6e7c | 34 | } |