Sponsored Content
Full Discussion: jar options..Help..
Top Forums Shell Programming and Scripting jar options..Help.. Post 302599024 by kalpeer on Thursday 16th of February 2012 03:42:41 AM
Old 02-16-2012
MySQL

You can use the option "-u" with the command "jar"
Quote:
jar uf jar-file input-file(s)
Example
Quote:
jar uf TicTacToe.jar images/new.gif
Quote:
  • The u option indicates that you want to update an existing JAR file.
  • The f option indicates that the JAR file to update is specified on the command line.
  • jar-file is the existing JAR file that's to be updated.
  • input-file(s) is a space-deliminated list of one or more files that you want to add to the Jar file.

.
Thanks,
Kalai
 

7 More Discussions You Might Find Interesting

1. Solaris

Jar and tar

I am a beginner to Solaris In Solaris you will find 'jar'. I am used to 'tar' command in Linux. What makes the differenced between 'jar' and 'tar' ? Is 'jar' unique to Solaris? I found a command called 'compress' too in Solaris. It is not in my Linux. Is it something special to... (1 Reply)
Discussion started by: Angelo
1 Replies

2. UNIX for Dummies Questions & Answers

Jar patches

Hi, This is definitely a dummy question, so I guess I'm in the right place. I've got to install some solaris patches. I've downloaded the correct patches as .jar files and also as .zip files. How do I extract these so that I can then use the patchadd command. I've created a... (0 Replies)
Discussion started by: thewetch
0 Replies

3. UNIX for Dummies Questions & Answers

down in JAR file

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)
Discussion started by: nsharath
1 Replies

4. Solaris

question about jar

hi all, i am using jar as following :- jar cvf file_name.txt.jar file_name.txt but it is file by file my problem is i have i want to run jar on all files in speaific directory what can i do for this this is for the first time the secand time there was files already ended by... (5 Replies)
Discussion started by: xxmasrawy
5 Replies

5. Solaris

jar from a different folder

Hi , i use below command to create a jar from /home/surya jar -cvf foldername.jar jarfolderpath foldrename.jar= directorywhere jar file needs to be created including jar file name jarfolderpath: directory which needs to be included to create a jar Now taking below scenario:... (1 Reply)
Discussion started by: surya.jena
1 Replies

6. Ubuntu

Kernel boot options removed by fault, no boot options

Hello Everyone, First of all, I highly appreciate all Linux forum members and whole Linux community. http://forums.linuxmint.com/images/smilies/icon_wink.gif. I wish you the best for all of you ! I will try to be short and concise: I am using Linux Mint 10 for 2 months on 2 ws, and all went... (3 Replies)
Discussion started by: cdt
3 Replies

7. 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
extcheck(1)						      General Commands Manual						       extcheck(1)

NAME
extcheck - jar conflict detection utility SYNOPSIS
extcheck [ -verbose ] [ -Joption ] targetfile.jar DESCRIPTION
The extcheck utility checks a specified jar file for title and version conflicts with any extensions installed in the JDK software. Before installing an extension, you can use this utility to see if the same or a more recent version of the extension is already installed. The extcheck utility compares the Specification-title and Specification-version headers in the manifest of targetfile.jar file against the corresponding headers in all Jar files currently installed in the extension directory. (The extension directory is jre/lib/ext by default.) The extcheck utility compares version numbers in the same way as the method java.lang.Package.isCompatibleWith. If no conflict is detected, the return code is 0. If the manifest of any jar file in the extensions directory has the same Specification-title and the same or a newer Specification-version number, a non-zero error code is returned. A non-zero error code is also returned if targetfile.jar does not have the Specification-title or Specification-version attributes in its manifest. OPTIONS
The following options are supported: -verbose Lists jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file and any conflicting jar files are also reported. -Joption Pass option to the Java virtual machine, where option is one of the options described on the man page for the java applica- tion launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes. SEE ALSO
jar(1) 13 June 2000 extcheck(1)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy