2014-04-20 20:14:48 -06:00
|
|
|
/* Copyright (c) 2008-2014, Avian Contributors
|
2008-02-19 11:06:52 -07:00
|
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
|
|
for any purpose with or without fee is hereby granted, provided
|
|
|
|
that the above copyright notice and this permission notice appear
|
|
|
|
in all copies.
|
|
|
|
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
|
|
details. */
|
|
|
|
|
2007-07-06 17:50:26 -06:00
|
|
|
#ifndef JNIENV_H
|
|
|
|
#define JNIENV_H
|
2007-07-06 09:24:06 -06:00
|
|
|
|
2013-02-27 13:25:50 -07:00
|
|
|
#include "avian/machine.h"
|
2007-07-06 09:24:06 -06:00
|
|
|
|
2013-01-31 14:54:23 +02:00
|
|
|
#define BOOTSTRAP_PROPERTY "avian.bootstrap"
|
2013-04-19 18:28:20 -07:00
|
|
|
#define JAVA_COMMAND_PROPERTY "sun.java.command"
|
|
|
|
#define JAVA_LAUNCHER_PROPERTY "sun.java.launcher"
|
2013-01-31 14:54:23 +02:00
|
|
|
#define CRASHDIR_PROPERTY "avian.crash.dir"
|
|
|
|
#define EMBED_PREFIX_PROPERTY "avian.embed.prefix"
|
|
|
|
#define CLASSPATH_PROPERTY "java.class.path"
|
|
|
|
#define JAVA_HOME_PROPERTY "java.home"
|
|
|
|
#define BOOTCLASSPATH_PREPEND_OPTION "bootclasspath/p"
|
|
|
|
#define BOOTCLASSPATH_OPTION "bootclasspath"
|
|
|
|
#define BOOTCLASSPATH_APPEND_OPTION "bootclasspath/a"
|
|
|
|
#define BOOTCLASSPATH_APPEND_OPTION "bootclasspath/a"
|
|
|
|
|
2007-07-06 09:24:06 -06:00
|
|
|
namespace vm {
|
2007-07-20 08:36:31 -06:00
|
|
|
|
2007-07-06 09:24:06 -06:00
|
|
|
void
|
2007-09-10 17:33:58 -06:00
|
|
|
populateJNITables(JavaVMVTable* vmTable, JNIEnvVTable* envTable);
|
2007-07-20 08:36:31 -06:00
|
|
|
|
2007-07-06 09:24:06 -06:00
|
|
|
} // namespace vm
|
|
|
|
|
2007-07-06 17:50:26 -06:00
|
|
|
#endif//JNIENV_H
|