From 87125874b5fc0c137ce18b552b505909ea9c9290 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 5 Jun 2014 21:29:58 +0800 Subject: [PATCH] Set a property that the LambdaWorks SCrypt library expects to be present. --- src/classpath-openjdk.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/classpath-openjdk.cpp b/src/classpath-openjdk.cpp index 7f35b8a7b3..aa65c445a1 100644 --- a/src/classpath-openjdk.cpp +++ b/src/classpath-openjdk.cpp @@ -2968,6 +2968,8 @@ jvmInitProperties(Thread* t, uintptr_t* arguments) local::setProperty(t, method, *properties, "java.vm.info",AVIAN_INFO); #endif + local::setProperty(t, method, *properties, "java.vm.specification.name", "Java Virtual Machine Specification"); + local::setProperty (t, method, *properties, "java.home", static_cast(t->m->classpath)->javaHome);