Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gjavah(1) [suse man page]

GJAVAH(1)								GNU								 GJAVAH(1)

NAME
gjavah - - generate header files from Java class files SYNOPSIS
gjavah ... DESCRIPTION
The gjavah program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which can be used as a basis for implementing the required native methods. OPTIONS
-d DIR Set output directory. -o FILE Set output file (only one of -d or -o may be used). -cmdfile FILE Read command file. -all DIR Operate on all class files under directory DIR. -stubs Emit stub implementation. -jni Emit JNI stubs or header (default). -cni Emit CNI stubs or header (default JNI). -verbose Set verbose mode. -force Output files should always be written. Class path options: -classpath PATH Set the class path. -IDIR Add directory to class path. -bootclasspath PATH Set the boot class path. -extdirs PATH Set the extension directory path. Standard options: -help Print help text, then exit. -version Print version number, then exit. -JOPTION Pass argument to the Java runtime. BUGS
SEE ALSO
javac(1), ... AUTHOR
0.98 2010-07-05 GJAVAH(1)

Check Out this Related Man Page

GJAR(1)                                                                 GNU                                                                GJAR(1)

NAME
gjar - - Archive tool for Java archives SYNOPSIS
gjar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE... DESCRIPTION
gjar is an implementation of Sun's jar utility that comes with the JDK. If any file is a directory then it is processed recursively. The manifest file name and the archive file name needs to be specified in the same order the -m and -f flags are specified. OPTIONS
Operation mode: -c Create new archive. -t List table of contents for archive. -x Extract named (or all) files from archive. -u Update existing archive. -i FILE Compute archive index. Operation modifiers: -f FILE Specify archive file name. -0 Store only; use no ZIP compression. -v Generate verbose output on standard output. -M Do not create a manifest file for the entries. -m manifest Include manifest information from specified manifest file. File name selection: -C DIR FILE Change to the DIR and include the following FILE. -@ Read the names of the files to add to the archive from stdin. This option is supported only in combination with -c or -u. Non standard option added in the GCC version. Standard options: -help Print help text, then exit. -version Print version number, then exit. -JOPTION Pass argument to the Java runtime. BUGS
SEE ALSO
java(1), ... AUTHOR
0.98 2010-07-05 GJAR(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Creating a header.

Hi all, Suppose i wish to have a file which should be something like this: ROOH20020406080015000003 RLO00220404144142ENG01 RLO00220404123602ENG01 RLO00220404123602ENG02 As u can seeit contains 3 files. Basically I want the header in the file to be something like this. here ROOH will... (2 Replies)
Discussion started by: rooh
2 Replies

2. UNIX for Dummies Questions & Answers

Java- What am I missing???

I have downloaded the J2SDK and the JRE. I have looked all over the 'Net for javac and not found it. I have looked all over my Fedora Core 1 Dell Dimension 2350 and not found a javac file or even a java file. This stuff was in the older versions(Red Hat 9.0, 8.0, and 7.3). Can anyone help... (5 Replies)
Discussion started by: Jody
5 Replies

3. Shell Programming and Scripting

Please HELP on a SED question

Hi All, Given the 2lines in a text file: PSDSTSRV.483 (1) (JNI): Java exception PSDSTSRV.483 (3) HTTP transfer error How do I print only the field '20:38:50' using sed (or any other, awk perhaps)? so the output will just be: 20:38:50 20:38:50 Please help, TNX!! (2 Replies)
Discussion started by: marlonus999
2 Replies

4. HP-UX

JNI and -AA

Hi, I have a Hello World program using JNI taken from this site. HP Unix - Java - Using Java 2 JNI on HP-UX It builds fine and runs fine. But if I add -AA to my compile line, I get this error. error: java.lang.UnsatisfiedLinkError: libaCCImpl.sl: Unresolved external Here are my build... (2 Replies)
Discussion started by: cactuar
2 Replies

5. Shell Programming and Scripting

problem with spaces and argument parsing

public class HelloWorld { public static void main(String args) { System.out.println("Welcome, master"); } } and I compiled using javac HelloWorld.java ] Suppose that I execute the following command directly from the shell: java -XX:OnError="gdb - %p" HelloWorld Then it works... (8 Replies)
Discussion started by: fabulous2
8 Replies

6. Programming

Setting environment variable using JNI call

I have function declaration in Java and same function definition written in C programming language.. A JNI call from Java is made to a fuction...Function would set the environment variable { putenv(cEnvString1);} using C-built -in function ..and later return the encrypted string... putenv is... (6 Replies)
Discussion started by: shafi2all
6 Replies

7. Shell Programming and Scripting

Comparing one file header with another file header

Hi Experts, In our project we have requirement where in we have to compare header of one file with header in the parameter file. There are 20 files which we ftp from one site. All this files have different header. We are comapring this file with our parameter file(which is having the header... (2 Replies)
Discussion started by: Amey Joshi
2 Replies

8. Shell Programming and Scripting

Print the different line from two files in unix

Hi all, I have a two files ... the first file contain "ls -la " output on directory. second file contains " ls -la " output on the same directory but after removing some files from the directory.... how to get the file names that are removed ....... the total no of files are more than 1000 so... (2 Replies)
Discussion started by: firestar
2 Replies

9. UNIX for Dummies Questions & Answers

Appending 2 files skipping the header of the second file

I have 2 files with the same header and need to append them and put the result in a 3rd file the 2 files has the same header and while appending i want to skip the second file header and need the result to be put in a third file Normally, this would work Cat file1 file2 >> file3....But how... (5 Replies)
Discussion started by: saggiboy10
5 Replies

10. Programming

Problems with JNI and currentTimeMillis function

Hello, I have a technical problem: I work on AIX 7.1 with Java 1.7 (32 and 64 bit) and I make an application that intercepts certain functions related to time. In this application there is a Java JNI agent with whom I can intercept the Java "getLastModifiedTime" no problem but I am unable to... (5 Replies)
Discussion started by: steph311
5 Replies

11. Programming

Include files

I have an implementation file tomog.cpp that implements a class called Tomog where I need to include its header file which resides in another place. How can I best specify the include file? I would not like to do #include "../../tomso/tomography/tomog.hpp" I wish to do instead ... (3 Replies)
Discussion started by: kristinu
3 Replies

12. Shell Programming and Scripting

Setting class path

hi , can anybody help me to chage the class path in unix server.. what are the files need to update .... (2 Replies)
Discussion started by: Madhu Siddula
2 Replies

13. Programming

Why no header file is OK for implementation?

A very basic thing but quite strange to me. There is not corresponding header file (fastq.h) for the implementation fastq.cpp which has the line: #include "fastq.h", in a package source code, but at compiling of the whole pkg I did not get any error. There is no #indef/#endif condition.... (2 Replies)
Discussion started by: yifangt
2 Replies

14. Shell Programming and Scripting

Appending multiple files through UNIX

Hi All, I have requirement where multiple csv files are present in a directory and each file contains a header.I need to append the contents of all the files into one file by removing header. Once the data is merged in one file ,I need to remove duplicates on nth column to find out distinct... (2 Replies)
Discussion started by: STCET22
2 Replies

15. Programming

Where to get C header files?

Some of my c code compiles fine but others can't find header files. Colored_Chars.c:4:10: fatal error: graphics.h: No such file or directory Do I need to download them from some where? I found this. Is this what I need to do? Under Using DSL libraries - How do I use graphics.h in... (3 Replies)
Discussion started by: drew77
3 Replies