Sponsored Content
Full Discussion: calling a script from java
Top Forums UNIX for Dummies Questions & Answers calling a script from java Post 48381 by javierelizabeth on Friday 5th of March 2004 08:40:55 AM
Old 03-05-2004
Question calling a script from java

HI
I need to build a GUI where a button could execute a script in Solaris 8. I am working with Sun ONE Studio 7 Enterprice Edition.
Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Java program calling a UNIX command

I was wondering if it was possible to call a unix command directly from a Java program during run-time. This command could very very basic e.g. "ps -ef" returned as a string, all I need is a starting place so if anyone has any suggestion or examples I would be very grateful (2 Replies)
Discussion started by: QUartz Ite
2 Replies

2. Shell Programming and Scripting

java errors when calling from cron

I am more or less new to using cron, and I am trying to automate a log cleaning system I have made. The system basically cleans through WWW logs that are mounted on an NFS and creates text files for entry into a local PostgreSQL DB. For the past year I have been running the various scripts and... (3 Replies)
Discussion started by: mntamago
3 Replies

3. Shell Programming and Scripting

passing a variables value from the called script to calling script using ksh

How do i get the value of the variable from the called script(script2) to the calling script(script1) in ksh ? I've given portion of the script here to explain the problem. Portion of Script 1 ============= ----- ----- tmp=`a.ksh p1 p2 p3` if then # error processing fi -----... (10 Replies)
Discussion started by: rajarkumar
10 Replies

4. Shell Programming and Scripting

reading fixed length flat file and calling java code using shell scripting

I am new to shell scripting and I have to to the following I have a flat file with storename(lenth 20) , emailaddress(lenth 40), location(15). There is NO delimiters in that file. Like the following str00001.txt StoreName emailaddress location... (3 Replies)
Discussion started by: willywilly
3 Replies

5. Shell Programming and Scripting

Calling Java Method from UNIX using shell script

Hi All, I need to call a java method from a shell script. I know we can use the command java ClassName to call the main method in it. But I need to call another method that is there in the class and pass an email to it. Can I use java ClassName.MethodName(email) Any help will be... (4 Replies)
Discussion started by: RahulK
4 Replies

6. Programming

calling java from c++

I have an adapter written in c++ from which I need to call a java service point. Could anybody please provide an example program of calling java from c++ thanks in advance. (0 Replies)
Discussion started by: axes
0 Replies

7. Red Hat

Calling BASH script from JAVA

Hi, I am trying to call a bash script from a java file. Code to call bash script will look like: Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec("mybashfile.sh"); It is succesfully calling the bash file. I am using simple rm commands in the script to remove... (0 Replies)
Discussion started by: lakshman.forums
0 Replies

8. Shell Programming and Scripting

How to pass the environment name while calling java program from unix script?

Hi, I'm trying to test one unix shell script in dev environment. But I'm not sure how to pass the environment in my java program calling code. I'm trying to use -DconsumerEnv="DEV" but unfortunately I get 'null' while trying to print the value from java class. System.out.println("Environment: "+... (4 Replies)
Discussion started by: Pramit
4 Replies

9. Shell Programming and Scripting

calling a shell script present on another server using perl script.

Hi, I am working on a sever A. I want to write a perl script to execute a shell script persent on the server B. please help me in this. thanks in advance. (3 Replies)
Discussion started by: anandgodse
3 Replies

10. Shell Programming and Scripting

Calling shell script within awk script throws error

I am getting the following error while passing parameter to a shell script called within awk script. Any idea what's causing this issue and how to ix it ? Thanks sh: -c: line 0: syntax error near unexpected token `newline' sh: -c: line 0: `./billdatecalc.sh ... (10 Replies)
Discussion started by: Sudhakar333
10 Replies
LV2SONAME(1)						      General Commands Manual						      LV2SONAME(1)

NAME
lv2soname - script which can be used in your build system to translate a linker option into the soname DESCRIPTION
This manual page documents briefly the lv2soname command. This manual page was written for the Debian distribution because the original program does not have a manual page. lv2soname script can be used in your build system to translate a linker option (e.g. -lgtkmm2.4) into the soname (e.g. libgtkmm-2.4.so.1) for the shared library that ld will link to when given that command line option. It will generate the RDF triples needed to tell hosts that the library with that soname must never be unloaded even after your plugin GUI library has been unloaded. e.g. $ lv2soname '<http://my.gui>' '<http://lv2plug.in/ns/lv2core#requiredFeature>' -lgtkmm-2.4 If the script for some reason can't determine the soname it will instead generate the RDF needed to tell the host to never unload the GUI library at all. However pretty much the same thing can be done by linking the plugin GUI using the -z nodelete linker option, which will keep the GUI library loaded even after the host runs dlclose(), requiring no extra support from the host. So lv2soname is deprecated and will be removed in the next major version release. For more information please visit http://ll-plugins.nongnu.org AUTHOR
lv2soname was written by Lars Luthman <lars.luthman@gmail.com>. This manual page was written by Jaromir Mike <mira.mikes@seznam.cz>, for the Debian project (but may be used by others). May 12, 2010 LV2SONAME(1)
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy