Lines Matching +full:0 +full:- +full:9 +full:a +full:- +full:z
2 ----------------------------------------------
14 ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO
16 You should also set up a reasonable CLASSPATH environment
21 2) You have to compile BINFMT_MISC either as a module or into
23 If you choose to compile it as a module, you will have
45 ':Applet:M::<!--applet::/usr/bin/appletviewer:'
52 existing html-files to contain ``<!--applet-->`` in the first line
55 For the compiled Java programs you need a wrapper script like the
62 gcc -O2 -o javaclassname javaclassname.c
71 .. code-block:: sh
74 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java
76 if [ -z "$1" ]; then
78 echo Usage: $0 class-file
84 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'`
85 FQCLASSP=`echo $FQCLASS | sed -e 's-\.-/-g' -e 's-^[^/]*$--' -e 's-/[^/]*$--'`
95 declare -i LINKLEVEL=0
100 cd -L `dirname $CLASS`
103 if echo $CLASSDIR | grep -q "$FQCLASSP$"; then
104 CLASSBASE=`echo $CLASSDIR | sed -e "s.$FQCLASSP$.."`
108 cd -P `dirname $CLASS`
111 if echo $CLASSDIR | grep -q "$FQCLASSP$"; then
112 CLASSBASE=`echo $CLASSDIR | sed -e "s.$FQCLASSP$.."`
116 if [ ! -L $CLASS ]; then
118 echo $0:
119 echo " $CLASS should be in a" \
124 if [ ! -L $CLASS ]; then break; fi
127 if [ $LINKLEVEL -gt 5 ]; then
129 echo $0:
133 CLASS=`ls --color=no -l $CLASS | sed -e 's/^.* \([^ ]*\)$/\1/'`
136 if [ -z "$CLASSBASE" ]; then
137 if [ -z "$FQCLASSP" ]; then
143 echo $0:
144 echo " $FQCLASS should be in a file called $GOODNAME"
148 if ! echo $CLASSPATH | grep -q "^\(.*:\)*$CLASSBASE\(:.*\)*"; then
150 if [ -z "${CLASSPATH}" ] ; then
162 .. code-block:: c
166 * Extracts the class name from a Java class file; intended for use in a Java
178 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
181 * You should have received a copy of the GNU General Public License
183 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
200 #define CP_FIELDREF 9
213 #define utf8_error() error("%s: Only ASCII 1-255 supported\n", program);
225 /* Reads in an unsigned 8-bit integer. */
234 /* Reads in an unsigned 16-bit integer. */
247 /* Reads in a value from the constant pool. */
303 program = argv[0];
326 if(!pool[this_class] || pool[this_class] == -1)
334 if(!pool[classinfo_ptr] || pool[classinfo_ptr] == -1)
340 for(i = 0; i < length; ++i)
343 if((x & 0x80) || !x)
345 if((x & 0xE0) == 0xC0)
348 if((y & 0xC0) == 0x80)
350 int c = ((x & 0x1f) << 6) + (y & 0x3f);
364 return 0;
370 # /usr/local/java/bin/jarwrapper - the wrapper for binfmt_misc/jar
372 java -jar $1
378 To add a Java program to your path best put a symbolic link to the main
387 .. code-block:: java
420 originally by Brian A. Lantz, brian@lantz.com
423 added executable Jar file support by Kurt Huwig <kurt@iku-netz.de>