1 /*
2 * Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
83 /*
84 * Report an exception which terminates the vm to stderr or a window
85 * as appropriate.
86 */
87 void ReportExceptionDescription(JNIEnv * env);
88
89 jboolean RemovableMachineDependentOption(char * option);
90 void PrintMachineDependentOptions();
91
92 /*
93 * Functions defined in java.c and used in java_md.c.
94 */
95 jint ReadKnownVMs(const char *jrepath, char * arch, jboolean speculative);
96 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
97 void* MemAlloc(size_t size);
98
99 /*
100 * Make launcher spit debug output.
101 */
102 extern jboolean _launcher_debug;
103
104 #endif /* _JAVA_H_ */
|
1 /*
2 * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
83 /*
84 * Report an exception which terminates the vm to stderr or a window
85 * as appropriate.
86 */
87 void ReportExceptionDescription(JNIEnv * env);
88
89 jboolean RemovableMachineDependentOption(char * option);
90 void PrintMachineDependentOptions();
91
92 /*
93 * Functions defined in java.c and used in java_md.c.
94 */
95 jint ReadKnownVMs(const char *jrepath, char * arch, jboolean speculative);
96 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
97 void* MemAlloc(size_t size);
98
99 /*
100 * Make launcher spit debug output.
101 */
102 extern jboolean _launcher_debug;
103 /*
104 * This allows for finding classes from the VM's bootstrap class loader
105 * directly, FindClass uses the application class loader internally, this will
106 * cause unnecessary searching of the classpath for the required classes.
107 */
108 typedef jclass (JNICALL FindClassFromBootLoader_t(JNIEnv *env,
109 const char *name,
110 jboolean throwError));
111
112 jclass FindBootStrapClass(JNIEnv *env, const char *classname);
113
114 #endif /* _JAVA_H_ */
|