Unable to set focus for Linux / X-Windows ($$$ for fix...)

It appears whenever a modal window is opened on Linux X-Windows the focus is stolen from the window and you CANNOT use the keyboard to return to the form - let alone set the focus on the textbox.
This is not just for my modal forms but for something as fundamental as JOptionPane or simple code like this:
JFileChooser chooser = new JFileChooser();
if (chooser.showOpenDialog(parentComponent) == JFileChooser.APPROVE_OPTION) {
From trolling through posts I can see no answers which is really sad for Linux good for Microsoft I guess. How can we deploy on Linux if you are forced to get carpal tunnel clicking on every form with the mouse ?
I would be willing to pay some consulting dollars to get this resolved.
Greg

Hm, I've developed quite a bit for X11 and linux, but I never noticed that effect. Can you post a SSCCE that reproduces the issue, just to be sure it is not a side-effect from your code?
It this is a persistent problem, you might want to make your dialog re-request the focus programmatically:
myDialog.setVisible(true);
SwingUtilities.invokeLater(new Runnable() {
  public void run(){
    myDialog.requestFocus();
}See if this does anything. If not, the problem is most likely not coming from swing.

Similar Messages

  • Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100

    Hi!
    We have fatal or critical error message on Microsoft Intune Portal but all agents are working just fine. Before opening support ticket we would like to hear comments from the experts on this forum. We would also like to fix this error before starting to
    manage mobile devices with Intune.
    Error message on Intune Portal:
    "Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100"
    Repeated: 19 times.
    Class: (System) Policy
    Random Fatal error message on C:\Program Files\Microsoft\OnlineManagement\Logs\PolicyAgent.log found from one Windows 8.1 client:
    2015-02-21 08:49:20:704 2852 1ab0 FATAL: DocumentProvider::IndicateToConsumer/pp->ProcessPolicies(NULL, NULL, NULL, NULL) failed with error 0x800704d5.
    That said, we are not facing any specific problem but we would like to find symptom of this repeating error message on Intune Portal . We would appreciate to get any thoughts about this case.
    Br.
    Jukka

    Hi Jukka,
    Mobile policy doesn't apply to clients using the Full Client download.  Please open a support case so the team can assist in further troubleshooting.
    Thanks,
    Jon L. - MSFT - This posting is provided "AS IS" with no warranties and confers no rights.

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • What is the difference between 11i for LInux (VS) 11i for Windows

    Hi,
    I have downloaded 11i E-Business suit for Windows and
    Installed it successfuly.
    I am having problem with windows plateform regarding listner, connection manager, service host, rpc all these stopping/terminating by itself and system rebooting.
    I would like to install 11i on Linux.
    Q1. Which files I need to download again?
    Q2. Is there any script I need to run for LInux?
    I have run adautostg.pl and it hasnot given me any error for start cd but when it came to appl_top it said as "This is for windows, continue any way" and I said yes. so it made stage.
    I can't run setup as user Oracle as it is not allowed to write on disk, can u also give me suggestion about that?
    I am installing 11i on single node.
    Q3. I can use the same files of windows for linux as
    I saw some .sh shell commands and
    startcd/rapidwiz/adautostg.pl is also used in
    unix/linux.
    Warm Regards,
    Rashid.

    I have run installation of 11i for windows on Linux plateform and now I would like to share it with u all.
    1. I run adautostg.pl by using command $perl adautostg.pl and it has staged all the startcd disks without any error.
    2. when it came to other cdies it has prompted me as "this file if for windows; continue any way" and I pressed ok and it has staged all the files without any furthur error.
    3. After it, I have made the necessary adjustments to run rapidwiz command and it run successfully. Now it has copied all the 113 files successfuly.It has run adrun9i.sh and is giving me error on process 5. (at 20% of installation) that it cannot run files
    adcctclean.sql INSTE8
    adclobconv.sql INSTE8
    adclobtmp.sql INSTE8
    adcmclean.sql INSTE8
    adcrdb.sh INSTE8
    adcrdbrdlg.sh INSTE8
    adcrobj.sh INSTE8_APPLY
    adcrobj.sql INSTE8
    addbccnv.sql INSTE8
    addbprf.sh INSTE8
    addbprf.sql INSTE8
    addbupdgsm.sql INSTE8
    adlicnse.sql INSTE8
    adsvdb.sh INSTE8
    adsvdcnv.sh INSTE8
    adsvdlsn.sh INSTE8
    adupdlib.sql INSTE8
    afdbprf.sh INSTE8_PRF
    afdbprf.sql INSTE8
    afmkinit.sh INSTE8_SETUP
    Directory: /mnt/hda7/proddb/9.2.0/appsutil/install
    adlnkoh.sh INSTE8
    Directory: /mnt/hda7/proddb/9.2.0/appsutil/scripts/PROD_localhost
    adautocfg.sh INSTE8
    adchknls.pl INSTE8_SETUP
    addbctl.sh INSTE8
    addlnctl.sh INSTE8
    adpreclone.pl INSTE8
    adstopdb.sql INSTE8
    adstrtdb.sql INSTE8
    config.c INSTE8
    successfuly. I think these files are required for linux installation and are found in linux cdies "RDBMS".
    If someone can send me these 11i files for linux at [email protected] I will proceed furthur and will let u know what will happend next in experiment :)

  • How can we set the Default to "New Window" for the "Create Link" – "Specify Open Preference"?

    We would like to set the "New Window" as default but can't find where to set it..  I looked through all the Perferences and could not find where this is set.
    We see this when creating Links.
    Thanks in advance for any suggestions.

    Thanks for your reply.  We are using Acrobat Pro 10.1.3 on Windows 7 64 bit workstation. 
    We see this when adding a link in a PDF.
    Go to Tools, Content, Link.  Highlight something, Creat Link, click Next.  Pick somthing to Link too.  Like another PDF and the Window in the first screen shot comes up.
    I ran a Regshot and here are the results.  Looks like all user keys which would be normal but there must be a way to set the default in the Preferences?  This does not seem to be a setting that stays if you will so there must be something over-riding it.

  • Choose Linux or Windows for hosting a Muse site?

    My client wants to know which operating system she should choose for hosting with GoDaddy. It says:
    "Choose Linux if you're going to use PHP, Perl or CGI scripting…MySQL database.
    Choose Windows if you're going to use ASP or ASP.NET…SQL Server or Access database."
    I have NO idea what this means so thanks!

    You'll want to prefer a server that provides support for PHP. Muse uses PHP on the server for form processing and display of synchronized text.
    Strictly speaking, PHP can be installed on a Linux server or a Windows server, but from the information you've provided it sounds like GoDaddy's default configuration for Linux includes PHP where their default Windows configuration may not.

  • Is labview same for linux and windows?

    hi,
    Right now, i am using labview 6.1 and 7.1 windows version. can i use the same windows version for linux  also?

    You need to get the Linux version in order to run LV on Linux. You can open and run the VIs you save in Windows in the Linux version and vice-versa, but some things are Windows-specific and will not work (for instance ActiveX, .net, toolkits which are only supported on Windows, etc.). Also, when you open your VI in Linux, LV will tell you it was changed, because the compiled code is saved as part of the VI. The compiled code for Windows and Linux is different, so when you open a Windows VI in Linux, it is recompiled.
    You might wish to do a search for "Linux" to see more specific details.
    Try to take over the world!

  • Partitioning drives for linux and windows 7

    I want to know if there is a piece of software that is free that can partition my drives so that I can triple boot OSX lion, windows 7 (which is currently blocking...) Linux (ubuntu puredyne).
    A little bit of guidance would be much apprieciated as I have already tried fixing the partition tables MBR in the terminal and ended up disabling windows.
    I know how to reinstall windows but what software can partintion the drives for linux as a triple boot?
    Thanks.

    Well, this is possible using Disk Utility as well as the Linux formatter. However, to triple boot will require special software: The rEFInd Boot Manager - Roderick Smith.

  • How to create a c++ shared library (.so) for linux real time (for myRio) with Eclipse to use in LabView?

    I tried already these Tutorials and Advices but I didn't find a solution:
    - http://www.ni.com/tutorial/14625/en/
    - http://www.ni.com/tutorial/14690/en/
    - http://forums.ni.com/t5/LabVIEW/Shared-Library-on-myrio-Linux-Real-time-system/m-p/2842540/
    - http://forums.ni.com/t5/LabVIEW/How-to-create-shared-library-for-linux-real-time-target-in/m-p/28218...
    - and some more
    I want use c++ codes on linux real time. For testing reasons I want to have a function that adds 2 values and gives the result.
    I've done these steps:
    1. writing a c++ file in Eclipse (see screensot 2)
    2. building a shared library (.so) from my c++ project in Eclipse (with Cross GCC)
    3. putting this file on myRio (path: /usr/local/lib/)
    4. creating a VI that calls this library from Labview with a "Call Library Function Node" (see screenshot3)
    5. Setting the properties for the "Call Library Function Node" (see screenshots 4-7)
    After I run this VI i get this error message: LabVIEW:  (Hex 0x627) The function name for the ... node cannot be found in the library. To correct this error, right-click the Call Library Function Node and select Configure from the shortcut menu. Then choose the correct function name. (see screenshot1)
    I've tried a lot things to solve this problem but I couldn't find a solution. Would be very happy if anyone can help me. I guess that I have to edit my c++ code to export my function (symbol). But I have no idea how to make it. I also tried it with a dll file in the same folder but it didn't help.
    Perhaps someone can send an example which works on myRIO.
    Thanks!
    screenshot1
    screenshot2
    screenshot3
    screenshot4
    screenshot5
    screenshot6
    screenshot7

     can see it in the screenshot8 there is a function called "_Z8AddierenddPd" instead of "Addieren". I copied this name to Labview (see screenshot9) and it worked.
    I'm sure that there is a way to compile the shared folder with gcc without decorations (mangling). But I don't know how. If someone has a recommendation I would be very glad!
    Prepend each function declaration that you want to be available without name decoration with
    extern "C" <your function declaration>
    Or if you have multiple functions you want to export you can in the header file where you declare your functions simply use:
    #ifdef __cplusplus
    extern "C" {
    #endif
    <all your function declarations>
    #ifdef __cplusplus
    #endif
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Whether the Oracle 8i for linux is free for business purpose?

    if we implement an application with Oracle 8i for linux.And the we will sell the application. whether we must pay the Oracle 8i for linux?

    I think the oracle so called their datebase can't use to profit include two perspect:
    First, you can't use oracle for linux in bussiness directly.Such as a compnay use oracle on linux as his database platform.
    second, you can't use oracle for linux as development platform or run platform and you product used for bussiness perpose.
    The above two item certainly uner unauthorized conditions. If you get authorized oracle on linux,you can use it as you want.
    null

  • Specifying Partner Failover in odbc.ini for Linux ODBC driver for SQL Server

    Hi,
    We are trying to specify the partner failover when making connections via Linux ODBC driver for SQL Server. Do you know a way to specify partner failover in the DSN entry in odbc.ini? 
    We are using Linux ODBC driver for SQL Server and unixODBC DriverManager.
    Our DSN is:
    [MyDSN]
    Driver=ODBC Driver 11 for SQL Server
    Description=MyDSN
    Server=MySERVER,<port>
    I also tried to use the following connection string in Python (via pyodbc) bypassing the DSN and connecting using the server name.
    cnxn = pyodbc.connect("Server=server1,<port>;UID=sa;PWD=<pwd>;Driver=ODBC Driver 11 for SQL Server;Failover_Partner=Server2,<port2>;Database=MyDB")
    If the standby DB is on server1 connection fails. It doesn't try server2. If the DB is principal on server1 connection succeeds.
    Thank you,
     Liviu
    LLL

    Hello,
    Did you use ODBC Driver for SQL Server to connect to database that uses database mirroring?
    According to
    the BOL,it does not list "Failover_Partner" as ODBC Driver for Linux connection string keywords.
    But ODBC driver for Linux supports
    AlwaysOn Availability Groups or Failover Cluster Instance by specify MultiSubnetFailover=True when connecting to a SQL Server 2012 availability group listener or SQL Server 2012 Failover Cluster Instance.
    The following case is about similar issue and it seems that ODBC Driver on Linux does not recognize Failover_Partner in connection string. (Not test myself).You can refer to:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6a8b5223-066d-4493-84a3-b5374a32e433/native-client-on-linux-does-not-recognize-failoverpartner-in-connection-string?forum=sqldataaccess
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • JDeveloper 11.1.1.6.0 download for linux showing specs for 11.1.1.5.0

    Hi,
    While downloading Oracle JDeveloper 11.1.1.6.0 for linux from : http://www.oracle.com/technetwork/developer-tools/jdev/downloads/jdeveloper11116-1377208.html
    On selection of Linux Install from drop down under Studio Edition: 11.1.1.6.0 ,the Prerequisites & Recommended Install Process showing :
    Prerequites and recommended components for Oracle JDeveloper 11g (11.1.1.5.0) Linux
    Is it because these are same for both 11.1.1.6 and 11.1.1.5 version?
    Thanks,
    Anirban

    Yes, that´s probably the case.
    You have to fulfill the prerequisites for 11.1.1.5.0 at least.
    Timo

  • How to set focus in the parent window after a JOptionPane pop up ?

    I am not able to set the focus back to a JTextField in the parent window after poping up a JOptionpane.showMessageDialog(). I tried requestfocus(),requestFocusInWindow etc......but not working. The code is given below.
    if ((encryptor.encrypt(password)).equals(configuredPasswd)) {
                        validPassword = true;
                   } else {
                        JOptionPane.showMessageDialog(saveUI,"The password entered is not correct.");
                        saveUI.getPasswdField().setText("");
    saveUI.getPasswdField().requestFocus();
    Sometimes the focus is coming to the JTextField.Sometimes it appears for a moment and then dissappears.Please give a solution

    see if this makes a difference
    if((encryptor.encrypt(password)).equals(configuredPasswd))
      validPassword = true;
    else
      JOptionPane.showMessageDialog(saveUI,"The password entered is not correct.");
      ActionListener al = new ActionListener(){
        public void actionPerformed(ActionEvent ae){
          saveUI.getPasswdField().setText("");
          saveUI.getPasswdField().requestFocusInWindow();}};
      javax.swing.Timer timer = new javax.swing.Timer(100,al);
      timer.setRepeats(false);
      timer.start();
    }

  • Mxmlc File for Linux and Windows

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

Maybe you are looking for

  • Problem in uploading multiple PO line items thro bapi_po_create1...

    Hi All, I want to upload Purcase details thro BAPI_PO_create1.I am able to upload PO for single line item. If i pass multiple line items i am getting error. Error is "Purchase order still contails faulty items". Pls see my code,and help to solve this

  • Missing fonts in Word documents?

    Hi I have just got a new iMac and have upgraded to Word for Mac 2011 from Word OSX and when I open older documents the original documents fonts are missing. Any ideas how I can globally correct this rather than changing each document everytime I open

  • Getting Javascript error on Production Server

    Hi, I am facing unusual problem as my one jsp file containing javascript is working fine on testing server.I put same code on production server ,here I am getting javascript alert for not saving my data.Putting some part of my JSP file for ur referen

  • How to restrict to process a File until another File gets processed

    Hi Gurus, we have a sceario in our system where PI system picks unicode Text files which has product and Forecast data information which is also a Flat File (unicode Text) and updates in SNP System. For updating forecast information we need to have p

  • Can I make a still pic from a movie in iPhoto?

    Hi Guys, I've got a movie of my daughter blowing out her fifth birthday cake candles. Can I extract a still from this to put on her thank you cards?