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)
Hi,
I'm trying to extract a war file via the jar command; however, when I issue:
jar -xvf MyWarFile.war
I'm recieving "jar: not found"
I added
/usr/bin to the path ...didn't work
also tried
/usr/bin/jar to the path...still doesn't work
My JAVA_HOME/bin is also in the path.
... (1 Reply)
i configured XEN to use port 5902 and it worked. I installed vncserver on the host machine. Now when i connect to 5902 it redirects me to the centos machine not to the XEN guest. (0 Replies)
Hi, this is my first time posting here and am new to linux/unix. So here is my question.
I have two user account and a root account.
root
user account 1:calchen1
user account2: calchen2
Now i want to use the sudo utility to allows user to run programs with the privileges of another... (1 Reply)
Hi all,
I installed centos 5, with LAMP.
httpd is working fine, ssh, ftp all working ok.
But, when I try to use mysql its not,
when I give the command
mysql
I get
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (4 Replies)
Hi All,
I am having 7 jar files in a dir. abc like listed below
bash-3.00$ cd abc
bash-3.00$ ls
123.jar
23wdawd.jar
dfsa23.jar
dsa.jar
wew234.jar
adsd234234.jar
dfsda423.jarNow i want to assign all this jar files to a variable in the below format
... (6 Replies)
Hi
We have one centos Server on Asterisk platform and using OS Open source dialer for dialing outbound connections.We are using eyebeam as a softphone for calling with Server ip 192.168.1.X.Today i found dialing issues with each client side phones.Not showing pause/resume button when browse... (0 Replies)
I was testing Networking Teaming (activebackup) with a VM hosted on VmWare Workstation and VirtualBox, and the result is, if the active interface is down, the system is not using the backup interface.
Tested on both CentOS / RHEL 7
Please find below the command I have used to configure teaming.... (0 Replies)
All,
I am facing an issue as log rotation not working for me as expected for tomcat in centos 7.2. I configured log rotation command in crontab
*/5 * * * * root /usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1
I am trying to rotate below tomcat logs owned by application... (0 Replies)
Discussion started by: shekar777
0 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)