Setting default VM options

Hi,
I'd like to have a few options set by default when I run java applications, most noteably '-XX:+UseParallelGC'. Is there a way I can set this to be the default either globally for the entire system or just for myself in a config file within my home dir?
OS is Solaris 9 using J2SDK 1.4.2 if that matters.. :)

Other than a wrapper, there is no portable way. I thought a while ago Sun's JRE included a jvm.cfg file where options could be placed, but I don't that's going to work. It's be nice if a vendor implemented a ~/.javarc file (which you could actually do relatively easy), but right now unless there's a JRE of which I'm unaware, I don't think any support user-level defaulted options sans a wrapper script.

Similar Messages

  • How can I set default printer options on an iMac for an HP pro 8500 printer to print in draft mode?

    How can I set default printer options on an iMac for an HP pro 8500 printer to print in draft mode?

    When you use the Canon driver, the 2 sided printing is set in a different location. There is an entire menu dedicated to it (at least on my mx892). The printer dialog box has a menu selector in the middle of the screen (I think it says "layout" by default). If you click on it, you will see the duplexing options at the bottom. Much more flexibility than the single checkbox available with "airprint". The interface is unusual (at least for me) but you can pre-set up many different configurations (Fast Duplex, Fine Single-sided, B&W, Photo, etc etc.)

  • Use GPO to set default language options, IME, display settings?

    new to GPO, we have a small Windows Server 2012 domain, all clients on Win7 or Win8.  All the clients require the following changes, anything I can automate this with GPO?  thanks
    Under Control Panel\Clock, Language, and Region\Language > Add Traditional Chinese HK SAR
    Under Control Panel\Clock, Language, and Region\Language > Traditional Chinese HK SAR > Options, Add Microsoft Quick IME
    Under Control Panel\Clock, Language, and Region\Language\Advanced settings - change language bar hot keys
        - CTRL+SHIFT+0 ------  To English (United States) - US
        - CTRL+SHIFT+0 ------  To Chinese (Traditional, Taiwan) - Microsoft Quick IME
    Under Control Panel > Region > Advimistrative > Change System Locale...  change to Chinese HK SAR for non-unicode programs
    Control Panel\Appearance and Personalization\Display > Change the size of all items, use custom 123%.
    Control Panel\Appearance and Personalization\Display > Update Text size to 8 for Title bars, Menu, Message Boxes, Icons, Tooltips
    I found this for the display scaling registry changes but it is for 125% and it uses 78 for the dword value, not sure about custom 123%.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/882f17a6-7465-4aa6-8cea-27aa37a28a4d/gpo-to-set-default-windows-7-display-scaling-to-125?forum=winserverGP

    Hi lilyl,
    According to your description, you would like to deploy some settings about language and display via GPO.
    According to my knowledge, the steps you provided are from Windows 8 clients. Based on my test, you can use the following methods to realize:
    Add Traditional Chinese HK SAR. Locate the registry key HKEY_CURRENT_USER\Keyboard Layout\Preload, and then add a String Value "next number"(which has not been used)=00000404.
    The region settings. Please refer to the similar post:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ec6a290e-fc09-4be6-9f6a-1f532d338606/change-regional-settings-locale-settings-and-keyboard-layout-using-group-policy?forum=winserverGP
    The display settings. The post you provided tells us the related registry keys, and you should try to find the right value since you want to custom it.
    In addtion, please refer to the following article to learn to deploy a registry item:
    http://technet.microsoft.com/en-us/library/cc753092.aspx
    Regards,
    Lany Zhang

  • Is there a way to set default PDF options/presets in Illustrator CS5?

    I do a lot of design and have a custom preset created for saving my .ai files to .pdf. It's not a big deal but it's a little tedious switching from the default adobe PDF preset to my custom preset every time I save as to a PDF (Besides the ocassional times where I forget to switch it altogether, having my preset set to default would eliminate that).
    So I guess is there a way to set my custom preset as the default option for .PDFs? Thanks.

    Unfrotunately, I tried that and I guess you're not allowed to delete the presets that Adobe's created in Illustrator
    (Unless there's a way to find the actual preset file in Finder and delete that? Not sure because I've deleted the presets in HD/Library/Application Support/Adobe/ AdobePDF/Settings but an Illustrator Default still appears).
    Thanks though.

  • Setting default user options in client-install

    Hi,
    In BPC10 MS, is there a way so set user options to a default value in the client that is installed from the Download Center, so that all new users have the same default settings. The ones I'm interested in are the ones below.
    Thanks for your input!
    /Cecilia

    Hi Cecilia,
    Modify all settings as you want them in your client.
    \%userprofile%\AppData\Local\EPMOfficeClient\EPMClientPreference.xml
    (path might be different depending on installation)
    The specific settings you are after is:
      <AutomaticRefresh>true</AutomaticRefresh>
      <AlwaysAutoUpdateCharts>true</AlwaysAutoUpdateCharts>
      <OfflineOnlyEPMReportsProtected>true</OfflineOnlyEPMReportsProtected>
    Once you have set your EPMXLClientPreference.XML as you want to have it you need to distribute it to the clients (I do not think you can do that via the download center)
    Brgds
    Mattias

  • Set default account option is grayed out for my main account

    My original main email account used to be the top of the drop-down list (thus default) for creating new mail. Since I added a few gmail accounts, one of them appears first under Inbox and is now the top of the drop-down list. I can't figure out how to get my old primary account back as the default. In the account settings, it says that my desired default account is " a special account and has no identities associated with it". In the Tools-Account Settings menu, the "set as default" option is grayed out for this account. What does "special" mean and how can I return this account to being my default "from"?

    In which case you are using what is normally called Local Folders which is a special private pseudo-account for offline storage.
    Somewhere there will be an actual email account, though if it is using POP and has been set to use the Global Inbox, it may be hard to see.
    Set '''View|Folders|All''' and see it if can be found. If not, you'll need to go to '''Tools|Account Settings''' and look at its properties there.
    I guess at some point you have changed "Local Folders" to something else, which is going to make giving you advice difficult, and will make following any advice more difficult for you.

  • How to set default JPEG options?

    In Photoshop Elements 10, is it possible to configure the JPEG options to default settings so that the JPEG Options dialog box does not open each time I rename a JPG file using FILE-SAVE AS?

    No

  • How to set default options in PD 16.5 SP03 PL01

    Everyone,
    I want to set some default physical options while reverse engineering the table(s).
    I want following options to be added everytime I reverse engieer the table.
    CREATE MULTISET TABLE,
    NO FALLBACK ,
    NO BEFORE JOURNAL,
    NO AFTER JOURNAL,
    CHECKSUM = DEFAULT,
    DEFAULT MERGEBLOCKRATIO
    This is what we are going to use most of the time, so I dont want to create a table and then goto physical options and choose them. I want this by default. However in rare cases we might be using some other options as well like CREATE SET TABLE, so I should be able to change it whenever I want but default properties should be listed above.
    Is there a way I can do this?
    Thanks,
    Perry

    Event handler "AfterDatabaseReverseEngineer" for "model" metaclass may help.
    Adding Scripts Before or After Database Generation and Reverse Engineering
    To set default physical options when table created manualy in PD, model default physical options can be used or "Initialize" event handler of table can be an alternative.

  • How to disable updates and hide set as default browser option in firefox 31.0 for many users,like changing the setttings in any file

    Hi,
    I am trying to disable updates, set as default browser option and import settings from other browers permanently for many users for firefox 31.0.
    can you please help me with that. I know settings are going to prefs.js file in user profile. How can make this permanent for many users.

    Hi gaurav3012,
    Permanent change would be locking preferences: [http://kb.mozillazine.org/Locking_preferences]
    However importing many users profiles to different computers may require a new profile for each user.
    Currently there is an option to import bookmarks from other browsers, but not preferences.
    Update preferences can be read about here: [[Configuration Options for Updates]]
    Firefox ESR is also another version of Firefox that is meant for Enterprise environments [https://www.mozilla.org/en-US/firefox/organizations/] that mostly has their support on their mailing list.

  • How to set default values in initialization event for select option

    Abapers,
    I have 3 GL account like 0024831231,0024831238,0024831245.
    Please help me how to set default values in select-options ( s_hkont ) in INTIALIZATION event
    Thanks

    Select option is table <Structure> with fields, low, high, sign & option
    you need to append the value into the select option, with appropriate value in low or
    example:
    S_HKONT-low  = <value>
    S_HKONT-SIGN = 'I'
    S_hkont-OPTION = 'EQ'
    append s_hkont.
    Default value for select-option also can be added directly in select-option statement.
    Regards,
    Mahesh

  • Elements 11 - How do I Change default setting on jPEG OPTIONS

    Hi Guys,
    Can anyone tell me how to change the default setting under Jpeg options when saving changes, at present its ticked for Qulaity 12 Max but we want it on Quality 8 high and its a real pain having to change this setting every time we edit an image.
    Thanks in advance.
    Regards
    Dane

    I have full admin privileges on this iMac but right clicking does nothing?
    Kind Regards,
    Dane Coletta
    Telephone: 02392 556666  (Monday- Friday 10.00 - 5.00pm)
    Fax: 02392 178382
    Email: [email protected]
    Website: www.dream-watches.co.uk
    We are one of the UK's leading independent Rolex dealers operating from our shop on the South Coast of England Monday - Friday 10.00am - 5pm. Please contact us to arrange an appointment.
    This email and any files transmitted with it contain confidential and privileged, or copyright information, and are intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail other than to notify us. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. We cannot guarantee the e-mail transmission will be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or be incomplete, or contain viruses, although due care has been taken to minimise risk. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.  If verification is required please request a paper version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any products, services, securities or related financial instruments.
    Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Dream Watches Ltd

  • Default Collection Option Set

    I currently use multiple collectors that I have created to scan different locations based upon IP Ranges. I have created them so that the collection is spread out over a one week period to minimize network activity.
    I have been directed to change my collection so that it happens every Sunday. All machines in the company are now "woken up" every Sunday to receive any necessary patches. I will be changing my collection schedule so that my inventories take place on Sunday also but I have a question about the Default Collection Option Set.
    Would it be better to make use of the Default Collection Option Set or should I create a separate Collection Set for this task? Also since I have only targeted specific IP Ranges in the past what should my settings be to ensure that I am looking at the entire network?
    I also do not remember - when they wake up the systems on the network will the machines inventory from the Login Page or do they actually need to be logged onto the network to complete the inventory.

    Originally Posted by DaryRo
    Would it be better to make use of the Default Collection Option Set or should I create a separate Collection Set for this task?
    I always create my own option sets and give them meaningful titles to make it a little easier to track what is going on. There is really no need (or advantage) to using the Default Option Set.
    Originally Posted by DaryRo
    Also since I have only targeted specific IP Ranges in the past what should my settings be to ensure that I am looking at the entire network?
    If you really want that one option set to collect from all clients then just the default settings in a new option set will work as long as you select a valid schedule on the first tab when creating the option set.
    Make sure that any new option set you create that you wish to use is actually associated to collection servers. Look at the properties of the collection servers and if they are set to inherit standard option sets then add the new option set in the Collection Server, Domain properties, if they are not set to inherit then add the new option set to each collection server.

  • How to make default selected "Set to Null" option in  Prompt screen?

    Hi,
         I have created Report using Bex Query. It has around 20 Optional variables.
        In the Prompt screen for Optional variables it is showing "Set to Null" Check box.
         I want to make this Check box selected by default when we preview. Kindly help me to make this option.
         Thanks for your support in advance.
    Thanks & Regards,
    Shiva

    Hi.
    If you mean on how to set default to date between dashboard prompt there is a Default to part in the prompt.
    Example - SQL Results:
    SELECT min(TIMES.TIME_ID) FROM "Presentation folder"
    SELECT max(TIMES.TIME_ID) FROM "Presentation folder"
    Or you can add repository variable as default for each date (from and to), etc.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Setting the allowaccess option as the default in xlock

    Hi,
    I was wondering if someone could point me in the right direction with a problem I�m having with Solaris 10 on a distributed system and the standard xlock application.
    As I stated we�re running an application on a distributed system where we want to have the ability to lock down the operational processor with the command �xlock� and also have the ability to start and stop the application from another system while the processor is locked. This can be accomplished by running the command �xlock �allowaccess� on the operational processor.
    My question, is there a way to set the �-allowaccess� option in user defaults or some other place so when the �xlock� command is executed it automatically sets the �-allowaccess� option?
    I�ve already accomplished it in a script, but would prefer to do it within the system.
    Any ideas would be greatly appreciated.
    Thanks

    I figured it out, it was just a matter of setting "alias -tx xlock -allowaccess xlock" in the .profile

  • SDK: set default value to "managed by inventory" option when item creation.

    Currently, my customer wants to set default value (as true) to "managed by inventory" option under inventory tab when item creation.
    My question.
    1. how to detect item master form in add/find.
    2. how to set option default to be true.
    Regards,
    Kenneth Tse

    Hi Kenneth
    Okay, you need to do the following.
    1) You need to see when the item menu opens and what mode it is in and then do the event. So in itemevent uou'll have code similar to
    If (FormType = "AddMov" And pval.FormMode="Your Mode") then
    ***your code
    end if
    You can also just see the form and chesh the caption of the button.
    2) to do the second part,
            Dim oitem As SAPbobsCOM.Items
            oitem = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
            If oitem.GetByKey("Item Code") Then
                oitem.GLMethod = SAPbobsCOM.BoGLMethods.glm_WH
            End If
    Hope this helps

Maybe you are looking for