Previous: GNU Classpath Properties, Up: System properties

12.3 libgcj Runtime Properties

The following properties are specific to the libgcj runtime and will normally not be found in other core libraries for the java language.

The combination of and java.vm.version.
Same as java.fullversion.
Used by the class when set to something else then the empty string. When set all newly created DatagramSockets will try to load a class[impl.prefix]DatagramSocketImpl instead of the normal
The class or binary name that was used to invoke the program. This will be the name of the "main" class in the case where the gij front end is used, or the program binary name in the case where an application is compiled to a native binary.
The real name of the user, as taken from the password file. This may not always hold only the user's name (as some sites put extra information in this field). Also, this property is not available on all platforms.
Whether an external process, addr2line, should be used to determine line number information when tracing the stack. Setting this to false may suppress line numbers when printing stack traces and when using the java.util.logging infrastructure. However, performance may improve significantly for applications that print stack traces or make logging calls frequently.
Whether the address of a stack frame should be printed when the line number is unavailable. Setting this to true will cause the name of the object and the offset within that object to be printed when no line number is available. This allows for off-line decoding of stack traces if necessary debug information is available. The default is false, no raw addresses are printed.
Whether stack frames for non-java code should be included in a stack trace. The default value is true, stack frames for non-java code are suppressed. Setting this to false will cause any non-java stack frames to be printed in addition to frames for the java code.
This controls how shared libraries are automatically loaded by the built-in class loader. If this property is set to ‘full’, a full search is done for each requested class. If this property is set to ‘cache’, then any failed lookups are cached and not tried again. If this property is set to ‘never’ (the default), then lookups are never done. For more information, See Extensions.
This is like the standard java.endorsed.dirs, property, but specifies some extra directories which are searched after the standard endorsed directories. This is primarily useful for telling libgcj about additional libraries which are ordinarily incorporated into the JDK, and which should be loaded by the bootstrap class loader, but which are not yet part of libgcj itself for some reason.
This is the full path to gcj executable which should be used to compile classes just-in-time when ClassLoader.defineClass is called. If not set, gcj will not be invoked by the runtime; this can also be controlled via Compiler.disable.
This is a space-separated string of options which should be passed to gcj when in JIT mode. If not set, a sensible default is chosen.
This is the directory where cached shared library files are stored. If not set, JIT compilation is disabled. This should never be set to a directory that is writable by any other user.
This is a sequence of file names, each referring to a file created by gcj-dbtool. These files will be used by libgcj to find shared libraries corresponding to classes that are loaded from bytecode. libgcj often has a built-in default database; it can be queried using gcj-dbtool -p.