StatEt Eclipse 插件/RJ 的 ClassNotFoundException.Java9 的兼容性问题? [英] ClassNotFoundException for StatEt Eclipse plugin / RJ. Compatibility issue with Java9?

查看:14
本文介绍了StatEt Eclipse 插件/RJ 的 ClassNotFoundException.Java9 的兼容性问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为 StatEt 安装了 RJ:

<代码>>install.packages(c("rj", "rj.gd"), repos="http://download.walware.de/rj-2.1")安装 Pakete nach 'C:/Users/eis/Documents/R/win-library/3.4'(da 'lib' nicht spezifiziert)versuche URL 'http://download.walware.de/rj-2.1/bin/windows/contrib/3.4/rj_2.1.0-13.zip'内容类型 'application/zip' 长度 342681 字节 (334 KB)已下载 334 KBversuche URL 'http://download.walware.de/rj-2.1/bin/windows/contrib/3.4/rj.gd_2.1.0-2.zip'内容类型 'application/zip' 长度 97222 字节 (94 KB)已下载 94 KBPaket 'rj' erfolgreich ausgepackt und MD5 Summen abgeglichenPaket 'rj.gd' erfolgreich ausgepackt und MD5 Summen abgeglichenDie heruntergeladenen Binärpakete sind inC:UserseisAppDataLocalTempRtmp0G5hW5downloaded_pa​​ckages

之后我对rj的包描述是:

<代码>>包描述(rj")编码:UTF-8包装:rj版本:2.1.0-13标题:RJ - 高级 Java-R 库 RJ 的 R 包作者:Stephan Wahlbrink,Tobias Verbeke,基于 R 的低级绑定Simon Urbanek 的 JRI 图书馆维护者:Stephan Wahlbrink <stephan.wahlbrink@walware.de>取决于:R (>= 2.11.0)建议:rj.gd系统要求:java描述:高级别的服务器实现和 R 函数Java-R 库 RJ.该软件包还包括回调StatET 的功能.它附带一个改编版本JRI 图书馆.只有当 R 为通过 RJ 加载.许可证:LGPL (== 2.1)网址:http://www.walware.de/goto/opensource需求编译:是打包时间:2017-05-10 08:22:44 UTC;建造内置:R 3.4.0;x86_64-w64-mingw32;2017-05-10 08:25:27 UTC;视窗-- 文件:C:/Users/eis/Documents/R/win-library/3.4/rj/Meta/package.rds

我添加了文件夹

C:/Users/eis/Documents/R/win-library/3.4

到 StatEt Eclipse 首选项中的 R_LIBS:

当我尝试使用 RJ 启动控制台运行配置时出现以下错误:

Fehler: Hauptklasse de.walware.rj.server.RMIServerControl konnte nicht gefunden oder geladen werdenUrsache:java.lang.ClassNotFoundException:de.walware.rj.server.RMIServerControl

我用

  • Windows 7
  • Java JDK 9.01,
  • 面向 JavaScript 和 Web 开发人员的 Eclipse,版本:Oxygen.2 Release (4.7.2)
  • StatET 3.6.1
  • R 版本 3.4.3

    <块引用>

    版本_
    平台 x86_64-w64-mingw32
    拱 x86_64
    操作系统 mingw32
    系统 x86_64、mingw32
    状态
    专业 3
    次要 4.3
    2017 年
    第 11 个月
    第 30 天
    svn 版本 73796
    语言 R
    version.string R 版本 3.4.3 (2017-11-30)绰号吃风筝的树

=> RJ for StatEt 是否与 Java9 兼容?

=> 如果是这样,我怎样才能正确安装 RJ for StatEt?

=> 如何/在哪里运行 R CMD javareconf 在 Windows 上?我在 r 的 bin 文件夹中尝试过,但参数 javareconf 未知.

相关问题和文章:

  • 我的 R 环境配置没有太大变化

    I installed RJ for StatEt with:

    > install.packages(c("rj", "rj.gd"), repos="http://download.walware.de/rj-2.1")
    Installiere Pakete nach 'C:/Users/eis/Documents/R/win-library/3.4'
    (da 'lib' nicht spezifiziert)
    versuche URL 'http://download.walware.de/rj-2.1/bin/windows/contrib/3.4/rj_2.1.0-13.zip'
    Content type 'application/zip' length 342681 bytes (334 KB)
    downloaded 334 KB
    
    versuche URL 'http://download.walware.de/rj-2.1/bin/windows/contrib/3.4/rj.gd_2.1.0-2.zip'
    Content type 'application/zip' length 97222 bytes (94 KB)
    downloaded 94 KB
    
    Paket 'rj' erfolgreich ausgepackt und MD5 Summen abgeglichen
    Paket 'rj.gd' erfolgreich ausgepackt und MD5 Summen abgeglichen
    
    Die heruntergeladenen Binärpakete sind in 
        C:UserseisAppDataLocalTempRtmp0G5hW5downloaded_packages
    

    After that my package description of rj is:

    > packageDescription("rj")
    Encoding: UTF-8
    Package: rj
    Version: 2.1.0-13
    Title: RJ - R Package for high-level Java-R library RJ
    Author: Stephan Wahlbrink, Tobias Verbeke, low-level R binding based on
            the JRI library by Simon Urbanek
    Maintainer: Stephan Wahlbrink <stephan.wahlbrink@walware.de>
    Depends: R (>= 2.11.0)
    Suggests: rj.gd
    SystemRequirements: java
    Description: Server implementation and R functions for the high-level
            Java-R library RJ.  The package also includes callback
            functions for StatET.  It is shipped with an adapted version of
            the JRI library.  The package can be used only when R was
            loaded via RJ.
    License: LGPL (== 2.1)
    URL: http://www.walware.de/goto/opensource
    NeedsCompilation: yes
    Packaged: 2017-05-10 08:22:44 UTC; build
    Built: R 3.4.0; x86_64-w64-mingw32; 2017-05-10 08:25:27 UTC; windows
    
    -- File: C:/Users/eis/Documents/R/win-library/3.4/rj/Meta/package.rds
    

    And I added the folder

    C:/Users/eis/Documents/R/win-library/3.4

    to R_LIBS in the StatEt Eclipse preferences:

    When I try to start my console run configuration using RJ I get following error:

    Fehler: Hauptklasse de.walware.rj.server.RMIServerControl konnte nicht gefunden oder geladen werden
    Ursache: java.lang.ClassNotFoundException: de.walware.rj.server.RMIServerControl
    

    I use

    • Windows 7
    • Java JDK 9.01,
    • Eclipse for JavaScript and Web Developers, Version: Oxygen.2 Release (4.7.2)
    • StatET 3.6.1
    • R version 3.4.3

      version _
      platform x86_64-w64-mingw32
      arch x86_64
      os mingw32
      system x86_64, mingw32
      status
      major 3
      minor 4.3
      year 2017
      month 11
      day 30
      svn rev 73796
      language R
      version.string R version 3.4.3 (2017-11-30) nickname Kite-Eating Tree

    => Is RJ for StatEt compatible to Java9?

    => If so, how can I correctly install RJ for StatEt?

    => How/where do I run R CMD javareconf on windows? I tried in bin folder of r but the argument javareconf is not known.

    Related questions and articles:

    解决方案

    RJ 2.1 is not compatible to Java 9.0.1. You can point to different versions of JAVA if you have them installed. Please install Java 8 and select JRE 8 in your run configuration, for example:

    I don't change much my R environment configuration

    这篇关于StatEt Eclipse 插件/RJ 的 ClassNotFoundException.Java9 的兼容性问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆