Sponsored Content
Top Forums UNIX for Dummies Questions & Answers jar command not running in Unix Post 84977 by hkapil on Thursday 29th of September 2005 08:38:01 PM
Old 09-29-2005
jar command not running in Unix

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
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

java.lang.System when running jar

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

Running a UNIX command from Windows

Hi I need to run a UNIX command from Visual C++ Windows program. I was thinking of the Windows program generating a dummy file on the UNIX drive. On the UNIX box I could have a simple FORTRAN porogram searching continually for this dummy file and executes the UNIX command when the file... (2 Replies)
Discussion started by: robbiegregg
2 Replies

3. Shell Programming and Scripting

Running windows command from Unix

Hi, Is there any way to invoke a Windows command from Unix ?? For eg: I want to track down a user executing a script and want to send him a message through net send in windows .. I am able to get the user machines ip ... and since I want my message to be popped up in users screen, wud... (4 Replies)
Discussion started by: Sabari Nath S
4 Replies

4. UNIX for Advanced & Expert Users

Running a Unix command as a different user

hi, I wrote a C program (runas.c) that runs a command as a different user. The problem I'm having is that the new user's group membership isn't going into effect. Take the following scenario: I login as "kirk". I need to run some commands as "spock". kirk and spock belong to these... (4 Replies)
Discussion started by: Andrewkl
4 Replies

5. Shell Programming and Scripting

Error running a .sh script when extracted from a jar file.

I am trying to run a script called install.sh as follows: I get a jar file, and extract it using the command: unzip filename.jar -D path/to/files then I navigate to that directory where I extracted the files, and run the command: sh install.sh (where install.sh is one of the files... (12 Replies)
Discussion started by: albert_newton
12 Replies

6. Shell Programming and Scripting

Running a script in crontab which executes a jar file

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. UNIX for Advanced & Expert Users

running unix command from java

Hi All, I have been struggling for a week trying to run a unix command from my java program. the unix command is = ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt' when i try to run this command directly on my unix console, it works perfectly. but when i try it form my... (0 Replies)
Discussion started by: madhu_sharan
0 Replies

8. UNIX for Dummies Questions & Answers

running unix command from java

Hi All, I have been struggling for a week trying to run a unix command from my java program. the unix command is: ssh dmdev3@tsapid01-zt3d01 ':> /t3/envs/dmdev3/test/file_list.txt' when i try to run this command directly on my unix console, it works perfectly. but when i try it form... (12 Replies)
Discussion started by: madhu_sharan
12 Replies

9. UNIX for Beginners Questions & Answers

Need help running a Foxbase command in UNIX

Hello, I'm new to Unix and need the help of an expert. How can I run a foxbase command "DO perform FoxBase program" in Unix? Thank you (1 Reply)
Discussion started by: webuxer
1 Replies
BUILD-JAR-REPOSITO(1)						Java Packages Tools					     BUILD-JAR-REPOSITO(1)

NAME
build-jar-repository - create a symbolic link to a JAR SYNOPSIS
build-jar-repository [OPTION]... DIRECTORY JAR|artifact-coordinates DESCRIPTION
Build a JAR repository in the named directory by copying files or creating symbolic links. The JARs can be identified by their names or Maven artifact coordinates. Artifact coordinates specify Maven artifact and are in format groupId:artifactId[:extension[:classifier]]:version. If extension is omitted then "jar" is used. If classifier is omitted then empty classifier is used. For more information see XMvn Configuration Reference. OPTIONS
If no option is specified the default action will be to create symbolic links -c, --copy Copy files. -h, --hard Create hard links. -p, --preserve-naming Try to preserve the names of the original JAR files (in case of a nested hit the slashes in the path will still be replaced by underscores). Using this option makes any future automated repository rebuild impossible, and implies -c unless specified otherwise. -s, --soft, --symbolic Create symbolic links (default). --help Display help text EXAMPLES
build-jar-repository . jndi - This will create a symbolic link to the jndi JAR in the current working directory. build-jar-repository -h /tmp log4j - This will create a hard link to the log4j JAR in /tmp directory. build-jar-repository -c . org.apache.commons:commons-io - This will copy commons-io JAR to the current working directory. AUTHOR
Originally written by Nicholas Mailhot and David Walluck. REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/. SEE ALSO
build-classpath(1), rebuild-jar-repository(1), JAVAPACKAGES
06/10/2014 BUILD-JAR-REPOSITO(1)
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy