java tool with config file
I know that this might be a newbie thing, but I have not found any documentation regarding it when looking at the tool docs for the java/javaw command:
Is it possible to pass a command / set an environment variable so that numerous parameters can be set in a file instead of a very lengthy sequence of -D parameters.
First of all, it would be useful to put all the -Dfoo=bar options on seperate lines in a file for environmental reasons, as companies have different environments (e.g. development, testing, pre-live, live), and it would be good to support a different environment via different configuration files.
Enterprises can use very lengthly classpaths, and one idea would be to separate the classpath (mainly for coherence) by having a (boot classpath append/prepend) (classpath append/prepend) command on each line.
Is there any basic support for config-file based launching of java? I consider this a very important point for serious businesses.