Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Extracting Jars froma PKG

Posted on 2005-03-30
10
Medium Priority
?
663 Views
Last Modified: 2008-02-26
Hi all

Im about to do a delivery in work, and my boss wants the jars I used, since I made this build several changes have been made, so I want to extract the jar files from the package, so as to have the exact version for him to build against if needed.

I thought that winrar would do the job. I can use either unix or windows. Not really pushed.

Cheers
0
Comment
Question by:fallenarmies
  • 4
  • 4
9 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13660369
use the jar command from jdk
or any zip utility, eg. winzip
0
 

Author Comment

by:fallenarmies
ID: 13660406
Tried winrar and winzip any others?

whats the Jar command? I'll take a look for it now but help would be great.
0
 
LVL 92

Expert Comment

by:objects
ID: 13660442
winzip should have worked, can you explain a little more about specifically what you need to do.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:fallenarmies
ID: 13660486
I need to open up the package go down through the directory structure and take out the correct jar files that I need. I need to deliver the package and jars to my boss. When I opened it in winzip I saw no structure or jarfiles. Winrar showed the structure but no jarfiles.
0
 

Author Comment

by:fallenarmies
ID: 13660499
!   C:\Documents and Settings\lono\Desktop\coreAI.pkg: Unexpected end of archive

This is the error message from winrar
0
 
LVL 92

Expert Comment

by:objects
ID: 13660524
sorry misunderstood you, thats a pkg file I thought you were trying to open a jar
0
 
LVL 92

Expert Comment

by:objects
ID: 13660534
probably better off asking in the Solaris TA.
0
 

Author Comment

by:fallenarmies
ID: 13661241
right the solution is:

unix

pkgtrans [PACKAGE NAME] [DIRECTORY NAME]
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14419339
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question