[英]wfdb supported jvm 1.8.0_112 (using Octave and Windows)?
I am trying to install wfdb into octave on 64 bit Windows. 我正在尝试在64位Windows 上将wfdb安装到八度。 I used the run of the mill installer to grab octave 4.2 and the JRE 8u112 , both are the 64 bit versions. 我使用磨机安装程序的运行来获取octave 4.2和JRE 8u112 ,它们都是64位版本。 wfdb seems to install correctly and all the paths seem to be fine, but when I call wfdb似乎安装正确,并且所有路径都很好,但是当我打电话时
>> wfdbdemo
I get the following error: 我收到以下错误:
error: Cannot load on unsupported JVM: Java 1.8.0_112
I am guessing that the newest version of JVM is too new for the wfdb toolbox? 我猜测JVM的最新版本对于wfdb工具箱来说太新了吗? What version of the JVM should I get in order to run this? 我应该获得哪个版本的JVM才能运行它?
Later... 后来...
OK, so the latest version of wfdb on github does have the JVM 8 jar, so I snagged that. 好的,因此github上的最新版本的wfdb确实具有JVM 8 jar,因此我对此有所保留。 Now I get the error: 现在我得到了错误:
octave> wfdbdemo
error: javaMethod: could not find library or dependencies: C:\Program Files\Java\jre1.8.0_112\bin\client\jvm.dll
I've not seen any jre folder called client. 我还没有看到任何名为client的jre文件夹。 Apparently the call to javaMethod (line 100 in wfdbloadlib.m) return this. 显然,对javaMethod的调用(wfdbloadlib.m中的第100行)返回此值。
Later (again)... 稍后(再次)...
So this is a bug that has to do with Java . 因此,这是与Java有关的错误。 I fiddled the registry so that it says 'server' instead of 'client' now, but I still get no joy. 我摆弄了注册表,以便它现在显示“服务器”而不是“客户端”,但是我仍然不高兴。 Now the problem is 现在的问题是
octave> wfdbdemo
error: javaMethod: could not find library or dependencies: C:\Program Files\Java\jre1.8.0_112\bin\server\jvm.dll
But, the path C:\\Program Files\\Java\\jre1.8.0_112\\bin\\server\\jvm.dll
certainly is there and all things are 64 bit --- with the possible exception of the wfdb jar that comes with the source code on github . 但是,路径C:\\Program Files\\Java\\jre1.8.0_112\\bin\\server\\jvm.dll
肯定存在,并且所有内容都是64位---可能是源代码附带的wfdb jar例外在github上 。
I also have difficulty as you: 您也遇到了困难:
wfdb error: Cannot load WFDB JAR on unsupported JVM: Java 1.8.0_151 error: called from wfdbloadlib at line 107 column 9 wfdb at line 11 column 10 wfdb错误:无法在不受支持的JVM上加载WFDB JAR:Java 1.8.0_151错误:从wfdbloadlib在第107行第9列调用wfdb在第11行第10列
Here is what did to resolve the error: 以下是解决错误的方法:
C:\\Program Files
: 这将在C:\\Program Files
产生两个文件夹: C:\\Program Files\\Java\\jre7
C:\\Program Files\\Java\\jdk1.7.0_80
C:\\Program Files\\Java\\jre7
C:\\Program Files\\Java\\jdk1.7.0_80
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.