Help with writing a script to run java commands in sequence in UNIX
Hi,
Brand new to these forums, and I hope that someone can help me out.
I'm trying to run the following command in UNIX
It executes the SplitSamFile from GATK, but I want to run 3 additional commands, in a sequence. I can get them to run simultaneously but not in sequence, as I'm not able to pause the jobs (using ctrl + z) and put them in the background.
I've tried the following in my UNIX bash system (example with just two commands):
but this gives me the following error:
I've tried to consider doing a SH script, but can't figure out how to make the commands come in sequence rather than all starting at the same time.
Hi
I'm trying to automatically run a command on a UNIX (AIX) machine from a Windows NT 4 machine. I can do this manually using the 'rexec' or 'rsh' command but I need an automatic login (on the AIX). In the manual I've found that there should be a '.rhosts' file on the Unix machine in the... (1 Reply)
HI, I want to run my .java file on a SunOS 5.8 Unix machine. The java file is writen with Ready to Program (Similar to Jbuilder) on a PC.
Thanks!! (3 Replies)
I need to run .java from a directory.
i.e. c:\aaa\bbb\ccc.java
first I compile all the java using javac *.java under the c:\aaa\bbb directory, now I want to run this command under cd .. ,
Here is the command that I need to type..
java -classpath... (5 Replies)
Hi ,
I am having one situation in which I need to run some simple unix commands after doing "chroot" command in a shell script. Which in turn creates a new shell.
So scenario is that
- I need to have one shell script which is ran as a part of crontab
- in this shell script I need to do a... (2 Replies)
Hi,
Iam trying to code in java and wanted to run the commands in the Unix remote servers. I have the following code to run multiple GREP commands in a single session.
But when i execute this, the first command executes successfully, whereas from the next line it says
"Exception Occured... (1 Reply)
Can anyone help me out in visualizing on what is the logic behind simple unix commands. For Eg: ls command lists files and directories, how it displays I need to know the source code for commands like this. (1 Reply)
I am trying to prompt the user using tput command to read the information ( 5 last names, first names and grades) from the keyboard. Save the data in a file called student.txt. Sort the file by last name and display it on the screen
My pseudocode is as follow:
Pseudocode:
Initialize your... (1 Reply)
Greeings all
Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ?
Here is my code....
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;... (3 Replies)
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Hello!
This is my first post, and I just learned what UNIX was this week. For a JAVA programming class I am taking, I must be able to create a directory in UNIX, use the nano command to create a JAVA program, compile it, and then run it on the command prompt using the java command.
For some... (5 Replies)
Discussion started by: UNdvoItX
5 Replies
LEARN ABOUT SUSE
jpackage-utils
jpackage-utils(7) RPM Java packaging jpackage-utils(7)NAME
jpackage-utils - Utilities, macros and other files for the JPackage Project <http://www.jpackage.org/>:
SYNOPSIS
build-classpath
build the Java classpath in a portable manner
build-jar-repository
build a jar repository in a portable manner
rebuild-jar-repository
rebuild a jar repository in a portable manner (after a jvm change...)
build-classpath-directory
build the Java classpath from a directory
diff-jars
show jar content differences
jvmjar
install jvm extensions
create-jar-links
create custom jar links
clean-binary-files
remove binary files from sources
check-binary-files
check for presence of unexpected binary files
DESCRIPTION
The JPackage Project has two primary goals:
- To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.
- To establish an efficient and robust policy for Java software packaging and installation.
We focus on free and open source software whenever possible. For convenience, we also provide non-free packages without the restricted
source code.
Our RPMs are generic in that they should work on any RPM based Linux distribution (Mandriva, Red Hat, SuSE, others). Other packaging format
suggestions are welcome too.
FILES
/use/share/java-utils/java-functions
shell script functions library for Java applications
/etc/java/jpackage-release
string identifying the currently installed JPackage release
/etc/java/java.conf
system-wide Java configuration file
~/.java/java.conf
user's Java configuration
/etc/rpm/macros.jpackage
RPM macros for Java packagers and developers
SEE ALSO
Regular Manual Pages
build-classpath(1)build-classpath-directory(1)build-jar-repository(1)check-binary-files(1)clean-binary-files(1)create-jar-links(1)diff-jars(1)find-jar(1)jvmjar(1)rebuild-jar-repository(1)rebuild-security-providers(1)java.conf(5)
Documentation
Following files are located in your standard documentation directory
HEADER.JPP
A standard header with license for spec files of JPackage Project
clean-binary-files.txt
A further documentation for check-binary-files(1), clean-binary-files(1) and create-jar-links(1) commands
httpd-javadoc.conf
Example JPackage javadoc configuration snippet for Apache
jpackage-1.5-policy.xhtml
JPackage Java infrastructure design and packaging policy
jpackage-utils-policy
JPackage packaging (naming) policy
AUTHOR
Written by the JPackage Project
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
jpackage-utils 1.7.5 February 2009 jpackage-utils(7)