简体   繁体   English

wfdb支持jvm 1.8.0_112(使用Octave和Windows)?

[英]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.2JRE 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: 以下是解决错误的方法:

  1. Install the 64-bit Windows JDK (ie, 7u80) . 安装64位Windows JDK(即7u80) This will result in two folders in 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

  1. Setting the following Environment Variable in Windows: 在Windows中设置以下环境变量: 环境变量

  2. Go to C:\\Program Files\\Java\\jre7\\bin , create the folder client , copy all files from server folder to client . 转到C:\\Program Files\\Java\\jre7\\bin ,创建文件夹client ,将所有文件从server文件夹复制到client 复制档案

  3. Then it should work as shown here: 然后它应该如下所示工作: 复制档案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JDK 1.8.0_112和Windows 7的类路径问题 - classpath problems with JDK 1.8.0_112 and windows 7 启动创意时出错。 加载失败 JVM DLL C:\Program Files\Java\jdk1.8.0_112 - Error Launching Idea. Failed to load JVM DLL C:\Program Files\Java\jdk1.8.0_112 Java1.8.0_112和Apache POI的JNI错误 - JNI Error with Java1.8.0_112 and Apache POI UTF-8字符集在Windows Hotspot JVM 1.8.0_201中输出无效的编码 - UTF-8 charset outputs invalid encoding in Windows Hotspot JVM 1.8.0_201 Windows 2003 Server-visualVm中的visualGC此JVM(jdk 1.7)不支持 - windows 2003 server - visualGC in visualVm Not supported for this JVM(jdk 1.7) 使用Oracle 1.8.0 JVM的OS X 10.10中出现“无Java运行时”错误 - “No Java runtime” error in OS X 10.10 using Oracle's 1.8.0 JVM Eclipse 与 JVM 版本 1.8.0_333 不兼容 - Eclipse not compatible with version 1.8.0_333 of the JVM 在 Windows 上为 MATLAB 使用不同的 JVM - Using a different JVM for MATLAB on Windows java.io.IOException:使用JVM v1.8.0_162启动Tomcat v9.0.2.0时无法建立回送连接 - java.io.IOException: Unable to establish loopback connection when starting Tomcat v9.0.2.0 using JVM v1.8.0_162 使用ExtlibX访问MSSQL Form Xpages时出错-不支持驱动程序或JVM - Errors accessing MSSQL form Xpages using ExtlibX - Driver or JVM not supported
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM