rJava (version 0.9-1)

loader: Java class loader

Description

.jaddClassPath adds directories or JAR files to the class path.

.jclassPath returns a vector containg the current entries in the class path

Usage

.jaddClassPath(path)
.jclassPath()

Arguments

path
character string vector listing the paths to add to the class path

Value

  • .jclassPath returns a charactger vector listing the class path sequence.

Examples

Run this code
.jaddClassPath("/my/jars/foo.jar","/my/classes/")
print(.jclassPath())

Run the code above in your browser using DataCamp Workspace