I am trying to retrieve the "Implementation version" from one of the .jar file
The command which tried is as below.
I am able to get the version as below
But the problem is the above command is not terminating naturally. I have to forcefully exit the command to return to the shell terminal.
On extracting the .jar file there is a MANIFEST file and "Implementation-Version" is written inside the MANIFEST file.Please help in getting the Implementation version from the jar file.
Moderator's Comments:
Please use CODE tags correctly as required by forum rules! Tagging your entire text is NOT the way to go!
---------- Post updated at 07:34 AM ---------- Previous update was at 07:24 AM ----------
I will abide this rule.It was mistakenly put.
Last edited by RudiC; 10-26-2017 at 09:30 AM..
Reason: Corrected CODE tags.
Hi vgersh99,
Iam sorry for that. In future, I will start new threads for different topics. Assuming that we don't know what the name of the jar file, we are searching for is, do we have any way, of finding a string or a file in it. Is there any Unix command for it?
thanks. (2 Replies)
Hello sir,
I have created a jar file having some code in java.What it does is that it calls a shell code (a.sh) which is in the same directory.
Now my requirement is that I want to jar the a.sh also along with the other files and want to call the a.sh which is now inside the jar file and not... (1 Reply)
Hi,
I have a below command in ksh ....
$JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart
I want to know where the... (1 Reply)
OKay so my question is that how does this jar file convert something in there and show pdf when open it? I don't get how it works. Can someone explain to me. I have a link below, in there will be a file call Tools, and please open the file called "PQ10-sample" it will automaticly open up a pdf as... (11 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)
I have a script I am trying to test and run but it runs against a jar file. I wrote an external property file so it would redirect with my script, but it keeps going in search of the previous property file. Is there any way to externally over write the jar file and if not how do you go about... (7 Replies)
Discussion started by: risarose87
7 Replies
LEARN ABOUT SUSE
create-jar-links
CREATE-JAR-LINKS(1) User Commands CREATE-JAR-LINKS(1)NAME
create-jar-links -f instructions_file [-a archive_file] [-p]
SYNOPSIS
create-jar-links -f instructions_file [-a archive_file] [-p]
OPTIONS -a Archive file on which actions will be performed, as opposed to current directory
-p Preserve original file names (-p to build-jar-repository)
-f The instructions file to check against.
-a Archive file on which actions will be performed, as opposed to current directory
-p Preserve original file names (-p to build-jar-repository)
-f The instructions file to check against.
EXAMPLES
Suppose there is a clean source tarball (using clean-binary-files(1) and check-binary-files(1)). Following this, one can extract the tar-
ball, cd to it, and run:
create-jar-links -f <instructions> -d <custom_jar_map>
This would call build-jar-repository(1) and create symlinks, with extra mappings (form vanilla jar names to jpp names) that are specifiable
via the custom jar map.
SEE ALSO
Regular Manual Pages
check-binary-files(1), create-jar-links(1), build-jar-repository(1), jpackage-utils(7)
Documentation
Further reading should be found in clean-binary-files.txt located in your standard documentation directory.
Original mail is here:
https://www.zarb.org/pipermail/jpackage-discuss/2005-November/009158.html
AUTHOR
Written by Deepak Bhole
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
create-jar-links (jpackage-utils) 1.7.5 February 2009 CREATE-JAR-LINKS(1)