Please help: Running a java script form the windows command line.

Hello forum,
I'm trying to run a java script from the command line on
windows but I always get the "Failed to open document" alert.
I typed the following in the run command line:
"flash.exe" C:\Documents and Settings\Hasan.Atieh\My
Documents\science\java scripts\testing jsfl\get_files_mx2004.jsfl
now I copied and pasted the path of my java script file from
the windows explorer address bar so I'm sure that the java script
file exists in the specified path.
Any thoughts why am I getting the message!!

:oops: never mind... issue resolved. I didn't quote the java
script file path but thats because the help documents on flash
didn't say that.
this is what flash help say:
To run a script from the command line on Windows:
Use the following syntax (add path information as required):
"flash.exe" myTestFile.jsfl

Similar Messages

  • Running class files from the windows command line...

    Hello Everyone,
    My instructor showed us a way to run class files from the windows command line. However every time I try to run the class file from the command line using a command like: java CruiseHelper.class
    I get an error that states "Exception in thread "main" java.lang.NoClassDefFoundError: CruiseHelper/class"

    Hello Everyone,
    My instructor showed us a way to run class files from
    the windows command line. However every time I try
    to run the class file from the command line using a
    command like: java CruiseHelper.class
    I get an error that states "Exception in thread
    "main" java.lang.NoClassDefFoundError:
    CruiseHelper/class"Classes are not file names. You don't have a class named "CruiseHelper.class", that's a file name. The class name is just CruiseHelper (if you have no package statement in it).
    So,
    java -classpath . CruiseHelper

  • Can't run java .class programs from Windows command line!

    I have tried to get a program that I wrote with the JDK to run from the Windows command line, but it is not working. I typed:
    java HelloWorld
    Where my .class was HelloWorld.class, a compiled java program. I spelled the name correctly (and I am in the correct directory), yet I get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    I think something is screwy with windows, but that's just me. Any ideas??

    Likely a CLASSPATH issue - try
    java -classpath . HelloWorldGood Luck
    Lee

  • How to Invoke tasks created in FrameMaker Publishing Server from the Windows command line

    Hi All ,
    i would like to know how can we Invoke tasks and schedules created in FrameMaker Publishing Server from the Windows command line.
    we used publishing server mainly to convert Frame maker files into PDF and that should be do progarmatically without manual intervention on Demand.
    so could you please let us know how can i invoke rthe task creted to convert FM file to PDF in FrameMaker Publishing Server from the Windows command line.
    please let me know the command to execute .
    thank you and waiting for valuable response.
    best regards
    Ramesh babu

    Please see http://blogs.adobe.com/techcomm/2011/03/adobe-framemaker-server-10-and-its-command-line-ca pability.html for the same.
    Harish Dhawan

  • Run Scripts from windows command line

    Hi, We're creating a test enviroment and we need to "rebuild" our Database (Tablespace) from scratch everytime we run a test.
    What we need is to run all scripts files from windows command line, there is any command or application we can use here?
    thanks.
    Fernando.

    Create a scripts.bat file with something like this in it:
    @sqlplus -S username/password@connect @scriptname.sql

  • How to get the parameter from Java Script into the Parameter crystal Report

    Hi All,
    Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
    My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
    FYI.
    Java script sends the right parameter value.There is no issue in java script.
    This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.

    Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
    If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
    Please clarify?

  • How I run a shell script from the scheduler on 10.2.0.2.0 ?

    Hello Oracle People,
    I'd like to run a shell script from the Scheduler in my 10g database.
    Right now it is a simple shell script.
    Eventually it will wrap RMAN commands to back up my DB.
    I wrote a simple pl/sql script to create a job:
    -- cr_job10.sql
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_backup_job',
    job_type => 'EXECUTABLE',
    job_action => '/h/oracle/scripts/tst.sh',
    start_date => '06-SEP-07 5.33.00PM US/Pacific',
    repeat_interval => 'FREQ=DAILY',
    end_date => '08-SEP-07 4.00.00PM US/Pacific',
    enabled => TRUE,
    comments => 'My Backup Job');
    END;
    I see no errors when I run the above procedure.
    I checked DBA_SCHEDULER_JOBS and the job is in there.
    The scheduler, though, errors out with an error which I see in a trace file:
    /h/oracle/admin/orcl/bdump/orcl_j000_22396.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /h/oracle/product/10r2
    System name: SunOS
    Node name: sol
    Release: 5.10
    Version: Generic_118855-14
    Machine: i86pc
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 22396, image: oracle@sol (J000)
    *** ACTION NAME:(MY_BACKUP_JOB) 2007-09-06 17:33:00.175
    *** MODULE NAME:(DBMS_SCHEDULER) 2007-09-06 17:33:00.175
    *** SERVICE NAME:(SYS$USERS) 2007-09-06 17:33:00.175
    *** CLIENT ID:() 2007-09-06 17:33:00.175
    *** SESSION ID:(140.13520) 2007-09-06 17:33:00.175
    *** 2007-09-06 17:33:00.175
    ORA-12012: error on auto execute of job 53267
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    I googled on this:
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    Google returned only 1 hit.
    There, I see some evidence that I need to configure something inside
    of Oracle to run shell scripts from the scheduler, but possibly just
    for machines running windows. I'm running Solaris.
    Do any of you know what I need to configure inside of Oracle to
    run shell scripts from the scheduler?
    -Owen

    Hello people,
    I should have added this bit of information:
    "The script runs fine from oracle's crontab."
    "The script runs fine from a shell owned by oracle."
    I'm getting responses telling me to check my env variables and permissions
    which would be helpful to a UNIX novice.
    I have a feeling that no one is using the scheduler to run RMAN scripts.
    Tim Hall suggested I take a close look at these files:
    $ORACLE_HOME/rdbms/admin/externaljob.ora
    $ORACLE_HOME/bin/extJob
    Currently I'm setup like this:
    bash sol root /h/oracle/product/10r2/bin 31 #
    bash sol root /h/oracle/product/10r2/bin 31 # ll $ORACLE_HOME/rdbms/admin/externaljob.ora
    -rw-r--r-- 1 root dba 52 Sep 7 15:29 /h/oracle/product/10r2/rdbms/admin/externaljob.ora
    bash sol root /h/oracle/product/10r2/bin 32 #
    bash sol root /h/oracle/product/10r2/bin 32 # cat $ORACLE_HOME/rdbms/admin/externaljob.ora
    # externaljob.ora
    run_user = rman
    run_group = rman
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 # ll $ORACLE_HOME/bin/ext*
    -rwsr-x--- 1 rman dba 30388 Sep 21 2006 /h/oracle/product/10r2/bin/extjob*
    -rwsr-x--- 1 rman dba 30392 Sep 21 2006 /h/oracle/product/10r2/bin/extjobo*
    -rwsr-x--- 1 rman dba 34468 Sep 21 2006 /h/oracle/product/10r2/bin/extproc*
    -rwxr-xr-x 1 oracle dba 300 Sep 21 2006 /h/oracle/product/10r2/bin/extusrupgrade*
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    On my system, the user 'nobody' has no shell so I cannot use nobody.
    I created a user named rman:
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 # su - rman
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    $
    $ id
    uid=220(rman) gid=220(rman)
    $
    $
    $ date
    Fri Sep 7 16:30:03 PDT 2007
    $
    $
    Jared points out that rman needs access to extproc:
    $ ls -la /h/oracle/product/10r2/bin/extproc
    -rwsr-x--- 1 rman dba 34468 Sep 21 2006 /h/oracle/product/10r2/bin/extproc
    $
    $
    Here is a demo of rman running his script:
    bash sol root /h/oracle/product/10r2/bin 35 # su - rman
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    $
    $
    $ ls
    scripts
    $
    $
    $ scripts/tst.sh
    $
    $
    $ cat scripts/tst.sh
    #! /bin/sh
    /usr/bin/date > /tmp/tst.sh.out.txt 2>&1 &
    exit 0
    $
    $
    $ cat /tmp/tst.sh.out.txt
    Fri Sep 7 16:31:23 PDT 2007
    $
    $ rm /tmp/tst.sh.out.txt
    $
    I am focused on this error:
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    And I am focused on this exit code: 274662
    What does 274662 mean?
    If the Scheduler gives me an error like "274662" rather than some English,
    it's obvious to me the Scheduler is a POS and I should not use it.
    And of course,
    If I cannot run RMAN from Oracle Scheduler, I'll use cron.
    -Owen

  • Good morning There is a stop at the camera Please help me When you turn on the camera Shut down automatically

    Good morning There is a stop at the camera Please help me When you turn on the camera Shut down automatically
    I'm in iraq

    Adobe Reader is free. It always has been.
    You have obviously downloaded and installed Acrobat (30 day trial version) and the trial period has expired.
    You need to uninstall Acrobat (using the Control Panel and Add/Remove Programs or Programs and Features [Vista/7])
    Then run the Windows Installer Cleanup Utility http://support.microsoft.com/kb/290301
    to completely remove the Acrobat installer files.
    Then download Reader 9, install it, and go about reading PDFs for free.
    EDIT: Please, please please.... do NOT post a phone number in the forums.
    You're inviting trouble if you do.
    Not everyone who reads these pages is here to help fellow Adobe product users.
    Message was edited by: Mac+Win=Me

  • Include Java script in the abap webdynpro

    Dear expert,
    Anyone know how can i include a java script in the abap web dynpro.
    Thanks
    Regards,
    Bryan

    Hi
    There is no way you can include Java Script in Web Dynpro ABAP. You can navigate to a BSP application and run your JavaScript.
    Abhi

  • Please help. When I click on the download folder then MBP crashes

    Please help. When I click on the download folder then MBP crashes

    I see. Not good.  Does this happen when you click on it in the Dock?  What about in your home folder? What about in the Finder sidebar?
    Standard troubleshooting things to try:
    * Hold command-r while starting up to get into Recovery Mode.  Run DIsk Utility and "Repair Disk".  (This is probably a good idea in any case because of the possible disk errors which could accumulate due to all the freezing.)
    * Hold shift down while starting up to get into Safe Mode. Does the bad behavior persist while in Safe mode?
    charlie

  • PLEASE Help! - Bridge and Premiere CC- "the operation could not be completed" and export error - MAC

    Dear Adobe Community,
    I got my first imac a few days ago, and i decided to install Adobe CC.
    When i want to run Adobe Bridge, says "the operation could not be completed", the same happens with Adobe After Effects.
    And I also have a problem with Premiere, when i want to export a project says that premiere must close.
    This is the try version, is this a problem of Adobe or Apple? i'm very worried
    Help!
    Thank you!
    Ivana

    Muchas gracias!!! Ha funcionado!
    El 11/02/2014, a las 00:02, Federico Platon <[email protected]> escribió:
    Re: PLEASE Help! - Bridge and Premiere CC- "the operation could not be completed" and export error - MAC
    created by Federico Platon in Foros de usuario a usuario - View the full discussion
    Confirma que se trata de una cuestión de permisos.
    Por cierto te aconsejos actualices la 9.1  a 9.2, posiblemente se habría arreglado así también.
    Bueno los pasos son:
    2. Select Go from the Finder Menu.
    3. Select Computer.
    4. Select Macintosh HD.
    5. Select Users.
    6. Select your user profile.
    7. Right click on user profile. Select Get Info.
    8. Go to bottom and unlock with admin password to make changes.
    9. Make sure your user profile has Read and Write privileges by selecting from dropdown menu.
    10. Go down to wheel at very bottom and select Apply to enclosed items. This should allow Adobe Bridge to run properly.
    Creo que no se necesita traducción.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6107188#6107188
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6107188#6107188
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6107188#6107188. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Foros de usuario a usuario at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • I've installed iTunes 10.2.1 but my computer doesn't recognise the hardware certificate and denies it, and the installation isn't complete. This results in my iPod being unrecognised. Please help me! My system is a Windows XP.

    I've installed iTunes 10.2.1 but my computer doesn't recognise the hardware certificate and denies it, and the installation isn't complete. This results in my iPod being unrecognised and so, it cant synchronize with iTunes. Please help me! My system is a Windows XP.

    Malware can cause digital signing issues, I would run a malware check with the free version of MalwareBytes:
    http://www.malwarebytes.org/
    After that, the is a Microsoft fixit for:
    The software you are installing  has not passed Windows Logo testing to verify its compatibility with Windows   XP. (Tell me why this testing is important.)
    This software will not be  installed. Contact your system administrator.
    http://support.microsoft.com/kb/822798
    It might be worth trying it.

  • Hello, please help, my interface is connected to the microphone and when i open Logic 9 it does´t work. But I opened garageband to check and it works fine. I can record voice with any effect... With Logic i see the sound passes in the interface.

    Hello, please help, my interface is connected to the microphone and when i open Logic 9 it does´t work. But I opened garageband to check and it works fine. I can record voice with any effect... With Logic i see the sound passes in the interface but does not arrive in Logic. The Loops works fine and i can hear. Is just the sound to record the voice it does not work. What can i do ??? I used Logic before in the same computer and it worked fine. Thank you so much, I´m a begginer recording myself.

    Make sure you go into preferences in Logic and set the audio input to be your interface and the audio output to be either built in output or the interface, if that is hooked up to something else. It sounds like Garageband has the audio interface set as the input but not Logic.
    Also make sure you close all other applications except Logic to ensure it is not running in slave mode...

  • I have 4s iPhone , I download the iOS 7. Now the front receiver microphone is not working , please help me that how to fix the problem.

    I have 4s iPhone , I download the iOS 7. Now the front receiver microphone is not working , please help me that how to fix the problem.

    I live in South Africa, and I had the same problem with my iPhone 4.
    After weeks of frustration and swearing, I was in the process of restoring my phone to a previous iOS. To do that you need to turn the "Find my iPhone" option off, since i turned it off, my problem was solved. No need to repair anything or revert back to old iOS.
    ***** that i cant use Find my iPhone, but atleast i can use my phone.

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

Maybe you are looking for

  • How do I find what's using my hard drive space

    My wife has a 14" iBook. How do I find what's using all the hard-drive space? It only has a 40GB hard-drive (it's one of the older G3 models) but there isn't a lot loaded onto the HD. There is only 3GB space left. I've gone through every application

  • Flash doesn't work and I cannot download it so my video doesn't work and it sucks thanks a lot

    Have had 3 days of hell trying to download this crappy flash player and because of it my videos don't play, my amazon cloud player doesn't work. I hate Adobe right now. Either help me fix this or go to F'ing hell

  • Is there a way to delete duplicate photos in iPhoto?

    Im having trouble figuring out a way to delete hundreds of duplicate photos on iPhoto. Any suggestions?

  • How to fix this data binding bug?

    Hi All, I need a mutual-excluding component like ToggleButton behaves. There's a public property viewMode which indicates which button is selected. It works fine when I click other buttons. But when I click the selected button again, it seems the bin

  • PO Idoc - Process Code ME11

    Our requirement is to send all the PO changes including the deleted lines and the unchanged lines: Here is what is happening: 1. If I use ME10 - It creates the idocs with all the line items. In the user exit, I change the Action Code. This approach h