Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    23
    Rep Power
    0

    Default VM options + applet

    How do I use java VM options along with an applet?

    (i.e. I want to use -Xmx500m)

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    this sounds like the Java Network Launch Protocol (JNLP).

    See also the 2 links below:

    Next Generation in Applet Java Plug-in Technology

    JNLP File Syntax

    its that kind of XML looking tag, where you use <applet-desc> instead of applet tag.

    but you might be able to get by with the java_arguments parameter in the applet tag.
    Java Code:
    <APPLET archive="my_applet.jar" code="MyApplet" width="300" height="300">      
    <PARAM name="java_arguments" value="-Xmx128m">  
    </APPLET>
    Though the support for this might depend on the Java VM version and the browser, and the version of that browser.
    Last edited by travishein; 12-24-2009 at 05:23 AM.

Similar Threads

  1. Menu Options For User
    By mnand in forum New To Java
    Replies: 1
    Last Post: 02-02-2009, 03:12 AM
  2. JOptionPane - showConfirmDialog(...) options
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-17-2007, 09:38 AM
  3. ComboBox with database options
    By Goldy in forum Advanced Java
    Replies: 0
    Last Post: 12-01-2007, 09:43 PM
  4. problem with Java Vm options
    By DonnieDarko in forum Advanced Java
    Replies: 1
    Last Post: 11-21-2007, 03:22 PM
  5. How to set General options in NetBeans IDE
    By JavaForums in forum NetBeans
    Replies: 0
    Last Post: 08-02-2007, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •