How to set plug-in Java Runtime parameters on JRE setup command line

Hi all:
I need to install JRE and set the Java Runtime Parameters -Xmx
by command line ..
I mean I don't want enter Control panel and set this parameter manually in Java Runtime Parameters textBox..
thanx.
Best regards
w.shiha

Documentation for controlling the installation is sadly lacking in detail. This is the best I have seen for the Windows environment:
http://java.com/en/download/help/silent_install.xml
But, there are numerous other PROPERTY variables that are not discussed. Particularly annoying is the addition of yet another JavaUpdate item with the release of 1.5.0_05. If you can get more information, please post a link to it here.

Similar Messages

  • How to compile and run java files on a mac using command line?

    can someone tell me or link me to some article on how to compile and run java files from command line on a mac? I have mac OS X leopard

    What do you mean by "where to put them" ? What do you want to put anywhere ?
    Have you read Peter's comment in brackets ? Perhaps you have a classpath problem ?
    Edited by: Michael_Knight on Aug 31, 2008 4:23 AM

  • Setting Java Runtime Parameters from HTML

    I am launching a java program from HTML, using java plugin 142_08, and I need to set -xms and -xmx in the java plugin from the HTML that is launching the program. Is this possible to do? It is used by many various people, so it won't be easy to go into everyones computer and manually set these params.
    Any ideas?

    There will soon be a solution available for this problem. There is an early access program for the "6uN" consumer-focused release of Java at http://jdk6.dev.java.net/6uNea.html . Build 08, which should be out in a few days, will contain as an option a new implementation of the Java Plug-In which supports what you want. You will need to go into the Java Control Panel, Advanced Tab, Java Plug-in node, and enable it, then exit, to turn on the new plug-in. At that point you will be able to write in your applet tag
    <param name="java_arguments" value="-Xmx128m"></param> for example. It has the same notion of "secure" command-line arguments as Java Web Start; using "non-secure" command line arguments requires a signed applet, but unsigned applets can utilize secure command line arguments and system properties. More documentation will be available on the new Java Plug-In soon.

  • Java runtime parameters

    Hi,
    Does anyone know how to programmatically set the java-runtime-parameters?
    I need to set them to: "-classpath c:\jar\test.jar"
    My goal is to access test.jar thru the ActiveX Bridge, and test.jar is not inside the "applet" folder. Note: ActiveX bridge uses the java plug-in which has a default path to the applet folder, I need to programmatically set a java-runtime-parameter "-classpath" to c:\jar\test.jar...
    (I know that you can set the java-runtime-parameters thru control panel - java plug-in, but this will not work for what I am doing, I need to do it on the fly programmatically).
    Gene.

    After Java VM is launched, I don't think it is possible to change the classpath onfly. If you goal is to load test.jar on fly, you can always rely on classloader to do it. You can make your own classloader and let it to download and define the class you need.
    -Xiaobin

  • Java Runtime Parameters patch

    I currently have a signed applet which uses more than 96MB. To solve this obstacle I want to increase the memory heap. Is there any way, from a signed applet, to alter the Java Runtime Parameters? Ofcourse the user can alter the parameters but I want to take that trouble out of his hands. I am hoping to run a small "patch-applet" which adds the "-Xmx xxx" parameter to the JRE.

    After Java VM is launched, I don't think it is possible to change the classpath onfly. If you goal is to load test.jar on fly, you can always rely on classloader to do it. You can make your own classloader and let it to download and define the class you need.
    -Xiaobin

  • How can i get Radio buttons  and parameters  in a Single Straight Line

    Hi Experts,
    How can i get Radio buttons  and parameters  in a Single Straight Line...
    Example:
       r1 r2 p1 p2.....
    Cheers,
    Priya
    Points granted.

    Write the following code for the selection screen:
    DECLARATION OF PARAMETERS.
    SELECTION-SCREEN: BEGIN OF BLOCK select WITH FRAME TITLE text-001,
                      BEGIN OF LINE.
                      SELECTION-SCREEN COMMENT 1(10) FOR FIELD p_detail.
                      PARAMETERS p_detail RADIOBUTTON GROUP r1 DEFAULT 'X'.
                      SELECTION-SCREEN COMMENT 25(10)  FOR FIELD p_summry.
                      PARAMETERS p_summry RADIOBUTTON GROUP r1.
    SELECTION-SCREEN: END OF LINE,
                      END OF BLOCK select.
    this will solve your poblem surly. reward the points if you find helpful
    Regards,
    Siddarth

  • How do I generate PDF and CHM files from the a command line in windows?

    I am trying to set up a PC to build some documents during the night. I was looking for a way to get framemaker to generate PDF and CHM files via a command line in windows? How is this done with FrameMaker 12
    Thanks for the help
    Alex

    Hi,
    The part with generate a PDF via a jsx seems to work OK, except when FrameMaker decides that it will not work anymore. I must say I am not impressed with the stabillity of FrameMaker 12, there is room for a lot of improvement!.
    I have given up on how to figure out how to get FrameMaker 12 to generate chm files via jsx scripts, any pointes are still very welcome.
    The route I have taken is I make a RoboHelp project for each chm files I need to generate. The only thing this RoboHelp project contains is a link to the actual FrameMaker project I want to generate a chm file.
    To make the chm I start RoboHelp with a script that
    1) Opens the desired project
    2) Sets the desired output chm files name
    3) Generates the chm file
    4) And finally quits RoboHelp
    Below is a copy of the jsx in case anyone can reuse anything.  And yes parameters are transfered via enviroments variable. I have later learned there is some way to read the parameters given at a command line but this seems to work so I stick to this for now.
    // Get parameters
    var RhProjName = $.getenv("RH_PROJ_NAME");
    var RhChmName = $.getenv("RH_CHM_NAME");
    var RhLogFileName = $.getenv("RH_LOGFILE_NAME");
    var RhLogFile = new File(RhLogFileName);
    RhLogFile.open("w", "TEXT");
    RhLogFile.writeln("RH_PROJ_NAME : ", RhProjName);
    RhLogFile.writeln("RH_CHM_NAME : ", RhChmName);
    doc = RoboHelp.openProject (RhProjName, 1);
    var sslmngr = RoboHelp.project.SSLManager;
    for(var i = 1; i<=sslmngr.count; i++){
      var ssl = sslmngr.item(i);
      if(ssl.name == 'Microsoft HTML Help') {
        // Set the output location and file name
        ssl.setSpecificProperty("DestinationProjectName", RhChmName);
        if (doc.saveAll(true) ) {
          RhLogFile.writeln("saveAll returned TRUE");
        } else {
          RhLogFile.writeln("saveAll returned FALSE");
        if ( ssl.generate() ) {
          RhLogFile.writeln("ssl.generate returned TRUE");
        } else {
          RhLogFile.writeln("ssl.generate returned FALSE");
      } else {
        // alert ("Found " + ssl.name + " dont do anything");
    doc.saveAll(true);
    RhLogFile.close();
    RoboHelp.closeProject();
    RoboHelp.quit();

  • Java Runtime parameters- setting trace/log levels and enabling by default

    Hi,
    I have a user reporting that a Java app that I support is unexpectedly quitting, and our developers are having trouble tracking down exactly what's causing the problem.
    I'm trying to enable the maximum possible logging/tracing for this user, but I don't want to have to rely on them remembering to hit '5' on the console window to enable tracing on everything. Having read through the runtime documentation, I have added the following to my JRE runtime parameters:
    -Xdebug  -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect -Djavaplugin.outputfiles.overwrite=falseHowever, I still get nothing in the log file until I manually hit '5' on the Java console, then everything I do after that gets added to the log.
    Does anyone know how can I get the maximum logging/tracing enabled by default as soon as the JRE is loaded?

    >>
    -Xdebug  -Djavaplugin.trace=true-Djavaplugin.trace.option=basic|net|security|ext|livec
    onnect
    -Djavaplugin.outputfiles.overwrite=false
    One problem is that -Djavaplugin.trace.option=basic
    OR net etc ... pick one of the options which are
    separated with pipe symbols or use "all" without
    quotes.
    I'm having a similar problem with Java 6 - it seem
    that nothing I put in the runtime parameters takes
    effect. I had to edit
    /home/USERNAME/.java/deployment/deployment.properties
    and add deployment.trace=true.On second thought, I could be wrong about the trace options. I really don't know if you can combine options but I did see "all" somewhere.

  • How to set up a Java Plug-in Download page in case of netscape?

    hai all of you,
    i have a problem regarding downloading plugin.
    i am using <object > and <embed> tags to download the plugins inorder to run the applets. but it is taking long time to download the plugin form sun.com.
    so what i have done is, i downloaded the plugin.exe file and .cab file and put it in my tomcat server mainted by other party.(y application if for internet purpose only.)
    i refered to http://java.sun.com/products/plugin/1.2/docs/intranet.html. there it is mentioned that, to download the plugin.
    for I.E i can able to change the code.
    but for NetScape it's a little bit confusing.
    i have downloaded the binary file in my own directory.
    here he is asking to set up a java plugin-in download page.
    instead of this "plugin-install.html" page what page i should create and what should be the code in this page if i have to write on my own. please let me know if anybody know about it.
    following para is from sun.com
    "To deploy Java Plug-in in intranet environments with Navigator, you need to download and store the Java Plug-in binary file on one of your web servers. Then you need to set up a Java Plug-in Download page and modify the pluginspage attribute in the EMBED tag to refer to this page. The Download page should have options to download different versions of Java Plug-in, such as for Windows and Solaris. For example, if you have set up the Java Plug-in Download page at "http://javaweb.eng/plugin/" and the page is called plugin-install.html, you can specify the pluginspage as "http://javaweb.eng/plugin/plugin-install.html". "
    thanks
    by
    sambareddy

    I have successfuly done this.
    Change the converted html as per the instructions to point to another page.
    Here is an example of the new html page you need to create:
    <html>
    <head>
    <title>Java Plugin Install Page</title>
    </head>
    <body>
    <h2><center>Java Plugin Install Page</center></h2>
    <p></p>
    <h3>Windows Version Only!!!</h3>
    Click here to Download Plugin
    <p></p>
    <p>You may or may not be asked to either save or run from current location</p>
    <p>If the run from current location is available, use that option</p>
    <p>If you can only save the file, then save it to your workstation and exit the download page and exit Netscape. Then using Windows Explorer, go to where you downloaded the file and double click on the file to run it. Accept all options during the install process and once it has finished try accessing your web page again using Netscape. You should then get to the web page or application and this page will not apppear again.
    </body>
    </html>
    If you put the file j2re-1_3_1-win.exe on a web server somewhere then you will have to prefix the file with
    http://yourwebserverdirectory/
    Hope this helps.

  • TS1317 I have just purchased my Apple on plugging in my wireless internet usb it says I need a Java runtime, how do I know what Java runtime and where do I download it from?

    Can anyone tell me what 'Java runtime' is required to get my Blink usb internet connection working and where I can download it from?

    Holly cow, I don't see where it supports anything but Windows®!?
    http://www.blinkit.net.au/Support
    Also, pretty dangerous of them to require Java to use this.
    Anyway, open Applications>Utilities>Java Preferences, that'll tell you the Versions you have... might need to check "Enable applet Pug-in and Web Start Applications", not sure.

  • JRE 1.4.2 Java Runtime Parameters

    Does anyone happen to know where/how these settings are saved on a Windows OS? I'd like to write a program to automatically set this on client machines to make deployment easier as we need to set the -Xmx for each user. I've searched the registry and all files on my machine and turned up nothing. Thanks for any help/suggestions you might have.

    The settings are saved in a file named
    <windows
    folder>\.java\properties<version>e.g.
    C:\WINDOWS\.java\properties141_02. The keyname
    is javaplugin.jre.params=<runtime params>.You
    can see this directly, if you change the runtime
    parameters in the Java plugin configuration dialog.
    What version of Windows are you running and what JRE
    version..only b/c it would be helpful to know if these
    settings are saved in different locations depending on
    versions. On Win2K Pro & XP Pro w/ JRE 1.4.2 the
    settings are in the location I specified in my last
    post. Thanks!Sorry, I only checked 1.4.1
    My (wrong) idea was, that it wouldn't change frome 1.4.1 to 1.4.2

  • How do you install the java runtime environment

    I'm having trouble installing the java runtime environment on my friends computer, do i have to set parameters after i install it, I have never done this before could someone walk me through it??

    I would suggest reading the readme file that comes with the JRE and buying a good introductory book to Java.

  • How to set classpath from java class ??

    I have tried to use System.setProperty("java.class.path", "my class path string ") to set classpath dynamically. But it is not working. How to set it dynamically from java class ?? Thanks , gary

    Look into the java.net.URLClassLoader. You can't set the classpath after the fact but you can specify URL's that will checked when you try to load a class with that loader.

  • Java Runtime parameters at System tab

    Did install Java Runtime 1.6.0.18 silently, for many workstations, but after install I checked "Control Panel/Java". The "System" tab i "Java Runtime Environment Settings" are disabled, and can not be revised. How can System tab be enabled? (User tab is OK)

    I think this has been discussed previously in a thread on this site.

  • How to set page permission at runtime?

    Hi,
    I created a portal with several pages in a webcenter portal application.
    I have added most of the page in the pagehierarchy and I have set their required security permission.
    However, I forgot to add one page in my page hierarchy so what is happening is that the page is not being displayed.
    I actually wanted to users with anonymous role to be able to view this page.
    Now my question is, is there a way at runtime to set the page security of that page by using any tool such as console or em?
    I dont want to redeploy my application since it is already running
    I am just not sure how to set the page security at runtime.
    Thanks.
    Webcenter 11.1.1.6

    Neliel,
    You can use the Administration pages to do so.
    Go to the administration page, select the resources tab - Structure - Pages
    Highlight your page and select Set Access fromn the action menu.
    See also this section in the documentation.
    Kind regards,
    Rob

Maybe you are looking for

  • Customer Service - Extractors & Information

    Hello all, Can anybody please give me some information about Customer service in BW. Information about the extractors...the tables involved.. The extraction procedure..The reports that you might have worked on... Thanks for the help.. Will assign poi

  • Router not communicating with cable modem

    I have a befw11s4 ver 3 router that has functioned well for over 5 years and the other day we had a lightning strike that wiped out our cable modem.  The modem was replaced but the router seems to have a problem.  First, the power led does not lite u

  • Child Page automatically changes sizes

    Hi There, Having a issue which is bugging me and taking up alot of time. In short i created several pages from a template but for some reason the one page decreases the page width and height. If looking through the site in "preview in browser" all th

  • Safari 8 not displaying lock icon for https secured websites

    It seems that Safari 8 (installed with Yosemite) is not showing the lock icon for HTTPS websites. I can't find a way to see the security certificates for secure websites. I switched the "Show full website address" setting in Safari's Preferences, but

  • Timezone information messages

    We are on PI 7.31 (SP9) dual stack and when I look at logviewer, I see the following information messages at regular intervals SAPTimeZone Log Info: Action: CreateSAPTimeZone. Reason: Timezone xxxx not found SAPTimeZone Log Info: Action: getTimeZoneA