Jar patches


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Jar patches
# 1  
Old 05-10-2006
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 /var/spool/patch directory but when I try the jar extract or jar tf I get

java.util.zip.ZipException: invalid entry size (expected 4985 but got 4994 bytes)

Any help gratefully received
Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies

2. 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

3. Shell Programming and Scripting

jar options..Help..

Hi, Is there an option with jar command which allows us to copy some class files(already existing,want to override)to a jar file without exploding it.? Thanks in advance. (1 Reply)
Discussion started by: dnam9917
1 Replies

4. 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

5. 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

6. 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

7. Shell Programming and Scripting

Jar File Search!

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

8. 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
Login or Register to Ask a Question
cleanup(1M)															       cleanup(1M)

NAME
cleanup - HP-UX patch cleanup utility SYNOPSIS
DESCRIPTION
The command provides functions useful when dealing with HP-UX patches on HP-UX. The command logs all information to Options recognizes the following options: Preview the task but do not actually perform the requested action. Notify the user of tasks and request confirmation before performing the requested action. Commit patches superseded at least number times. This option is a front-end to the option of (see swmodify(1M)) that provides an easier interface to commit multiple patches at once. Remove patches in the specified software depot that have been superseded by patches also available from the depot. Specifies whether the software depot contains patches for HP-UX 10.X or 11.X releases. This option is only valid with the option. If the option is not specified, it defaults to HP-UX 11.X patches. Specifies whether patches in the software depot that contain a corequisite or prerequisite attribute specifying one of the superseded patches as a dependency should also be removed. This option is valid only with the option. If the option is not specified, it defaults to true. Remove HP-UX 10.X patches that remain in the Installed Product Database after an upgrade to HP-UX 11.X. These patches are removed from the IPD so that they are no longer displayed in the output of the command (see swlist(1M)). The HP-UX 10.X patch files are also removed from Correct the attribute for HP-UX 11.X patches. Recommendations The command should be executed after updating to HP-UX 11.X from HP-UX 10.20. It is not necessary to execute after updating from one ver- sion of HP-UX 11.X software to another because SD-UX will properly remove 11.X patch information from the IPD in these situations. The command should be executed whenever patches are added to a software depot. It is not a requirement that superseded 11.X patches be removed from a software depot, but it is a recommendation to conserve disk space and to avoid confusion. If superseded patches exist in the same depot as patches that supersede them, SD-UX on HP-UX 11.X will handle the situation properly. The command can be executed to commit all patches that have been superseded at least the specified number of times. The only benefit from committing patches is that disk space will be recovered in the The command can be executed to insure that the attribute of all patch filesets is set correctly. There are several known situations where the attribute will be set incorrectly. This command can be run at any time, but will be most useful after a system has been installed using Ignite-UX. AVAILABILITY
This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a superseding patch. On 11i v1 it is available in patch PHCO_27780 or a superseding patch. WARNINGS
Extreme care should be used when committing patches. Once a patch has been committed, it cannot be removed from the system. Patches should only be committed when you are satisfied with their behavior. Recovering disk space should not be the only factor considered when committing patches. AUTHOR
was developed by HP. SEE ALSO
show_patches(1), sysdiff(1), check_patches(1M), swlist(1M), swmodify(1M), swremove(1M), sd(4). cleanup(1M)