Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Strange: Mac screen menu-bar requires max-heap-size to be set.

835647Feb 2 2011 — edited Feb 4 2011
I planned to omit the max-heap-size attribute in the line of my jnlp file

<j2se version="1.6+" max-heap-size="256m" />

The idea was that with Java 1.6 the heap size is set automatically
according to the client's RAM.

Unfortunately, the Macintosh screen menu-bar works if and only if the max-heap-size attribute is present.

It is a MacOsX=1.4 with Java1.5.

Strange, since the Mac runs Java 1.5 and I am talking about settings for 1.6.

The jnlp passed ValidateJNLP at http://mindprod.com/jgloss/jnlp.html#VALIDATION



Here is another post stating that attributes in JNLP have side effects on Mac's screen menu-bar:
http://lists.apple.com/archives/Java-dev/2008/Jul/msg00122.html

Here is my jnlp:
w3m -dump http://www.bioinformatics.org/strap/strap.jnlp

Is there an explanation for this?

Christoph
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2011
Added on Feb 2 2011
3 comments
164 views