Skip to content

Find alternate JVM languages that exist in your classpath

License

Notifications You must be signed in to change notification settings

elastic/jvm-languages-sniffer

Repository files navigation

jvm-languages-sniffer

Find alternate JVM languages that exist in your classpath

This project provides a single LanguageRuntimeVersions class that introspects the runtime classpath looking for some of the popular JVM languages and reports their major.minor version.

This class is meant to be used verbatim in the Elasticsearch Rest Java client and is developed separately to avoid pulling languages runtime as dependencies in the main Elasticsearch project while the code only uses reflection.

Supported languages (in alphabetical order): clojure, groovy, jruby, kotlin, scala.

Project modules structure:

  • sniffer: contains the main class, with no language runtime dependency
  • lang_*: tests runtime introspection of each individual language
  • all_languages: tests runtime introspection with all languages

About

Find alternate JVM languages that exist in your classpath

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published