You are here

Java Portablizer feedback

6 posts / 0 new
Last post
BuddhaChu
BuddhaChu's picture
Offline
Last seen: 4 months 4 weeks ago
Joined: 2006-11-18 10:26
Java Portablizer feedback

Upgraded the Java version installed on my machine to ver 6, update 2 tonight. I still had the older update 1's folder and files on the machine so the directory structure looked like this:

C:\Program Files\Java\jre1.6.0_01
C:\Program Files\Java\jre1.6.0_02

I ran Java Portablizer v1.1 to update my ..\PortableApps\CommonFiles\Java files and it worked no problem. The program picked up on what was the latest version installed, copied the files, and updated the contents of JavaPortable.ini

Good work John! Smile (I guess I was expecting it to choke on that setup...)

RMB Fixed
Offline
Last seen: 14 years 10 months ago
Joined: 2006-10-24 10:30
Worked for me to ... :)

But Java itself has a ridiculous amount of small 1-2k files
and they waste A LOT of space on a FAT-formatted flashdrive .
I found one folder : actual file-size 256k size on disk : 1.7MB !
There's over 600 files in a full Sun Java JRE 1.6.0_02 and they
are not even particularly well compressed.
You can save about 25MB just by re-compressing all .jar's, f.ex with KJar,
and all exe's and dll's compress nicely with UPX.
unless you're running on a 486 it shouldn't be a problem .

And theres lots of files that may not be needed at all, depending on what
you are going to run on the JVM .
I have portable azureus working on a Sun Java that's only 23.6MB
and contains 90 files,both on a flash-drive ..

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 9 months ago
Joined: 2006-08-10 16:38
Hypothetically speaking....

(a question directed more at John or anybody else who knows about license's)
Could the Java Portablizer re-compress .jar .dll and .exe files before it copies them to the device? And I'm talking about the legality of it (as per Sun's license).
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 4 months 4 weeks ago
Joined: 2006-11-18 10:26
If you're asking about the

If you're asking about the legality/license angle, I'll aske the other question...

Is it logistically possible? Could the Java Portablizer use an OSS library to re-zip the files or something like that?

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

RMB Fixed
Offline
Last seen: 14 years 10 months ago
Joined: 2006-10-24 10:30
7-zip can ...

I believe 7-zip can compress jars ?

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 9 months ago
Joined: 2006-08-10 16:38
Yes

In fact, John has done it on some of the apps that he does. He says he decompresses and (re)compresses it using 7-zip.
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

Log in or register to post comments