rJava (version 0.9-10)

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 character vector listing the class path sequence.

Examples

Run this code
# NOT RUN {
.jaddClassPath("/my/jars/foo.jar","/my/classes/")
print(.jclassPath())
# }

Run the code above in your browser using DataLab