Jdeveloper runs another program as the selected one

After selecting a program (from Java Examples) and trying it to
run or debug, JDeveloper starts another program which runs
before. This behaviour is independent of the entry in "Default
Runable Class/File" in Project property, Run/Debug tab. If this
entry is empty, the first try to run my program writes in this
field the other program I don't want to execute. How works the
program execution exactly? JDeveloper has to register somewhere
the previous running program and overrule the standard
(executing the selected program). Does anyone know this
difficulty?
Thanks for the hints.

Georg,
I have done some testing and am not having any problems with
this.
My suggestion is:
Make sure the samples you want to run are in your project.
Make sure Show enty points on classpath is not selected.
Right-click the program (with a Main()), select Run from the
context menu.
The Run option from the top menu automatically selects (in this
order) the selected program in the navigator, or if one is not
selected, the first one in the project.
The safest way is to right-click the one you want and run it
from the context menu.
Gary
JDev Team

Similar Messages

  • Does "Run another program first" affect if the real package will run?

    In order to sequence some things, in my package I want to do a "run another program first" before what I'm really trying to do runs. 
    My problem is that the thing I want to put in RAPF sometimes fails or times out due to some issues with our machines, but I want the "real" package to run regardless of the results of the RAPF package. 
    My question is, if the thing in RAPF fails or times out, will the original package still run after the failure/timeout?

    Doesn't look like I'm able to make a new TS, might be a permissions thing I'll check on.
    Also, just to give more details, what I'm trying to do is run two command lines, one an msiexec command with switches and then after that runs, then a setup.exe command with switches, then when those finish a vbs which I know finishes.  I
    think it's either the msiexec or setup.exe one that hangs (possibly asking for a reboot or something that it doesn't really need).

  • Calling another program from the current program

    Hi all,
    In our requirement we are calling another program from our current program .
    In the current program( from which we are calling ) we are giving file name in the selection screen
    and when we run the current program we are successfully going to other program but our main requirement is to higlight the file name which we had given earlier .
    Note :  The called program doesnt have any selection screen.

    HI
    use EXPORT and IMPORT key words for passing data from one program to another program.
    as the called program is available in the same session you can use above key words which means you are accessing ABAP MEMORY.
    You can also use SET and GET key words which means SAP memory
    take F1 help there are examples tooo and detailes explanation abou the same
    Regards
    Ramchander Rao.K
    Edited by: Ramchander Krishnamraju on Dec 24, 2008 7:05 AM

  • I have run a program in the t-code ZCRM01_Masseret

    Hi ,
    i have run a program in the t-code ZCRM01_Masseret to update the sales office,
    I need to look the background jobs of the particular program.
    please tellme how to look, the t code to look into.
    Regards
    prajith P

    This is your program Z.....
    Does this program start batch job?
    There are NO another tcode for batch job.
    Check sm37 with enchancement parameters: all period, all users and other.
    Denis

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • Using the result of a subselect in another part of the select

    Does anyone know if 9i can use the results of a subselect in a select in another part of the select. For example:
    select x, (select y from sometable) as ssvar, z, (select abc from someothertable where somecolumn=ssvar) from yetanothertable
    Anyone? We have a bunch of Sybase queries we are porting over and they use this extensively. It looks like the 9i docs say this may not be possible, but I really wanted to be sure before I rewrite the queries.
    -Lou

    From your example, an inline view seems most appropriate to me...
    select max_table.table_name, column_name
    from user_tab_columns, (
    select max(table_name) as table_name
    from user_tables) max_table
    where max_table.table_name = user_tab_columns.table_name
    However, if your actual usage is more complicated, you might want to look at 'subquery factoring' (new in 9i). It doesn't really do much good for this example but here's the syntax...
    with max_table as (
    select max(table_name) as table_name
    from user_tables)
    select max_table.table_name, column_name
    from max_table, user_tab_columns
    where user_tab_columns.table_name = max_table.table_name
    Richard

  • TS2326 when I import my ppictures to my PC it wont let me rotate and it says THIS FILE MIGHT BE IN USE OR OPEN IN ANOTHER PROGRAM OR THE FILE OR FOLDER MIGHT BE READ ONLY

    can somebody help me cause i cant rotate my pics its a message came out when i try to do that.its says the file might be in use or open in another program or the file or folder might be read only

    Are you saving the files to a server? Did you email a version of the file and then continue to work on it without closing it?

  • Preview is opening unselected documents in addition to the selected one.

    Preview is opening unselected documents in addition to the selected one. Recently upgraded to Mountain Lion. Tried tweaking the Preferences, but no effect.

    This is part of the resume feature of Preview, similar to Safari opening the last viewed pages when reopened. There are several methods to avoid this behavior. Clicking the red dot in the upper left corner before quitting Preview is one method. Also, clicking on the Preview menu, press and hold the option key, and then choose Quit and Close All Windows, A third method is to choose Close Window from the File menu on the document before closing Preview.

  • HT201365 How do I stop the running of programs in the background?  The old way of doing it doesn't work now.

    How do I stop the running of programs in the background?  The old way of doing it doesn't work now.

    How to Close Apps
    Double Tap the Home Button... Then swipe the App (not the icon) Upwards... Tap the Home Button when finished.
    From Here  >  http://support.apple.com/kb/HT4211

  • PE4-Win7: Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.

    Hi,
    I'm using Premiere Elements 4 in Windows 7 (64 bit). When I launch PE I get the following error:
    Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.
    Any idea how to solve it?

    I came across this link online. Please check it out and decide if it will or will not advance your case.
    http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/
    ATR

  • How to sent text from my C# WinForm program to another program - where the cursore is

    hi
    how to sent text from my C# WinForm program to another program - where the cursore is
    for example: i have in my program label that contain "ABC" , when i press 'Z'
    the ABC will Appears where the cursore is standing.
    how to do it ?
    what to look for ?
    thanks

    Hi E_Gold,
    You'll need to:
    1) Bring the app to the front
    2) SendKeys to the app
    This code will send "ABC" to MS Word:
    using System.Runtime.InteropServices;
    private void Form1_Load(object sender, EventArgs e)
    // Send the keys 'ABC' to MS Word:
    SendKeysToApp("word", "ABC");
    private void SendKeysToApp(string appName, string keys)
    if (BringAppToFront(appName))
    SendKeys.Send(keys);
    [DllImport("User32.dll")]
    private static extern void SwitchToThisWindow(IntPtr hWnd, bool fAltTab);
    private bool BringAppToFront(string processName)
    IntPtr hWnd = HWnd(processName);
    if (hWnd != new IntPtr(0))
    SwitchToThisWindow(hWnd, true);
    return true;
    else
    return false;
    private IntPtr HWnd(string processName)
    IntPtr hwnd = new IntPtr(0);
    using (Process process = ProcessGet(processName))
    if (process != null)
    try
    IntPtr h = process.MainWindowHandle;
    hwnd = h;
    catch
    if (hwnd != new IntPtr(0))
    return hwnd;
    return hwnd;
    public Process ProcessGet(string processNameToGet)
    if (processNameToGet == "")
    return null;
    Process[] processes = Process.GetProcesses();
    foreach (Process process in processes)
    if (process.ProcessName.IndexOf(processNameToGet, StringComparison.CurrentCultureIgnoreCase) != -1)
    return process;
    return null;
    For info on sending special keys such as "Enter", so this page on MS website:
    SendKeys Class
    Hope this helps.
    Thanks, Andy

  • I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    Welcome to the Apple Community.
    Photos and some other items are added back after the restore has completed, you may need to wait a while.

  • Is it possible to run custom programs using the Lion recovery partition ?

    I understand that it is now possible to get the Recovery Partition onto a USB drive such as a Flash Drive.
    What I want to do is create/copy some tools, and dump them on the recovery flash drive, boot up and execute them.
    This will also be helpful for some 3rd party firmware updates, such as SSD drives, as we cannot update the firmware on a SSD if we boot from it,
    and are forced to try to create Linux/Windows boot drives to install such updates (eg OCZ Vertex 2 SSD).
    I figure I could try to cheat, and replace one of the Apple Tools with another program and hope it works, but I would rather not do this.
    Ideally, would just like to be able to run a Terminal Shell, and run whatever commands I want.
    Cheers

    You can have more than one partition on your flash drive. Use one for the Apple Recovery Disk Assistant (which will be hidden after it is installed). Use the other(s) for whatever you need as required.
    http://support.apple.com/kb/HT4848
    Regards,
    Colin R.

  • Run another installer at the end of a LabVIEW installer

    Since the DIAdem installer is not an optional installer to include with a LabVIEW built installer, I have decided to copy the files to the destination PC and run the DIAdem installer at the conclusion of my program's installer.  This does not work because there is another installer, i.e. my built installer, that is still in progress and it results in the following error.  Does anyone know of a way around this?
    Note:  I have tried it through a batch file and in another executable VI to perform the same action.

    Sounds like you've already seen this:
    Running another MSI installer Using Batch Files
    I got this working for one of my projects but I think it involved some batch file wizardry that I've since forgotten.

  • When I try to start Firefox, I get a message that it is already running but not responding and I can't run another Firefox at the same time. I uninstalled and reinstalled. No change. Tried various other suggestions. Help!!

    When I try to start Firefox, I get a message that it is already running, but not responding and that I should close it before trying to run another Firefox. But I cannot find a way to close Firefox program that is not running as far as I can see. I tried uninstalling and reinstalling Firefox, but that did not work. I've tried various other things, but no luck. I thought programs should stop when the computer is turned off, but that didn't work either.

    How are you opening the Profile Manager?
    *http://kb.mozillazine.org/Profile_Manager
    Sounds that Firefox is still or already running.<br />
    See:
    *http://kb.mozillazine.org/Kill_application

Maybe you are looking for