public class org.jruby.util.ClasspathLauncher
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.util.ClasspathLauncher
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.util.ClasspathLauncher this
         0: .line 9
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.util.ClasspathLauncher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/util/ClasspathLauncher;

  public static java.lang.String jrubyCommand(java.lang.ClassLoader);
    descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=9, args_size=1
        start local 0 // java.lang.ClassLoader classLoader
         0: .line 12
            ldc "java.home"
            ldc ""
            invokestatic org.jruby.util.SafePropertyAccessor.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* javaHome */
        start local 1 // java.lang.String javaHome
         1: .line 14
            new java.lang.StringBuilder
            dup
            aload 1 /* javaHome */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/bin/java"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* javaCmd */
        start local 2 // java.lang.String javaCmd
         2: .line 15
            new java.io.File
            dup
            aload 2 /* javaCmd */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.exists:()Z
            ifne 4
         3: .line 17
            new java.lang.StringBuilder
            dup
            aload 1 /* javaHome */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/jre/bin/java"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* javaCmd */
         4: .line 19
      StackMap locals: java.lang.String java.lang.String
      StackMap stack:
            new java.io.File
            dup
            aload 2 /* javaCmd */
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.exists:()Z
            ifne 6
         5: .line 21
            ldc "java"
            astore 2 /* javaCmd */
         6: .line 23
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 2 /* javaCmd */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " -cp "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            astore 3 /* command */
        start local 3 // java.lang.StringBuilder command
         7: .line 24
            aload 0 /* classLoader */
            instanceof java.net.URLClassLoader
            ifeq 15
         8: .line 25
            aload 0 /* classLoader */
            checkcast java.net.URLClassLoader
            invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 13
      StackMap locals: java.lang.ClassLoader java.lang.String java.lang.String java.lang.StringBuilder top int int java.net.URL[]
      StackMap stack:
         9: aload 7
            iload 5
            aaload
            astore 4 /* url */
        start local 4 // java.net.URL url
        10: .line 26
            aload 4 /* url */
            invokestatic org.jruby.util.URLUtil.getPlatformPath:(Ljava/net/URL;)Ljava/lang/String;
            astore 8 /* path */
        start local 8 // java.lang.String path
        11: .line 27
            aload 8 /* path */
            ifnull 12
            aload 3 /* command */
            getstatic java.io.File.pathSeparatorChar:C
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            aload 8 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        end local 8 // java.lang.String path
        end local 4 // java.net.URL url
        12: .line 25
      StackMap locals:
      StackMap stack:
            iinc 5 1
      StackMap locals:
      StackMap stack:
        13: iload 5
            iload 6
            if_icmplt 9
        14: .line 29
            goto 16
        15: .line 30
      StackMap locals: java.lang.ClassLoader java.lang.String java.lang.String java.lang.StringBuilder
      StackMap stack:
            aload 3 /* command */
            getstatic java.io.File.pathSeparatorChar:C
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            ldc "java.class.path"
            invokestatic org.jruby.util.SafePropertyAccessor.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        16: .line 32
      StackMap locals:
      StackMap stack:
            aload 3 /* command */
            ldc " org.jruby.Main"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        17: .line 33
            aload 3 /* command */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 3 // java.lang.StringBuilder command
        end local 2 // java.lang.String javaCmd
        end local 1 // java.lang.String javaHome
        end local 0 // java.lang.ClassLoader classLoader
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   18     0  classLoader  Ljava/lang/ClassLoader;
            1   18     1     javaHome  Ljava/lang/String;
            2   18     2      javaCmd  Ljava/lang/String;
            7   18     3      command  Ljava/lang/StringBuilder;
           10   12     4          url  Ljava/net/URL;
           11   12     8         path  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      classLoader  

  public static java.lang.String jrubyCommand(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 37
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getJRubyClassLoader:()Lorg/jruby/util/JRubyClassLoader;
            invokevirtual org.jruby.util.JRubyClassLoader.getParent:()Ljava/lang/ClassLoader;
            invokestatic org.jruby.util.ClasspathLauncher.jrubyCommand:(Ljava/lang/ClassLoader;)Ljava/lang/String;
            areturn
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  runtime  Lorg/jruby/Ruby;
    MethodParameters:
         Name  Flags
      runtime  
}
SourceFile: "ClasspathLauncher.java"