Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Java Options question

Java Options question
Thread Tools
Mac Elite
Join Date: Oct 2002
Location: 33-37-22.350N / 111-54-37.920W
Status: Offline
Reply With Quote
Dec 9, 2004, 02:32 PM
 
In the Applications/Utilities/Java there is a Java 1.4.2 plugin settings app, I wonder has anyone tinkered with that to speed up java apps on their mac?

What does the JAR compression do anyway?

Thanks
Mac Pro 3.0, ATI 5770 1GB VRAM, 10GB, 2xVelociraptor boot RAID, 4.5TB RAID0 storage, 30" & 20" Apple displays.
2 x Macbook Pro's 17" 3.06 4 GB RAM, 256GB Solid State drives
iMac 17" Core Duo 1GB RAM, & 2 iPhones 8GB, and a Nano in a pear tree!
Apple user since 1981
     
Dedicated MacNNer
Join Date: Oct 2000
Location: Pasadena, CA, USA
Status: Offline
Reply With Quote
Dec 9, 2004, 06:00 PM
 
I can't answer your first question, but I know the answer to the second can be found on Sun's web site at http://java.sun.com/docs/books/tutorial/jar/. According to that page, Jar files:
  • Can be digitally signed
  • Allow a developer to bundle all the files associated with a Java application or applet into one file, which is very convenient
  • Can be compressed
  • Are used by the Java extensions framework
  • Can enforce "package sealing" (a somewhat obscure technical feature that has something to do with versioning)
  • Can contain version information
  • Are a standard part of the Java API

Which means that, conceptually JAR files are similar in function to Bundles on OS X.
     
UnixMac  (op)
Mac Elite
Join Date: Oct 2002
Location: 33-37-22.350N / 111-54-37.920W
Status: Offline
Reply With Quote
Dec 10, 2004, 01:46 AM
 
Originally posted by eyadams:
I can't answer your first question, but I know the answer to the second can be found on Sun's web site at http://java.sun.com/docs/books/tutorial/jar/. According to that page, Jar files:
  • Can be digitally signed
  • Allow a developer to bundle all the files associated with a Java application or applet into one file, which is very convenient
  • Can be compressed
  • Are used by the Java extensions framework
  • Can enforce "package sealing" (a somewhat obscure technical feature that has something to do with versioning)
  • Can contain version information
  • Are a standard part of the Java API

Which means that, conceptually JAR files are similar in function to Bundles on OS X.

I wonder if turning on compression will speed up java.. that would be great if so,
Mac Pro 3.0, ATI 5770 1GB VRAM, 10GB, 2xVelociraptor boot RAID, 4.5TB RAID0 storage, 30" & 20" Apple displays.
2 x Macbook Pro's 17" 3.06 4 GB RAM, 256GB Solid State drives
iMac 17" Core Duo 1GB RAM, & 2 iPhones 8GB, and a Nano in a pear tree!
Apple user since 1981
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Dec 10, 2004, 07:19 AM
 
Originally posted by UnixMac:
I wonder if turning on compression will speed up java.. that would be great if so,
Actually, it's more likely to slow Java down slightly, because it will have to decompress everything before it can be used. That said, the slowdown will probably be very small. The JAR (short for "Java ARchive") concept was developed as a distribution and packaging tool, not a performance booster.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
UnixMac  (op)
Mac Elite
Join Date: Oct 2002
Location: 33-37-22.350N / 111-54-37.920W
Status: Offline
Reply With Quote
Dec 10, 2004, 12:30 PM
 
thanks, so basically all the default settings for Java should be left alone, cool.
Mac Pro 3.0, ATI 5770 1GB VRAM, 10GB, 2xVelociraptor boot RAID, 4.5TB RAID0 storage, 30" & 20" Apple displays.
2 x Macbook Pro's 17" 3.06 4 GB RAM, 256GB Solid State drives
iMac 17" Core Duo 1GB RAM, & 2 iPhones 8GB, and a Nano in a pear tree!
Apple user since 1981
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2