Previous: GNU Classpath Properties, Up: System properties

13.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.
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.
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' (the default), then any failed lookups are cached and not tried again. If this property is set to `never', 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.