Git Product home page Git Product logo

Comments (3)

s-u avatar s-u commented on August 28, 2024

It seems that your'e not working off a proper tar ball - did you run mkdist to create a distribution tar ball?

from rjava.

gitkit7 avatar gitkit7 commented on August 28, 2024

I have had the same problem install the package rJava into R-3.1.0 on a Centos 6 environment.
Eventually worked out that my CLASSPATH variable was defined and it NOT include ".". By default java looks in the current directory if CLASSPATH has no value. If it is defined, java does not look in the current directory, hence the class getsp was not found. By defining CLASSPATH using:

export CLASSPATH=.:/my_other_classpath_directory

my installation of the rJava package worked
cheers,

Keith

from rjava.

s-u avatar s-u commented on August 28, 2024

@gitkit7 thanks! That was indeed the actual issue here. I have added a work-ardound for cases where CLASSPATH is already overridden by the user. Note that setting CLASSPATH will cause issues down the road anyway (it may invoke a different class loader and cause confusion), so it's better to unset it.

from rjava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.