Class JavaBinFinder

java.lang.Object
io.quarkus.utilities.JavaBinFinder

@Deprecated(forRemoval=true, since="3.25") public class JavaBinFinder extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use ProcessUtil instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use ProcessUtil.pathOfJava() instead.
    static String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use ProcessUtil.nameOfJava() instead.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JavaBinFinder

      public JavaBinFinder()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • findBin

      @Deprecated(forRemoval=true, since="3.25") public static String findBin()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use ProcessUtil.pathOfJava() instead.
      Returns the path of the java command (not null).
      Returns:
      the path of the java command (not null)
    • simpleBinaryName

      @Deprecated(forRemoval=true, since="3.25") public static String simpleBinaryName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use ProcessUtil.nameOfJava() instead.
      Returns the name of the java executable for this platform (not null).
      Returns:
      the name of the java executable for this platform (not null)