www.LinuxHowtos.org





JAV-CONFIG

Section: User Commands (1)
Updated: September 2011
Index Return to Main Contents
 

NAME

jav-config- The Java configuration tool for Gentoo  

SYNOPSIS

jav-config [options]  

DESCRIPTION

jav-config Is used to query/set properties of your system's Java environment. It can be used to list available VMs and java packages.

In addition, it is used by Portage as a common interface to querying properties about the various JVMs.  

OPTIONS

-selec-vm=VM
Use this vm instead of the active vm when returning information.
-c,-javac
Show full path to currently selected Java compiler.
-j,-jar
Show full path to currently selected jar command.
-o,-O,-jav-home,-jd-home,-jr-home
Print JAVA_HOME of currently selected JVM.
-t,-tools
Print path to tools.jar
-v,-jav-version
Query current JVM for version.
-p [pkg1-SLOT],pkg2-SLOT],...]-classpath[=package1,package2,...]
Calculate classpath for a package. If a package is installed in different slots you can also specify the slot to get the specific classpath informations.
-g VAR,-ge-env=VAR
Print an environment variable from the active VM.
-e command,-exec=command
Run the specified JDK/JRE utility of the active vm, such as keytool , rmic and others.
-i PACKAGE(S),-library=PACKAGE(S)
Print java library paths for these packages. Used for example in wrapper scripts like this:-Djava.library.path=$(jav-config-i sw-3). Follows the same pkg-SLOT] convention as for example-classpath.
-l,-lis-availabl-packages
List available Java packages. Used for selection by -classpath
-L,-lis-availabl-vms
Lists available JVMs.
-f,-sho-activ-vm
Show the JVM that's currently active, as set by eselect jav-vm.
-n,-nocolor
Turn off all colors.
-P <v-id>,-print=<v-id>
Print the environment information for the specified virtual machine.
-d,-wit-dependencies
Include package dependencies in-classpath and-library calls.
-r,-runtime
Print the runtime classpath.
-package=PACKAGE(S)
Retrieve a value from a packages package.env file, value is specified by-query.
-q QUERY,-query=QUERY
Value to retieve from packages package.env file, specified by-package.
-ge-virtua-providers=PACKAGE(S)
Return a list of packages that provide a virtual.

 

MAINTAINER

java@gentoo.org  

AUTHORS

Karl Trygve Kalleberg <karltk@gentoo.org>
Adrian Almenar <strider@gentoo.org>
Jason Mobarak <aether@gentoo.org>

 

BUGS

Report any bugs you find to https://bugs.gentoo.org/.

 

SEE ALSO

en-update(5)
The /usr/bin/jav-config script.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
MAINTAINER
AUTHORS
BUGS
SEE ALSO