Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5097014

javawebstart should not exit silently if java cannot be started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • deploy
    • None
    • generic
    • generic

      in the jnlp file, specify:

       <j2se initial-heap-size="2048m" max-heap-size="2048m" version="1.4+" href="http://java.sun.com/products/autodl/j2se"/>

      if you run on a old machine with limited memory space, javawebstart will exit silently during relaunch because the jvm cannot be started:

      capoon [bin]% java -Xms2036870912 -Xmx2036870912
      Error occurred during initialization of VM
      Could not reserve enough space for object heap


      Our java code for the relaunch did not check for error messages, and will just exit silently.

            ngthomas Thomas Ng (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: