System properties are a way of getting information into Java (they are the Java equivalent of environment variables). The following ones have special significance within TOPCAT:
apple.laf.useScreenMenuBar
true
for TOPCAT,
so menus mostly appear at the top of the screen (though it's not
true to say that TOPCAT obeys the Mac look and feel completely);
if you prefer the more Java-like look and feel, set it to
false
.
http.proxyHost
http.proxyPort
,
https.proxyHost
etc.
See the appropriate java documentation
(e.g. by googling for "http.proxyHost") for details.
java.io.tmpdir
/tmp
on Unix),
so if working with large unmapped (e.g. CSV) tables
on a machine with limited space on the default disk,
it may be necessary to change it.
java.util.concurrent.ForkJoinPool.common.parallelism
jdbc.drivers
jel.classes
jel.classes.activation
jsamp.hub.profiles
-hub
/-exthub
flag or
from the GUI).
The value is a comma-separated list of profile specifiers;
options are
"std
" for Standard Profile,
"web
" for Web Profile or
the name of a class implementing the
org.astrogrid.samp.hub.HubProfile
interface.
The default setting runs just a Standard Profile hub,
but, for instance, setting it to "std,web
" would run a
Web Profile as well. Note you should include std
in
the list, otherwise TOPCAT will not be able to talk to the hub.
See the JSAMP documentation for more detail.
jsamp.localhost
127.0.0.1
".
However, if this property is set (presumably to the local host's
fully- or partly-qualified domain name) its value will be used instead.
Two special values may also be set:
"[hostname]
" for the host's fully qualified domain name, and
"[hostnumber]
" for the IP number.
jsamp.server.port
jsamp.xmlrpc.impl
xml-log
" or "rpc-log
"
then all XML-RPC communications will be logged in very or fairly
verbose terms respectively to standard output.
The classname of an org.astrogrid.samp.xmlrpc.XmlRpcKit
implementation may be given instead to use a custom implementation.
lut.files
1.0 1.0 0.0 1.0 0.0 1.0would give a colour map that fades from yellow to magenta. Any number of samples may be given; the scale is interpolated.
mark.workaround
mark()
/reset()
methods of some java
InputStream
classes. These are rather common,
including in Sun's J2SE system libraries.
Use this if you are seeing errors that say something like
"Resetting to invalid mark
".
Currently defaults to "false".myspace.cache
service.maxparallel
auth.schemes
uk.ac.starlink.auth.AuthScheme
implementation
classnames may be provided.
star.connectors
uk.ac.starlink.connect.Connector
interface which
specifies how you can log on to such a service and provides a
hierarchical view of the filespace it contains.
startable.load.dialogs
uk.ac.starlink.table.gui.TableLoadDialog
interface and
naming them in this property.
See STIL
documentation for more detail.
startable.readers
startable.schemes
uk.ac.starlink.table.TableScheme
interface,
and must have a no-arg constructor.
The schemes thus named will be available
alongside the standard ones listed in Section 4.3.
startable.storage
disk
" has basically the same effect as
supplying the "-disk
" argument on the TOPCAT command line
(see Section 10.1).
Other possible values are "adaptive
", "memory
",
"sideways
" and "discard
";
see SUN/252.
The default is "adaptive
", which means storing smaller
tables in memory, and larger ones on disk.
startable.unmap
sun
" (the default),
"cleaner
", "unsafe
" or "none
".
In most cases you are advised to leave this alone, but in the event of
unmapping-related JVM crashes (not expected!), setting it to
none
may help.
startable.writers
topcat.activators
uk.ac.starlink.topcat.activate.ActivationType
interface,
and which has a no-arg constructor.
topcat.exttools
uk.ac.starlink.topcat.TopcatToolAction
interface and have a
no-arg constructor.
The actions corresponding to any such classes will be added to toolbar.
This is an experimental extensibility feature, which may be modified or
withdrawn in a future release.
user.dir
votable.namespacing
none
" (no namespacing, xmlns declarations
in VOTable document will probably confuse parser),
"lax
" (anything that looks like it is probably a VOTable
element will be treated as a VOTable element) and
"strict
" (VOTable elements must be properly declared in one
of the correct VOTable namespaces).
May also be set to the classname of a
uk.ac.starlink.votable.Namespacing
implementation.
The default is "lax
".
votable.strict
FIELD
or PARAM
element with
a datatype
attribute of
char
/unicodeChar
,
and no arraysize
attribute.
The VOTable standard says this indicates a single character,
but some VOTables omit arraysize specification by accident when
they intend arraysize="*"
.
If votable.strict
is set true
,
a missing arraysize will be interpreted as meaning a single character,
and if false
, it will be interpreted as a variable-length
array of characters (a string).
The default is true
.
votable.version
1.0
", "1.1
",
"1.2
", "1.3
" or "1.4
".
By default, version 1.4 VOTables are written.
To define these properties on the command line
you use the -D
flag, which has the form
-D<property-name>=<value>If you're using the TOPCAT startup script, you can write something like:
topcat -Djdbc.drivers=org.postgresql.Driver ...or if you're using the
java
command directly:
java -Djdbc.drivers=org.postgresql.Driver ...
Alternatively you may find it more convenient to
write these definitions in a file named
.starjava.properties
in your home directory; the above
command-line flag would be equivalent to inserting the line:
jdbc.drivers=org.postgresql.Driverin your
.starjava.properties
file.