01-04-2010
This is gonna sound silly, but I'm not sure what you're running. You do have /bin/sh right?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.
/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System
But when I run it on the command line it unzips the file fine.
Does anybody know why this... (2 Replies)
Discussion started by: ctcuser
2 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
I am working in Sun SOlaris 9 and trying to extract a particular jar file in my home.
I am giving command
"jar xv <filename>"
But it just hangs and does nothing ?
Any pointers why this is happenning ? or how can I see contents of a jar file?
Thanks (2 Replies)
Discussion started by: hkapil
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have been trying to shoot an email with the email body to be obtained from a file.
Can someone please help me with it..
I have been trying to use the MAILX commad for the same.
mailx -s "test email" -r sender@test.com < file.txt
but it sends the file as an attachment,while i... (3 Replies)
Discussion started by: rohit.shetty84
3 Replies
4. Shell Programming and Scripting
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions.
now the result is one huge .txt file with all the contents of other .txt files
how can i add a File Name as a comment before each file?
... (12 Replies)
Discussion started by: miss_dodi
12 Replies
5. Shell Programming and Scripting
If I have a script that is using
unrar e file.part1.rar
How does the script get the name of the extracted file if I don't know the extension of the file?
In my example the name would be file.***, but I wouldn't know the extension.
---------- Post updated at 05:13 PM ---------- Previous... (0 Replies)
Discussion started by: locoroco
0 Replies
6. Shell Programming and Scripting
Hi,
I have a script (.sh file) which has been created through my login. This script executes a jar file.
Java is installed through my login and the folder has been given full permission for access.
When this script is added by root in crontab, it does not get executed.
Could you please... (1 Reply)
Discussion started by: archana.n
1 Replies
7. Shell Programming and Scripting
What would be the best way to store the name of an extracted file from a tar to a text file?
I want to extract one file from a tar and store the name of the extracted file to a temp file.
tar -xvf tar_file.tar file_to_be_extracted (1 Reply)
Discussion started by: erin00
1 Replies
8. Shell Programming and Scripting
Hi,
I am trying to write a shell script that will go to another folder and run the script in that folder. The folder structure is kind of like this:
/MainFolder/
|-> MainShellScript.sh
|
|-> Folder1/
|-----|-> script1.sh
|-----|-> FileToRun1.jar
|
|-> Folder2/
|-----|-> script2.sh... (3 Replies)
Discussion started by: sleo
3 Replies
9. Shell Programming and Scripting
Dear Experts,
I am an ERP consultant and would like to learn shell script. We are working on Linux SUSE 11.4 and I am very new to shell scripting. We can manually encrypt an excel file using "executable jar" through command prompt by placing the jar file & the file to be encrypted on a physical... (1 Reply)
Discussion started by: nithin226
1 Replies
LEARN ABOUT DEBIAN
jh_manifest
JH_MANIFEST(1) Javahelper JH_MANIFEST(1)
NAME
jh_manifest - Adds or/and modifies manifests for jars
SYNOPSIS
jh_manifest [debhelperoptions] [options] jar1 ... jarN
jh_manifest [debhelperoptions] [options]
DESCRIPTION
Javahelper tool to add or update manifests in a jar file. It can be used in two modes. If passed jar files, it will only process these jar
files. Otherwise it will update all jar files in the packages it acts on.
When processing a package, the debhelper(7) exclude option will make jh_manifest ignore matching jar files.
FILES
debian/package.manifest (or debian/manifest)
This file consist of a list of jar files and values to add to their manifests. Values in this file will take precedence over values in
the original manifest (and command line arguments over values in this file).
It is allowed to list a link in this file instead of an actual jar file, provided that the link can be resolved when jh_manifest
processes it.
If a jar file is listed here cannot be found, jh_manifest will print a warning, unless the jar file has been excluded.
As of javahelper >= 0.32, you may add comments in this file. If the line starts with a "#" it is completely ignored.
This file is ignored if jh_manifest is passed jar files via command line.
OPTIONS
-c classpath, --classpath=classpath
Sets the Class-Path attribute of all processed jar files to classpath.
If not passed, then the CLASSPATH environment variable will be used in the given jar file do not have a Class-Path attribute.
-m class, --main=class
Sets the Main-Class attribute to class in all processed jar files.
-o options, --javaopts=options
Sets the Debian-Java-Parameters to options in all processed jar files. This attribute is used by jarwrapper to start java with extra
options (e.g. to make more memory available).
-j /path/to/java/home, --java-home=/path/to/java/home
Sets the Debian-Java-Home attribute to /path/to/java/home in all processed jars. This attribute is used by jarwrapper to determine
which JVM to use.
EXAMPLES
An example debian/manifest file:
# use the symlink so we do not have to update with the next upstream release.
usr/share/java/my.jar:
Class-Path: dep1.jar dep2.jar
Main-Class: some.awesome.Class
usr/share/java/dep2.jar:
Class-Path: dep1.jar
SEE ALSO
debhelper(7)
This program is a part of javahelper and uses debhelper as backend. There are also tutorials in /usr/share/doc/javahelper.
AUTHOR
Niels Thykier <niels@thykier.net>
COPYRIGHT AND LICENSE
Copyright 2010 by Niels Thykier
This tool is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
0.43 2012-03-12 JH_MANIFEST(1)