Sponsored Content
Top Forums UNIX for Dummies Questions & Answers jar command not being recognized Post 302192224 by orahi001 on Tuesday 6th of May 2008 10:29:56 AM
Old 05-06-2008
I found the problem...
I did a find on "jar" and /usr/bin/jar was the first thing to show up. This was not the correct jar. I found it under JAVA_HOME/bin. The JAVA_HOME variable that I had originally set in my path was incorrect.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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 (2 Replies)
Discussion started by: hkapil
2 Replies

2. Forum Support Area for Unregistered Users & Account Problems

I am not being recognized

Hi Admin, My user id is "chanakyahere", i forgot my password. When i give my mail id "chanakyahere@gmail.com" it is not being accepting by webmaster. But to the same mail id i got reply to one of my questions. The same mail id i gave while registering in this site. This i can confirm as... (0 Replies)
Discussion started by: Help
0 Replies

3. Shell Programming and Scripting

Execution problems with the jar -tvf command and "if" logic

Hi, I am reading a directory that has a list of jar files. I am searching these files for specific keywords. What i would like to do is write the address of the jar file to a new file if the search result is returned as false. For example; /home/user/JarDirectory/Examplefile.jar ... (2 Replies)
Discussion started by: crunchie
2 Replies

4. Programming

How do i get Java commands to be recognized in command prompt?

I would like to do some of my Java programming homework at home, and when i type things such as "javac" & "java" it does not recognize it. How do i set it up so it recognizes Java coding? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

5. Programming

How do i get Java commands to be recognized in command prompt?

I would like to do some of my Java programming homework at home, and when i type things such as "javac" & "java" it does not recognize it. How do i set it up so it recognizes Java coding? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

6. Shell Programming and Scripting

Second parameter is not recognized

Hey I have a problem with my script. I writing a script which can depend whether you want to make a file or a directory. I only give the code where you can find the problem. My loop doesn't stop and I don't know why and when i echo my second parameter , he echoes nothing :s Thnx ... (1 Reply)
Discussion started by: Eclecticaa
1 Replies

7. Shell Programming and Scripting

$1 argument not being recognized

I am working on AIX 6.1 issuing #!/bin/sh at the beginning of the script. I don't understand why $1 is not working as expected. I expect it to hold the value for the first argument coming from the command line consistently - and it is not. At the beginning of the script starting I do this:... (4 Replies)
Discussion started by: Feliz
4 Replies

8. Shell Programming and Scripting

Want to write all the jar name in single with delimiter ":" in beween the jar name

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)
Discussion started by: natraj005
6 Replies

9. UNIX Desktop Questions & Answers

Jar command nor working in centos

Hi All, I have a jar file and I want to extract that jar file. I am using command jar xf Sample_Pack.jar After pressing enter this command returns no error and is not even executed. Pls help (1 Reply)
Discussion started by: Palak Sharma
1 Replies
BUILD-JAR-REPOSITORY(1) 					   User Commands					   BUILD-JAR-REPOSITORY(1)

NAME
build-jar-repository - create a symbolic link to a JAR SYNOPSIS
build-jar-repository [OPTION]... DIRECTORY... JAR DESCRIPTION
Build a JAR repository in the named directory by copying files or creating symbolic links 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 will create a symbolic link to the JNDI JAR in the current working directory build-jar-repository -h /tmp oro will create a hard link to the ORO JAR in /tmp AUTHOR
Written by Nicholas Mailhot and David Walluck REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/) build-jar-repository (jpackage-utils) 1.7.0 March 2006 BUILD-JAR-REPOSITORY(1)
All times are GMT -4. The time now is 08:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy