Skip to content

Commit

Permalink
Merge pull request #64 from AQLT/develop
Browse files Browse the repository at this point in the history
Improvement of startup error if java < 17
  • Loading branch information
palatej authored Sep 26, 2024
2 parents a838784 + 1b9941e commit 146ab5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ NULL
# what's your java version? Need >= 17
jversion <- .jcall('java.lang.System','S','getProperty','java.version')
if (jversion < "17") {
stop(paste("Your java version is ", jversion,
". N or higher.", sep=""))
stop(sprintf("Your java version is %s. 17 or higher is needed.", jversion))
}

proto.dir <- system.file("proto", package = pkgname)
Expand Down

0 comments on commit 146ab5f

Please sign in to comment.