Setting the user's default locale

Hello all,
I am working with an IRC applet client. This applet loads information based on the client's locale. I found that some machines load the wrong locale, and I guess it is a result of different settings in the OS. I need to make sure that all clients load the same locale. The machines which use this applet are all win32, and I have the benefit of being able to instruct them what to do in order to set their applet to the proper locale.
The way I see it there are two alternatives: either setting the applet or the OS. I tried adding parameters in the Advanced tab of the Plugin's control panel (-Duser.language=he), but it did not help.
Where should I look in the OS in order to set something which will change the applet's default locale?
Is there anything else I can do???
Thanks in advance,
David.

I assume you don't have access to the applet source code -- if so, you could easily change the code to use your own locale.
If it wouldn't be in violation to any license agreement, you could decompile the applet to retrieve the source. There are several open source decompilers, I would just do a search here to get some names.
Alternatively, you could write an applet loader which sets the JVM's default locale (using java.util.Locale.setDefault()) before passing control off to the applet. See http://forum.java.sun.com/thread.jsp?forum=4&thread=474305 (reply 5) for some hints on how this can be done.

Similar Messages

  • How to set the user's Default joboptions directory?

    Hello Experts,
    When we installed Acrobat Pro 8.x on our Win XP Pro systems our systems were NOT in a Windows Domain.  At that time the default location for user-created/customized joboptions files was:
    C:\Documents and Settings\<Username>\Application Data\Adobe\Adobe PDF\Settings
    where <Username> is the name of the LOCAL Windows user.
    A few years ago we migrated to a Windows Domain and converted our LOCAL users to domain users and disabled, but did not delete, the LOCAL user's account.  We did not remove the LOCAL user's Documents and Settings directory structure either.
    Our users now log into a DOMAIN rather than the LOCAL account.
    As a result of that process the user's Documents and Settings directory structure changed to;
      C:\Documents and Settings\<Username.DOMAINNAME>
    where DOMAINNAME is, of course, our Windows Domain Name.
    Now we are beginning to use Acrobat Distiller joboptions and I notice that when Acrobat/Distiller goes to save a user-created/customized joboptions file the default location has remained;
      C:\Documents and Settings\<Username>\Application Data\Adobe\Adobe PDF\Settings
    which is NOT the user who is logged in
    Acrobat/Distiller should use the Documents and Settings directory of the user who is actually logged in which is;
      C:\Documents and Settings\<Username.DOMAINNAME>\Application Data\Adobe\Adobe PDF\Settings
    This anomaly has created some confusion and appears to have created a dependency of the old LOCAL user's Documents and Settings directory preventing us from deleting it.
    Question:
    How can we force Acrobat/Distiller to use the Documents and Settings directory of the logged in user (eg: the Domain user)?
    In other words, how do we set the user's default joboptions directory?
    Pointers/tips/and tricks are most welcome.

    if the user is the one running the program, you can always get the home directory using System.getProperties ("user.home");
    If you are trying to get the properties of another user, you could try using setProperties to change the user name first, before getiting the home directory, but it probably won't work because of the security manager. You could read the /etc/passwd file and parse the path out, but once again, the user of the code would have to have appropriate permission.

  • Why must I set the AD as "default user store " when use Kerberos scheme ???

    Hi ,
    I am using kerberos scheme to authenticate user by OAM after user logged into the AD domain . It works well when there is only 1 AD domain ,for I can set that AD as the default identity store so that OAM can find user from the store and set the header .
    But when there are two totally different AD domains with different users , there will be a question. That is , I can only set one AD domain as the default identity store. So when I use the other AD domain to visit webgate protected resource, OAM notice me the the user/password error. But if the AD user exist in both AD domains, it will be OK, because the user mapping is finished correctly.
    logs here:
    [2011-07-26T22:19:18.599+08:00] [oam_server1] [ERROR] [OAMSSA-20040] [oracle.oam.user.identity.provider] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: cbefca7cded5e992:3fca7bfd:131657b3817:-8000-0000000000000c19,0] [APP: oam_server] Could not modify user attribute for user : sAMAccountName, attribute : smicer, value : {2} .
    [2011-07-26T22:19:18.600+08:00] [oam_server1] [ERROR] [] [oracle.oam.engine.authn] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: cbefca7cded5e992:3fca7bfd:131657b3817:-8000-0000000000000c19,0] [APP: oam_server] Failure getting users by attribute : sAMAccountName, value : smicer.[[
    oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20016: Failure getting users by attribute : sAMAccountName, value : smicer.
         at oracle.security.am.engines.common.identity.provider.impl.UserProviderImpl.getUsersByAttribute(UserProviderImpl.java:342)
         at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.getUsersByAttribute(IdentityProviderImpl.java:656)
         at oracle.security.am.engines.common.identity.provider.impl.OracleUserIdentityProvider.getUsersByAttribute(OracleUserIdentityProvider.java:288)
         at oracle.security.am.engine.authn.internal.executor.KerberosModuleExecutor.execute(KerberosModuleExecutor.java:254)
         at oracle.security.am.engine.authn.internal.executor.AuthenticationSchemeExecutor.execute(AuthenticationSchemeExecutor.java:94)
         at oracle.security.am.engine.authn.internal.controller.AuthenticationEngineControllerImpl.validateUser(AuthenticationEngineControllerImpl.java:261)
         at oracle.security.am.engines.enginecontroller.AuthnEngineController.authenticateUser(AuthnEngineController.java:669)
         at oracle.security.am.engines.enginecontroller.AuthnEngineController.processEvent(AuthnEngineController.java:294)
         at oracle.security.am.controller.MasterController.processEvent(MasterController.java:354)
         at oracle.security.am.controller.MasterController.processRequest(MasterController.java:517)
         at oracle.security.am.controller.MasterController.process(MasterController.java:457)
         at oracle.security.am.pbl.PBLFlowManager.delegateToMasterController(PBLFlowManager.java:209)
         at oracle.security.am.pbl.PBLFlowManager.handleBaseEvent(PBLFlowManager.java:147)
         at oracle.security.am.pbl.PBLFlowManager.processRequest(PBLFlowManager.java:107)
         at oracle.security.am.pbl.transport.http.AMServlet.handleRequest(AMServlet.java:168)
         at oracle.security.am.pbl.transport.http.AMServlet.doPost(AMServlet.java:133)
         at oracle.security.am.pbl.transport.http.AMServlet.doGet(AMServlet.java:673)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at oracle.security.am.pbl.transport.http.CredCollectServlet.getCredentials(CredCollectServlet.java:148)
         at oracle.security.am.pbl.transport.http.CredCollectServlet.doPost(CredCollectServlet.java:84)
         at oracle.security.am.pbl.transport.http.CredCollectServlet.doGet(CredCollectServlet.java:71)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)
         at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)
         at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.security.idm.ObjectNotFoundException: No User found matching the criteria
         at oracle.security.idm.providers.stdldap.util.DirectSearchResponse.initSearch(DirectSearchResponse.java:174)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:52)
         at oracle.security.idm.providers.stdldap.util.NonPagedSearchResponse.<init>(NonPagedSearchResponse.java:43)
         at oracle.security.idm.providers.stdldap.util.LDAPRealm.searchUsers(LDAPRealm.java:489)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.search(LDIdentityStore.java:274)
         at oracle.security.idm.providers.stdldap.LDIdentityStore.searchUsers(LDIdentityStore.java:367)
         at oracle.security.am.engines.common.identity.provider.impl.UserProviderImpl.getUsersByAttribute(UserProviderImpl.java:314)
         ... 57 more
    It seems OAM must set the AD as "default user store " , and only if so , AD domain users can login to webgate protected resources by kerberos .
    So, how can I make 2 AD available together ? Can you kindly give some advice? It will be very appreciated.
    Thanks !!

    1) Should my setup be defaulting to 32-bit compilersYes. On Solaris compilers generate 32-bit code by default
    2) I have read that adding -m64 to the compile command will make it 64-bit, is this accurate?It will make compiler produce 64-bit binaries.
    Compiler itself will stay 32-bit ;-)
    3) Is there a way to set the compilers to default to 64-bit so that the user doesn't have to specify -m64?No. At least no compiler-specific way. Only UNIX general tricks (shell alias, shell script etc)
    4) Does everyone just use -m64 and forget about it?Yep. They have no choice

  • Want to suppress "Setting the user name and passwwdd"

    Does anyone know how to suppress the
    "Setting the user name and passwwdd login password" line that comes out on stdout
    when using OracleConnectionCacheImpl and
    the thin driver?
    Thanks,
    Chesla

    This is bug 1317673
    null

  • OracleConnectionCacheImpl - "Setting the user name and passwwdd"

    Does anyone know how to disable (or suppress, or redirect) the message...
    "Setting the user name and passwwdd"
    ... when using OracleConnectionCacheImpl?
    null

    This is bug 1317673
    null

  • How do I set the Lightroom 5 default external editor to Photoshop CC 64 bit?

    How do I set the Lightroom 5 default external editor to Photoshop CC 64 bit? Currently the default editor is Photoshop CC 32 bit.

    go to lightroom preferences. Select EXTERNAL EDITING TAB. follow instructions. you will simply locate PSCC. I am talking Mac, however.
    vince

  • Setting the Zoom to default

    Is there anyway to set the zoom to default? Example - yahoo.com
    I usually hit zoom 2x. Any ideas?
    Thanks!
    Chris
    St. Louis

    Check post http://discussions.apple.com/thread.jspa?messageID=10080221 for a solution.

  • Can we set the user wise priority in spool printing

    Dear all,
    Can we set the user wise priority in spool printing.
    Can we hold bulk printing.
    Regards
    Tapovardhan

    Hi Tapavardhan,
    Here you can read everything about printing and spool options <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm">Click Here</a>
    Please dont forget to assign points if helpful
    Regards
    Juan

  • How do i set the event duration default

    how do i set the event duration default on my iphone calendar.  it is preset to 1 hour and i want to change the dafault duration time

    Every Printer driver allow you to save a set of settings.
    For instance,
    I defined
    A4 black & white
    A4 colors
    listings black & white (which prints two pages on an A4 sheet)
    listing colors (which prints two pages on an A4 sheet)
    Do the same with your settings.
    Use the item Enregistrer or the item Enregistrer sous to save your settings.
    Yvan KOENIG (VALLAURIS, France) jeudi 15 septembre 2011 18:40:26
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • SCCM 2012 OSD/MDT TS: Can I set the ComputerBackupLocation to d: (local) durin wim capture

    Hi,
    SCCM 2012 SP1 OSD w MDT 2012 /MDT TS:
    Can I set the ComputerBackupLocation to d: (local drive) durin OS wim capture?
    /SaiTech

    Hi,
    Please see if the article below helps:
    Understanding How MDT 2010 Automatically Determines a Backup
    http://www.migee.com/2011/03/10/understanding-how-mdt-2010-automatically-determines-a-backup-location/
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • BAPI/FM for setting the user status for the Project definition and WBS elem

    Hi,
    I have to set the User Status for the Project Definition and the WBS elements in that project.
    The User status to be set is the same for the project and wbs elements.
    Please let me know if there is any BAPI/FM to set the user status..
    Thanks in advance.
    Regards
    Shiva

    Hi Shkithija,
    There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
    But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
    May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
    Do you have any idea.
    Please let me know
    Regards
    vishnu

  • Acrobat or Reader: Is there a way to set the print scaling default at the application level?

    Is there a way to set the Page/Print Scaling to a default at the application level? For Acrobat and Reader?
    Thanks,

    Often asked, but that feature retains the last used local setting.
    You can however, change the default for Documents, individually, in their Properties > Advanced tab

  • How to set the User rights to use DAQ/IMAQ in WinXP as general(=limited) user

    When I install Software, written in LabVIEW (build an executable/installer), as administrator it works fine. But when I switch over to a user account with limited rights (we are talking about WinXP) it will not run and gives error messages. It happend to me at two almost the same computers, one with a DAQ-board, and one with an IMAQ-board. (At the computer with IMAQ1411 -> I also checked MAX -> errors/no access.) What to do?
    Attachments:
    DAQ_example.JPG ‏9 KB
    IMAQ_example.JPG ‏15 KB

    Hello,
    I investigated the issue further. To work around this problem you should add write permissions to the C:\Program Files\National Instruments folder. Be sure that all subfolders and files are awarded write permission. This should solve your problems. eventually you could break it up to one file which must be set to write permission but by setting the whole folder to write permission you solve this problem for many other drivers to so you would not run into this everytime you use different hardware.
    Best regards,
    RikP
    Application Engineering
    National Instruments
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • How do I set the Page size default in Adobe Reader using Window 8?

    I need to set the page size everytime I go to print from my Adobe Reader in my windows 8. Is there a way to set the page I want letter (8.5 by 11) as a default? So I do not have to do this everytime I print something?

    I can't help but wonder why Adobe doesn't respond to this - at this point there are 464 views of this item and still no answer. I have the same problem and it's a big irritation to have to set the duplex mode everytime I want to print!

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

Maybe you are looking for

  • ITunes freezes when I try to burn a compact disc

    I've ran CD dianostics like people with similar problems have done.. well here it is Microsoft Windows XP Home Edition Service Pack 1 (Build 2600) Sony Corporation PCG-K25(UC) iTunes 6.0.4.2 CD Driver 2.0.4.3 CD Driver DLL 2.0.3.2 LowerFilters: PxHel

  • A few simple (?) dimension questions...

    Hi, I have a few really simple dimension questions that I just can't figure out in OWB (which I'm just now starting to play with): 1) I'm trying to create a dimension that has no levels or any hierarchy. In the BI tool, I just want this dimension to

  • Everytime I try to send an email, it begins with Tahoma, what I really want, permenantly is Ariel. Can you help?

    I find it most annoying that I have to change the style 'Tahoma' to Ariel. Could you show me how I may achieve it. Many thanks in advance KarimEsmail

  • IPod Touch not backing up

    I updated to iOS 5 after it came out,had issues,etc. Well, I don't get to plug my iPod into the computer often. When I've tried to sync it because I have a chance or have added music, occasionally, backing up takes forever and if I try to go to the i

  • Allocations at customer Hierarchy level

    Hi Gurus, I have a requirement from client to allocate stock of restricted products at customer hierarchy level. For example: Material ABC is a restricted product and there are 500 CV available in the plant, Client would like to allocate 100 CV to cu