The OpenNET Project / Index page

[ новости/++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

jre (1)
  • >> jre (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • Ключ jre обнаружен в базе ключевых слов.
  • 
    NAME
         jre - Java runtime interpreter
    
    SYNOPSIS
         jre [ -classpath path(s) ] [ -cp path(s) ]
              [ -DpropertyName=newValue ] [ -help ] [ -mxx ] [ -msx ]
              [ -noasyncgc ] [ -noclassgc ] [ -nojit ] [ -noverify ]
              [ -ossx ] [ -ssx ] [ -v | -verbose ] [ -verbosegc ]
              [ -verify ] [ -verifyremote ] classname < args >
    
    DESCRIPTION
         The jre command executes Java  class  files.  The  classname
         argument  is the name of the class to be executed. Any argu-
         ments to be passed to the class must  be  placed  after  the
         classname on the command line.
    
    OPTIONS
         The following options are supported:
    
         -classpath path(s)
                        Specifies the path or paths that jre uses  to
                        look  up  classes.   Overrides the default or
                        the CLASSPATH environment variable if  it  is
                        set. If more than one path is specified, they
                        must be separated by colons. Each path should
                        end  with  the directory containing the class
                        files to be executed.  However, if a file  to
                        be executed is a zip or jar(1) file, the path
                        to that file must end with the  file's  name.
                        Here   is  an  example  of  an  argument  for
                        -classpath that specifies  three  paths  con-
                        sisting  of  the  current  directory  and two
                        additional paths:
    
                             .:/home/xyz/classes:/usr/local/java/classes/MyClasses.jar
    
    
         -cp path(s)    Prepends the specified path or paths  to  the
                        base classpath or path given by the CLASSPATH
                        environment variable. If more than  one  path
                        is  specified,  they  must  be  separated  by
                        colons.  Each path should end with the direc-
                        tory  containing the class file(s) to be exe-
                        cuted. However, if a file to be executed is a
                        zip  or  jar(1)  file,  the path to that file
                        must end with the file's  name.  Here  is  an
                        example of an argument for -cp that specifies
                        three paths consisting of the current  direc-
                        tory and two additional paths:
    
                             .:/home/xyz/classes:/usr/local/java/classes/MyClasses.jar
    
         -DpropertyName=newValue
                        Defines a property value. propertyName is the
                        name  of the property whose value you want to
                        change and newValue is the value to change it
                        to. For example, this command line
    
                             example%  jre   -Dawt.button.color=green
                             ...
    
                        sets    the    value    of    the    property
                        awt.button.color to "green".  jre accepts any
                        number of -D options on the command line.
    
         -help          Prints a usage message.
    
         -msx           Sets the startup size of the  memory  alloca-
                        tion pool (the garbage collection heap) to x.
                        The default is 16 megabytes of memory. The  x
                        value  must  be greater than or equal to 1000
                        bytes.
    
                        By default, x is measured in bytes.  You  can
                        specify x in either kilobytes or megabytes by
                        appending "k" for kilobytes or "m" for  mega-
                        bytes.
    
         -mxx           Sets the maximum size of the  memory  alloca-
                        tion pool (the garbage collection heap) to x.
                        The default is 1 megabyte of  memory.  The  x
                        value must be > 1000 bytes.
    
                        By default, x is measured in bytes.  You  can
                        specify x in either kilobytes or megabytes by
                        appending "k" for kilobytes or "m" for  mega-
                        bytes.
    
         -noasyncgc     Turns off  asynchronous  garbage  collection.
                        When  activated,  no garbage collection takes
                        place unless it is explicitly called  or  the
                        program  runs out of memory. Normally garbage
                        collection runs as an asynchronous thread  in
                        parallel with other threads.
    
         -noclassgc     Turns off garbage collection of Java classes.
                        By  default,  the  Java  interpreter reclaims
                        space for unused Java classes during  garbage
                        collection.
    
         -nojit         Specifies that any  JIT  compiler  should  be
                        ignored  and  invokes the default Java inter-
                        preter.
    
         -noverify      Turns verification off.
    
         -ossx          Each Java thread has two stacks: one for Java
                        code and one for C code. The -oss option sets
                        the maximum stack size that can  be  used  by
                        Java  code  in  a  thread to x.  Every thread
                        that is spawned during the execution  of  the
                        program passed to jre has x as its Java stack
                        size. The default units for x are bytes.  The
                        value  of  x must be greater than or equal to
                        1000 bytes.
    
                        You can modify the meaning of x by  appending
                        either  the  letter  "k" for kilobytes or the
                        letter "m" for megabytes. The  default  stack
                        size is 400 kilobytes (-oss400k).
    
         -ssx           Each Java thread has two stacks: one for Java
                        code  and one for C code. The -ss option sets
                        the maximum stack size that can be used by  C
                        code  in a thread to x.  Every thread spawned
                        during the execution of the program passed to
                        jre  has  x  as its C stack size. The default
                        units for x are bytes. The value of x must be
                        greater than or equal to 1000 bytes.
    
                        You can modify the meaning of x by  appending
                        either  the  letter  "k" for kilobytes or "m"
                        for megabytes. The default stack size is  128
                        kilobytes (-ss128k).
    
         -v | -verbose  Prints a message to stdout each time a  class
                        file is loaded.
    
         -verbosegc     Causes the garbage  collector  to  print  out
                        messages whenever it frees memory.
    
         -verify        Performs byte-code verification on the  class
                        file. Please note that however, that
    
                             example% jre -verify
    
                        does not perform a full verification  in  all
                        situations.  Any  code path that is not actu-
                        ally executed by the interpreter is not veri-
                        fied  and  therefore cannot be relied upon to
                        certify class files unless all code paths  in
                        the class file are actually run.
    
         -verifyremote  Runs the verifier on all code that is  loaded
                        into  the system using a classloader. This is
                        the default for the interpreter.
    
    ENVIRONMENT VARIABLES
         CLASSPATH      Use the  CLASSPATH  environment  variable  to
                        specify  the  path to the class file or files
                        that you want to execute.  CLASSPATH consists
                        of a colon-separated list of directories that
                        contain the class files to be  executed.  For
                        example:
                             .:/home/xyz/classes
    
                        If the file to be executed is a zip file or a
                        jar(1)  file,  the  path  should end with the
                        file name. For example:
                             .:/usr/local/java/classes/MyClasses.jar
    
    ATTRIBUTES
         See attributes(5) for a description of the following  attri-
         butes:
    
         __________________________________
        | ATTRIBUTE TYPE|  ATTRIBUTE VALUE|
        |_______________|__________________|_
        | Availability  |  SUNWjvrt       |
        |_______________|_________________|
    
    SEE ALSO
         jar(1), attributes(5)
    
    
    
    


    Поиск по тексту MAN-ов: 




      Закладки на сайте
      Проследить за страницей
    Created 1996-2017 by Maxim Chirkov  
    ДобавитьРекламаВебмастеруГИД  
    Hosting by Ihor