Can't run an executable file

I am on a macbook pro, OSX 10.6.7, and whenever I try to run a name.command file, it says I don't have appropriate access privileges. I am the only admin.
Also, it's a name.command if that helps.

I just realized I said name.command twice...

Similar Messages

  • How can i run .app executable  file

    Hi,
    While i was searching for my topic on google code, i found one project and i download that.
    But its "MyProject.app" with yellow cplored xcode sumbol and i can not run this file.
    Does any one know that how can i run this type of file. i want to run this project.
    And another question. I want to create executable file from my project like exe on windows. Is there any way to create this type of file????
    Thanks.

    vavdiyaharesh wrote:
    Hey,
    When i double click on .app file it quit and show me message like "The application project140 quit unexpectedly"........."
    So is there any problem in .app file?
    On your machine sure sounds like it.
    How can i create exe file and how can i pass -0 to compiler ..iu don;t see any option in xcode for that.....
    giove me solution...
    I think you'd be better off taking some training, or at least working through some of Apple's tutorials.
    http://developer.apple.com/documentation/developertools/conceptual/XcodeQuickTou r/qtintro/chapter_1_section1.html
    Thanks.
    You're welcome.

  • How can i run a executable right after a rman job has run?

    How can i run a executable right after a rman job has run?
    I have a rman job that execute every night. The backup is local.
    I want to have a duplicate of the backup on another machine.
    I want the executable to sync the directory to execute right after the rman backup.
    How can i do this using the job scheduler?
    Normaly, i would configure rman to run the backup on both location. But im having trouble with rman regarding this:ORA-600 [2103] on RMAN Backup to NFS mounted file system

    Hi,
    If the rman job is in fact a Scheduler jobs (appears in the dba_scheduler_jobs view) then you can create a second event-based job that runs after the rman job (and set the raise_events attribute for the rman job).
    Instructions are here
    Create Event based job
    Hope this helps,
    Ravi.

  • To run a executable file

    Hi Guys & Gals,
    I need a small help I need to know how to write a java program to run a executable file at a specified time? For example I need to start Editplus at 4.00Pm.

    Hi You can use this program
    For testing purpose, i have calculated scheduled time by adding 1 minute to the current time, see the bold line, you may change this
    import java.util.Date;
    import java.util.Timer;
    import java.util.TimerTask;
    public class ExecuteEXE extends TimerTask {
          * @param args
          public void run() {
                  //TODO generate report
                    //TODO generate report
                     Runtime r=Runtime.getRuntime();
                    Process p=null;
                    System.out.println("Executing ");
                    try
                 String s="c:\\programe files\\editplus\\editplus.exe"; // Change here accodingly
               //     String s="D:\\Timesheet.bat";
                     p=r.exec(s);
                  catch(Exception e){
                    System.out.println("error==="+e.getMessage());
                    e.printStackTrace();
    class MainApplication {
           public static void main(String[] args) {
             Timer timer  = new Timer();
           java.util.GregorianCalendar cal = new java.util.GregorianCalendar();
           cal.setTime(new Date());
              //adding a minute with current time for testing
              cal.add(java.util.GregorianCalendar.MINUTE,1);
              Date newd = cal.getTime();
              System.out.println("Current time "+new Date());
              System.out.println("Scheduled time "+newd);
            timer.schedule(new ExecuteEXE(),newd); // newd is the scheduled time
             System.out.println("Timer Started");
         }

  • Running an Executable file

    Hi,
    Is there a way, using ALBPM 5.7 StandAlone on Windows, to run an executable file (.exe or .cmd or .vbs) from within an automated task?
    If so, how is it done?
    Thanks in advance.

    Hi,
    Sure, you have to use the Java.Lang.Runtime (which is a java standard component)
    You can check javadocs at: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html
    If you are using Java language style, the code would be something like:
    Java.Lang.Runtime.getRuntime().exec("c:\myExecutableFile.exe");
    Hope this helps,
    Ariel

  • Lion (10.7.0): Into Smb share folder I can't run Windows executable (.exe)

    Lion (10.7.0): Into Smb share folder I can't run Windows executable (.exe)
    Window 7 Pro 64 response insufficient privilege.
    Read and Write normal file don't have problem.
    Before in OSX 10.6.8 don't have problem.
    Help
    Alessandro

    Hi,
    the problem is X permission than not replay on smb.
    If manual set ".exe" X permission file run but when rebuild exe with compiler restore only "Read&Write permission"
    Is possible use inheritance on smb (lion)?

  • How can i run a jar file as EXE on mouse click..

    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*

    amrit_j2ee wrote:
    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*Do you mean converting it from a jar file to an EXE file or do you mean that you would like to run the application by just double clicking it?
    If it's the latter then you need to make the jar file including a manifest.
    The manifest can be just a txt file with its content to be something like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: Somebody
    Main-Class: NameOfTheMainClass
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildTo make the jar file including the manifest, use something like this in your command prompt (of course you must have compiled your java file(s) first):
    jar cfm test.jar MANIFEST.txt NameOfTheMainClass.classAfter that you'd be able to run your application just by double clicking it.
    If you're a NetBeans user, you can build your standalone application by right-clicking your project and then going to properties => run => and choosing a Main class. After that right click on that project and "Clean and Build", locate the jar file in the "dist" folder and double click it =]
    Hope it helps,
    LD

  • How can i run a jar file?

    hi there
    how can i run a far file on my pc. i have installed JRE 1.3.1, and set the classpath to C:\Program Files\JavaSoft\JRE\1.3.1_02\bin for the user variables, what else do i need to do to run it?

    Hi everyone.. i had a funny problem. Microsoft removed from registry and system the vm and i got the problem of java.dll and the registry problem when compiling.
    How did i resolve that?
    too easy:
    1. go to the registry and search the key "JavaSoft"
    2. add a Key with the name "Java Runtime Environment"
    3. select the new key and add a alfa-numeric Value with the name "CurrentVersion"
    4. set the value c:\jdk1.4 //the place of your jdk-version
    5. insert a new Key with the name "1.4"
    6. go to the new key and add an alfanumeric value with the name "JavaHome" and put the value c:\jdk1.4\jre\lib
    do this where you find the key Javasoft (in my registry was twice)
    i did it and got no problems

  • Can I run any .swf file on iphone using AIR SDK 2.6?

    Hi,
    Can I make any .swf file runnable on iphone/ipad using AIR SDK 2.6? If yes then how?
    If not then why? And if I can not run each .swf file on apple devices then
    what type of .swf file I can run on these devices?
    Thanks,
    Sampada

    I have added my xml file there. Specification of icons is not mandetory. So I didnt specify them.
    My .xml file code :
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <application xmlns="http://ns.adobe.com/air/application/2.6">
        <id>R68BU32HLS.helloWorld</id>
        <versionNumber>1.0</versionNumber>
        <filename>helloWorld</filename>
        <description></description>
        <!-- To localize the description, use the following format for the description element.
    <description>
    <text xml:lang="en">English App description goes here</text>
    <text xml:lang="fr">French App description goes here</text>
    <text xml:lang="ja">Japanese App description goes here</text>
    </description>
    -->
        <name>helloWorld</name>
        <!-- To localize the name, use the following format for the name element.
    <name>
    <text xml:lang="en">English App name goes here</text>
    <text xml:lang="fr">French App name goes here</text>
    <text xml:lang="ja">Japanese App name goes here</text>
    </name>
    -->
        <copyright></copyright>
        <initialWindow>
            <content>helloWorld.swf</content>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <fullScreen>true</fullScreen>
            <autoOrients>false</autoOrients>
            <aspectRatio>portrait</aspectRatio>
            <renderMode>auto</renderMode>
        </initialWindow>
        <customUpdateUI>false</customUpdateUI>
        <allowBrowserInvocation>false</allowBrowserInvocation>
        <icon></icon>
    </application>
    You can refer :
    http://forums.adobe.com/thread/848449?tstart=0
    Same problem I posted b4 2 days.
    Ok.tell me one more thing that whatever file I will download from net, its dimentions will
    not be the same as iphone (230*480) , so how it's .ipa will directly get run on device?

  • Can Director 11 's executable file support MAC 10.2 and 10.3?

    I used Director 11 in PC, and published MAC executable file
    -- run.app,
    Run.app can run under MAC 10.4 and 10.5, but can not run
    under 10.2 and
    10.3.
    What is the problem? How to solve it?
    You know, Executable file published by Director 2004 can run
    10.2-10.5.
    Thanks.

    I can't believe this - I'm stunned. Stunned to point of near
    death...
    I've just posted elsewhere on this topic and since found
    this. If only I'd found this out before I started a new project in
    D11. Now I'll have to start the entire thing again in MX04!!!
    There's progress! I'm so glad I spent loads of money (even more in
    rip-off UK) to upgrade and now find out that the software is
    USELESS!!!
    I really can't believe this... Up until now I was ok about
    D11 - it was an improvement. Now I hate it with a passion (due to
    the fact I'm going to be awake for the next continuous 120
    hours).

  • By user login items to run UNIX executable file

    Hi all,
    Here is a plobem, I couldn't deal with for some days, please help me and give some advises .
    I want run a shell script when special user login the system, not all users.
    as I know and by test, the below methods are do the same work.
    1. System Preferences > Accounts > Login Items, add application and can run when user login.
    2. Two files: ~/Library/Preferences/com.apple.loginitems.plist or loginwindow.plist, and add useful items  to any of them.
    Because shell script can only open, but not run by "Login Items",  so at first I write a UNIX executable file , which is run the SH, and  gone into the System Preferences > Accounts > Login Items, add the UNIX file below, and set "Hide".
    When the user login the system again, it can auto open the terminal window, and run the UNIX exe file, but when the file end of exe, the terminal still open,
    and can't close. Here I have write command "exit" in the SH file, and the terminal show "the process has ended".
    I want the UNIX exe file  had better run in the backstage, if by terminal , how can make terminal hide?  or by what command can close the terminal ? 
    If it is not a good method,  whether there have any other way to  run the Shell Script flie in the backstage when certain  user login ?
    Here my Mac OS X workstation system is 10.5.8.
    please help me ,thank you .

    OK. My previous answer still holds. You don't need Terminal to run ssh, or AppleScript either, for that matter. What you do need is a process on the remote machine that will accept remote requests to run some appliction. It just so happens that sshd is such a program. I'm not sure about AppleScript. You may need to be logged on so that the Finder is running. I'm no AppleScript expert, so don't quote me. Again, I would just use ssh.

  • How can you run an executable from AS2 code without using fscommand() or a projector?

    Just using some short .asc files made out of Notepad for some back-end server stuff, but without using fscommand() or projectors, how can you call an executable? There's a C++ program that I want to run from more-or-less the same directory as the .asc files, which handles some logging, and I need to be able to pass it arguments when telling it to run.
    Please note that I have Googled this with no useful results and that I'm on an assignment that necessitates this question. Also I'm open to the possibility that it can't be done.
    Thanks!

    The swf is on a different server and using AS3.  The little bit of AS2 back-end stuff is on a few different servers that the swf is hooking up to for streaming video and audio.  The executable would be on the AS2 servers.

  • Can MRP run without Planning File Entry?

    Hi,
        I came across an issue where MRP is running accurately without any Planning File Entry for a material in E.C.C.6.
        My Understanding is MRP can NOT run w/o PFE u2013 which is a mandatory prerequisiteu2026..BUTu2026???
    TRY itu2026   1.in OMDU find a plant where MRP is NOT active,    2. Create a Material with all required data (I used ROH, Proc.Typreu2013 F, Strategy u2013 70, Mixed MRP-1, Ind/Coll u2013 2)   3. Activate MRP for the Plant in OMDU.   4. Create Demand according to strategy (I used VSFB in MD61).   5. Run MRP & complete procurement as many times u want.   6. In this process anytime u can check in MD21 u2013 there is NO PFE.
         Can someone tell me what the reason / logic are behind? Is there any OSS note for it?

    Dear ACCPP12,
    1) in which t-code your running MRP, i suspect your running in MD02
    2) MD02 & MD03 does not require Planning file entry
    3) MRP gives results with out planning file entry by the above mentioned t-codes
    4) where as if your going with MD01, then Planning file entry is required for materials
    Regards
    Madhu Kumar

  • Can I run a .exe file on a Mac?

    I need to know know if it's possible to run a '.exe' file on an Intel-based Mac running Mac OS X. There's a CD with an application I need to run. In the Finder it has the icon of the black computer screen with green letters and it's titled 'startCD.exe. It'll run on Windows but due to circumstances I need to run it on my computer. Any direction you can point me in will be greatly appreciated. Thank You!
    MacBook   Mac OS X (10.4.8)  

    Maybe:
    http://www.codeweavers.com/
    "CrossOver Mac allows you to install many popular Windows applications and games on your Intel OS X Mac. CrossOver includes an easy to use, single click interface, which makes installing Windows software simple and fast. Once installed, your application integrates seamlessly in OS X. Just click and run your application directly from the OS X Finder. Clicking a Windows file or document — including email attachments — will launch the appropriate Windows program, allowing you to work on the files. Best of all, you do it all easily and affordably, without needing a Microsoft operating system license.
    Adding new Windows software is easy. Just place your install CD in your Intel Mac, and CrossOver will recognize it and offer to begin the installation process. CrossOver then completes the installation and configures your application to run on your Mac. That's all there is to it."

  • Running an executable file through servlet

    Hello People,
    I tried searching about this on the Forums, but could not find the right solution.
    Please donot get annoyed if you find this to be a repeted topic, which I am sure is not.
    I want to run a .sh file in Unix environment through servlet.
    Actually i want to do this inorder to schedule a report servet to run a report and generate the output in a particular format on a click of a button.
    I tried using Runtime.getRuntime().exec method, (which I know through forum is unreliable)
    Can anyone suggest me a method through I can achieve this?
    Any suggestion is appreciated.
    Regards,
    Rohan Kamat

    Hi MOD,
    Thanks for the quick reply.
    Heres what I am doing to schedule.
    1) The client selects the necessary parameters from the front end and then saves it in a table.
    2) This he will be doing for as many reports as he wants, on an average there will be 200 reports daily.
    3) Once he has selected all the parameters for all the reports, he will go to the next screen and fire a script to run the reports at a time.
    4) This script will be fired only once. And once it is fired it will generate a PDF files of the reports.
    5) On the front end the screen will be refreshed showing the users the status of the reports that he has scheduled to be run
    I am using Servlets 2.0 version, and jdk.12
    Regards,
    Rohan Kamat

Maybe you are looking for