Skip to content

Commit 814e97e

Browse files
authored
Merge pull request #12 from LeeKamentsky/master
Update with Lee's changes
2 parents 96048da + bebed64 commit 814e97e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

javabridge/locate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def find_jre_bin_jdk_so():
255255
java_home = find_javahome()
256256
if java_home is not None:
257257
found_jvm = False
258-
for jre_home in (java_home, os.path.join(java_home, "jre"), os.path.join(java_home, 'default-java')):
258+
for jre_home in (java_home, os.path.join(java_home, "jre"), os.path.join(java_home, 'default-java'), os.path.join(java_home, 'default-runtime')):
259259
jre_bin = os.path.join(jre_home, 'bin')
260260
jre_libexec = os.path.join(jre_home, 'bin' if is_win else 'lib')
261261
arches = ('amd64', 'i386', '') if is_linux else ('',)

mac_javabridge_utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,7 @@ void MacRunLoopRunInMode(double timeInterval);
101101
****************************************************************************/
102102

103103
void MacRunLoopStop();
104+
105+
void StopVM(JavaVM *vm);
106+
107+
int CreateJavaVM(JavaVM **pvm, void **pEnv, void *args);

0 commit comments

Comments
 (0)