.java_wrapper
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 11 November 2020
Index
Return to Main Contents
 
NAME
java_wrapper - wrap Java programs to ensure java startup
 
SYNOPSIS
edrc/bin/javaprogram
->
.java_wrapper
edrc/lib/javaprogram
->
.java_wrapper
 
AVAILABILITY
WA2L/edrc
 
DESCRIPTION
Wrap Java programs for transparent start. 
java
locations can be configured in the config file
java_wrapper.cfg(4).
To start a new command thru the
.java_wrapper,
follow the following steps:
- 1.)
 - 
create a symlink to the new command in the
edrc/bin/
or 
edrc/lib/
directory depending on your needs:
[ /opt/edrc/bin ]
[ root@acme001 ][*edrc*/bash]: ln -s .java_wrapper new_cmd 
 - 2.)
 - 
install the Java program in the
edrc/lib/java/
directory.
 - 2.)
 - 
define the Java start options in
the related
edrc/lib/java/new_cmd.javaopt
file.
 
 
OPTIONS
-
 
ENVIRONMENT
-
 
EXIT STATUS
- 101
 - 
shell
(java)
not found. If 
java
is installed on the system and you get this error, add
the 
java
location in the configuration file
java_wrapper.cfg.
 - 102
 - 
the Java files to be started that should be
located in 
lib/java/
do not exist.
 - 106
 - 
configuration file 
java_wrapper.cfg
does not exist.
 - 107
 - 
the 
.java_wrapper
was called directly.
 
 
FILES
- etc/java_wrapper.cfg
 - 
configuration file for the
.java_wrapper
command.
 - lib/java/
 - 
location of the wrapped Java programs. This
files should have the file permissions
644
to show, that those scripts should not be started
directly.
 
 
EXAMPLES
-
 
SEE ALSO
edrcintro(1),
binprobe(1m),
daemon_wrapper(1),
java(1),
java_wrapper.cfg(4),
ksh_wrapper(1),
lua_wrapper(1),
ln(1),
ld(1),
osid(3),
os_wrapper(1),
perl_wrapper(1),
shlib(3)
 
NOTES
-
 
BUGS
-
 
AUTHOR
java_wrapper was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
 
COPYRIGHT
Copyright © 2020
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 22:46:39 GMT, April 07, 2025