This discussion is archived
1 Reply Latest reply: Feb 28, 2012 9:02 AM by alabala_kiril RSS

jnlp jvm-args for MAC OS X

902665 Newbie
Currently Being Moderated
Hello guys,

maybe its a simple problem, but i have it ;) . My javafx 1.3.1 applet starts with the jnlp below without any problems. But on a MAC OS X 10.6 it dont work. Without the java-vm-args -attribute, it will start, but the applet runs into an "OutOfMemory.PermGen"-Error, so i need the attributes to rise the size. Can anyone help me ?
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="Persoware_browser.jnlp">
        <homepage href=""/>
        <icon kind="splash" href=""/>
        <j2se version="1.5+" java-vm-args="-d32 -XX:PermSize=64m -XX:MaxPermSize=256m"/>
        <property name="jnlp.packEnabled" value="true"/>
        <property name="jnlp.versionEnabled" value="true"/>
        <extension name="JavaFX Runtime" href=""/>
        <jar href="Persoware.jar" main="true" size="12153804"/>
        <jar href="lib/JFXtras-Controls-0.7rc2.jar" size="1435119"/>
        <jar href="lib/jtds-1.2.5.jar" size="306199"/>
        <jar href="lib/JFXtras-Common-0.7rc2.1.jar" size="1291808"/>
        <jar href="lib/miglayout-3.7.jar" size="201034"/>
        <jar href="lib/jdom-1.1.2.jar" size="156628"/>
        <jar href="lib/TableView_abdm.jar" size="85407"/>
        <jar href="lib/sqljdbc4.jar" size="525491"/>
    <applet-desc name="Persoware" main-class="com.sun.javafx.runtime.adapter.Applet" progress-class="com.javafx.progressbar.ProgressManager" width="800" height="600">
        <param name="MainJavaFXScript" value="gui.Main"/>
    <update check="always"/>
  • 1. Re: jnlp jvm-args for MAC OS X
    alabala_kiril Newbie
    Currently Being Moderated
    JavaFX 1.3 has multiple memory leaks problems:

    You are not alone in this issue...actually I didn't know that JavaFX 1.3 applets work on MAC ;)

    You'll have to migrate to JavaFX 2.XX and wait for the JavaFX runtime on MAC


    Edited by: alabala on 2012-2-28 9:02


  • Correct Answers - 10 points
  • Helpful Answers - 5 points