Link to home
Start Free TrialLog in
Avatar of mskumar_apk
mskumar_apk

asked on

pack200.exe

Dear Experts,

As per the following link, there are pack200.exe and unpack200.exe. I believe it is not available in JRE1.5 Beta.

http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html#pack200_compression

Can we download it from somewhere? Because I want to compress my jars (built using jre1.4.2) and my application needs jre1.4.2.

I could not use jre1.5 beta since my application will work perfectly on jre1.4.2.

Is there any way to achieve this?

Thanks for your help.

regards,
MSKumar
Avatar of Mick Barry
Mick Barry
Flag of Australia image

download 1.5 and grab the exe's from the installation.
Avatar of mskumar_apk
mskumar_apk

ASKER

no. i could not find pack/unpack executables in j2re1.5 and j2sdk1.5. thats why the above question.

kindly help if any body knows what to do.
you sure?  According to the doco pack200 support is provided with tiger.
They may well not be exe's.

yeah. jre1.5 has pack200 class. but it does not have pack200.exe.

my application is built on jre1.4.2 and i cant use jre1.5 beta's rt.jar. (which means i can't bundler jre1.5.  in other words i cant use jre1.5 for installation and jre1.4.2 for running application).
what to do to get standalone pack200.exe. according to documentation they are saying pack200 and unpack are purely C++ programs which can be built standalone.

i am eagerly searching for the methodology.
> but it does not have pack200.exe

Who said it should?

> according to documentation they are saying pack200 and unpack are purely C++ programs which can be built standalone.

Where does it say that in the doco?
>> there are pack200.exe and unpack200.exe. I believe it is not available in JRE1.5 Beta.
did you download the SDK or you just downloaded the JRE? it should be in the 1.5 SDK.
no in jdk also i could not fine any pack200.exe and unpack200.exe. jre contains pack200 class using which u can pack the jars that are built on jre1.5.

actually i have downloaded linux .bin jdk file.

since i want to use pack200 for jre1.4.2 based jars, i could not do that. in fact jre1.5 has unpack.exe ( i found it from the output of execution of .bin file) which is merely deleted after the installation by java installation kit.

>> actually i have downloaded linux .bin jdk file.
if you need the .exe (which is for windows platform), you MUST download the window version of jdk and install, from there you'll find the pack200.exe file.
HTH
> you MUST download the window version of jdk and install

why is pack200 only available on Windows?
>> why is pack200 only available on Windows?
do you think pack200.exe is useful in any platform other then windows? as you always said to others, read the question and read the thread. :-)
I know what the question is asking. I didn't ask about pack200.exe, I was interested to know why you feel pack200 is only available on Windows?

> from there you'll find the pack200.exe file.

where exactly?
Try looking in the jre for Windows instead of the jdk (it maybe there, it may not).
>> I was interested to know why you feel pack200 is only available on Windows?
where of comment I said that, why you *always* make up something that others never committed?

>> I didn't ask about pack200.exe
It does no matter whether you ask for it. it is important that mskumar_apk asked for it!!
>> Try looking in the jre for Windows instead of the jdk (it maybe there, it may not).
what a joke! the jdk is the superset of jre. which means jdk includes everything jre has! don't tell me you don't know that objects.
> the jdk is the superset of jre.

That is not correct.

> where of comment I said that, why you *always* make up something that others never committed?

Its a simple q, as I was curious to why pack200 apparently is not made avaiulable under linux as you stated it was available under windows and was curious why and whether it wasn't available to other os's also.
>> That is not correct.
did you ever downloaded jdk1.5 and had a look, if yes, then why it is not correct?
hello all,

cool and sorry for that confusion.

i am looking for pack200 executable (is it ok) for linux, windows and solaris.

I have downloaded j2sdk and j2re1.5 for linux, and looked for pack200 linux executable and could not find that. if j2sdk/j2re 1.5 for linux contains pack200 executable then windows j2sdk/j2re1.5 must have that pack200.exe right.

regards
MSKumar
Seems kennethxu doesn't want to answer your question either :(
I suspect that Sun may have just not got around to (or overlooked) including pack200 in this initial beta release of the SDK, perhaps kennethxu can answer our questions above.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial