01-05-2010
Java can call C under Unix?
Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code?
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all, i am new to shell scripts and have one doubt.
Can we call ava classes/methods from shell scripts? if yes how? (17 Replies)
Discussion started by: girish.sh
17 Replies
2. Shell Programming and Scripting
Hi
Can we call a jsp page from Unix.if so please let me know how we can..
thanks for the help in advance...
thanks
kumar (0 Replies)
Discussion started by: mailsukumar
0 Replies
3. Shell Programming and Scripting
Hi All,
I am new to shell script, just wanted you guy to help.
How do i call a java program by using shell script, pls give some samle code for it,
thank you ver much. (2 Replies)
Discussion started by: aaabbb123123
2 Replies
4. Shell Programming and Scripting
Hi,
I want to call multiple java commands through a .sh file. I have drafted one with my least knowledge. But its not working. Pls help. I am trying to run this from Sun Solaris (OS 5.10) server with 10g oracle database.
echo \* starting script AUTORUN
echo \* get the Monitor path... (4 Replies)
Discussion started by: vivekdn
4 Replies
5. Shell Programming and Scripting
Hi,
Is it possible to call the constructur of a java class in a shell script?
I know you can call static methods, but can you also call the constructor?
tnx. (1 Reply)
Discussion started by: thebladerunner
1 Replies
6. Shell Programming and Scripting
I have a java program to validate a XML file. I want to call this java program in a shell script which will be registered as concurrent program in oracle apps.
Can anyone please let me know the step by step appraoch required to call java program in shell script like ....intial steps... (1 Reply)
Discussion started by: kcp_pavan
1 Replies
7. Programming
Hi,
i want to call shell script via java + in that shell script i m doing some sql operation by connecting to sqlplus .
i want to return 0 if successful exeution of SQL operations else 1 ;
is it possible ?
#!/bin/sh
Name=$1;
export ORACLE_HOME
$ORACLE_HOME/bin/sqlplus... (3 Replies)
Discussion started by: crackthehit007
3 Replies
8. Shell Programming and Scripting
Hi All,
Can anybody please help me with how can i call my java program from shell and also pass parameter along with it so that the program can interpret the value/int and update the database.
Thanks in advance
Neha (1 Reply)
Discussion started by: Neha Goyal
1 Replies
9. Shell Programming and Scripting
Hello Everybody,
thanks in advance for spending some time in my problem.
My problem is this:
I want to call a java-Programm out of my shell skript, check if die return code is right, and split the output to the normal output and into a file.
The following code doesn't work right, because in... (2 Replies)
Discussion started by: danifunny
2 Replies
10. Programming
Hi All,
Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question.
Thanks (1 Reply)
Discussion started by: aish11
1 Replies
LEARN ABOUT NETBSD
msgunfmt
MSGUNFMT(1) GNU MSGUNFMT(1)
NAME
msgunfmt - uncompile message catalog from binary format
SYNOPSIS
msgunfmt [OPTION] [FILE]...
DESCRIPTION
Convert binary message catalog to Uniforum style .po file.
Mandatory arguments to long options are mandatory for short options too.
Operation mode:
-j, --java
Java mode: input is a Java ResourceBundle class
--csharp
C# mode: input is a .NET .dll file
--csharp-resources
C# resources mode: input is a .NET .resources file
--tcl Tcl mode: input is a tcl/msgcat .msg file
Input file location:
FILE ...
input .mo files
If no input file is given or if it is -, standard input is read.
Input file location in Java mode:
-r, --resource=RESOURCE
resource name
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
The class name is determined by appending the locale name to the resource name, separated with an underscore. The class is located using
the CLASSPATH.
Input file location in C# mode:
-r, --resource=RESOURCE
resource name
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
-d DIRECTORY
base directory for locale dependent .dll files
The -l and -d options are mandatory. The .dll file is located in a subdirectory of the specified directory whose name depends on the
locale.
Input file location in Tcl mode:
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
-d DIRECTORY
base directory of .msg message catalogs
The -l and -d options are mandatory. The .msg file is located in the specified directory.
Output file location:
-o, --output-file=FILE
write output to specified file
The results are written to standard output if no output file is specified or if it is -.
Output details:
-e, --no-escape
do not use C escapes in output (default)
-E, --escape
use C escapes in output, no extended chars
--force-po
write PO file even if empty
-i, --indent
write indented output style
--strict
write strict uniforum style
-p, --properties-output
write out a Java .properties file
--stringtable-output
write out a NeXTstep/GNUstep .strings file
-w, --width=NUMBER
set output page width
--no-wrap
do not break long message lines, longer than the output page width, into several lines
-s, --sort-output
generate sorted output
Informative output:
-h, --help
display this help and exit
-V, --version
output version information and exit
-v, --verbose
increase verbosity level
AUTHOR
Written by Ulrich Drepper.
REPORTING BUGS
Report bugs to <bug-gnu-gettext@gnu.org>.
COPYRIGHT
Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for msgunfmt is maintained as a Texinfo manual. If the info and msgunfmt programs are properly installed at your
site, the command
info msgunfmt
should give you access to the complete manual.
GNU gettext-tools 0.14.4 April 2005 MSGUNFMT(1)