How can i execute my project?..

i am new about java. i have started to write little programs with jbuilder, but i can't have any exe file.. how can i have?... thanks..

If another person wants to run your Java program, they must have the Jave Runtime installed on their machine. Then they must run the command as already given:
java MyProgramIn Windows it is a bit easier. You can bundle all of your .class files into a single .jar file (there is a program in the java bin directory called 'jar'). In windows, when you install Java, .jar files are associated with the javaw.exe program, so when you double click the .jar file they are automatically executed without the user having to type in the command.
Also, there are some free installation programs out there, such as InstallAnywhere, which will let you package your .class files into a self-installing executable, and will also let you bundle a Java JRE with it, to guarantee the user will have everything he/she needs to run your program.
Good luck.

Similar Messages

  • How can i create a project with my exisiting java code

    Hi All,
    I have a source code of one project and i want to execute this in jdeveloper 10.1.3.1.0 version.
    can u please suggest me how can i execute that project
    its using struts and ejb's
    i need clear steps of this.
    Thanks in Advance.
    Regards,
    588872

    Under file->new->Projects you'll find two options that are relevant to you:
    One is called project from WAR file - this will allow you to point to a project that has been packaged as a WAR and will create a JDeveloper project for it.
    The other option is called "Project from existing source" this will allow you to point to your existing code directory and will create the JDeveloper project for this.
    After you created the project, you might want to do a bit of tweaking under the project properties->content and sub categories for Web content, resources etc...
    And you might also need to add any missing JAR files you are depending on to the libraries node of your project properties.

  • How can I split a project. In iPhoto one could choose that option from the Events dropdown on the toolbar

    How can I split a project? In iPhoto I could use the Event tab in the tool bar and there was an option to split the event but I can't find it on Apeture 3.

    Hi Wayne.  Aperture and iPhoto differ in many -- perhaps all -- ways.  They were designed (afaict) with radically different users in mind.
    To move images into a new Project, select them, then execute "File→New→Project" and check "Move selected items to new project".

  • How can i execute codedui scripts by using dll

    how Can I Execute Coded UI scripts by using the DLL from anywhere after creating the build 

    Hi yellesh,
    If you mean that you want to run your test with bat file, as far as I know, we could call the MSTEST command line.
    set mstestPath="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"
    %mstestpath%\mstest /testcontainer:AutomatedUITest.dll  /resultsfile:TestOutput.trx
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/29af65b3-598b-4205-80e6-35b942113f3b/how-to-run-coded-ui-scripts-trhu-bat-file?forum=vsautotest
    https://social.msdn.microsoft.com/Forums/en-US/42a5d8f2-fe58-4133-b09d-28fa0553ab1a/run-coded-ui-test-in-certain-moment-in-future?forum=vsautotest
    Best Regards,
    Jack
    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.
    Click
    HERE to participate the survey.

  • How can I open a project made in 2000 on Final Cut Pro to migrate it to a new version?

    how can I open a project made in late 2000 on Final Cut Pro to migrate it to a new version to finish editing it? files, timeline and unfinished edit are all stored on hard drive since early 2001, with all the original miniDV tapes still in hand

    Do you still have legacy FCP? If you not you need to find someone who will open the project in FCP6.0.6 or later. Export an XML file of the project. Use 7toX to convert it to an XML format that works with FCPX. Import the converted XML file to FCP.

  • How can I export a project on an external drive in the latest version of iMovie?

    Before the latest release of iMovie I easily managed to export a project on an external usb drive and re-import such project on a different Mac... In the latest iMovie version, however, I cannot see my drive any more..
    So, how can I export a project on an external drive in the latest version of iMovie?
    Thank you in advance

    I'm not sure this is the best way, but you could create a new iMovie Library, move your project to that Library, then close the library. Then move the Library to your USB drive. Then, on the other Mac, in iMovie open the Library.

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • How can I move my project from external hard drive to my macbook pro?

    How can I move my project from external hard drive to my macbook pro? every time I try to do some editing, the sequence is very slow, thanks in advance

    Try here...
    Setting-up a new Mac from an old one, its backups, or a PC

  • How can I share a project specific calendar I created on Entourage 2008 ?

    How can I share a project specific calendar I created on Entourage 2008 without showing my personal calendar? I created a project specific calendar using Entourage 2008 for Mac. I want to add someone that uses Outlook from a PC. We are in the same exchange network.  I have added this person in under the sharing tab, but don't see a way to invite her to view it, and it does not appear on her Outlook list of shared calendars. I was able to invite her to view my main calendar, but not the project specific one. Any suggestions?

    http://www.microsoft.com/mac/support

  • How can I import an project .imoviemobile file to imovie 10.0.6 on my mac book for further processing

    How can I import an project .imoviemobile file to imovie 10.0.6 on my mac book for further processing?

    You can't.  (http://www.macworld.com/article/2057972/imovie-for-ios-projects-no-longer-work-o n-the-mac.html)
    Geoff.

  • How can you open a project file backup if the main project won't load?

    This has only started happening in the last couple of weeks. I'm on Logic 10.0.7, OSX 10.8.5. On one particular project, it will be loading seemingly normally, then it just disappears with no crash log, nothing.
    Presumably there is some sort of corruption in the project file.
    In the old pre package days, you would just go to the project file backups folder and pick a previous one. Bingo, you have only lost a little bit of work.
    Now when I show package contents, the project file backups folder has project data files that won't open logic, and are invisible until you have logic open. Which I can't do.
    Rue the day I selected the package option rather than folder.
    Any suggestions?
    Or to put the question another way, how can I convert the project data in the project file backups folder to a file that Logic can recognise and open?

    Having his install the trial is the way to go. Working between AI versions is a pain and as you are finding out almost impossible with 5 versions between the collaborators.

  • How can I execute a Procedure with OUT variable is %ROWTYPE on SQL Prompt

    Hi,
    I have a procedure with OUT variable is %ROWTYPE
    How can I execute the following procedure on SQL prompt.
    (without creating anonymous block)
    CREATE OR REPLACE PROCEDURE zz_sp_EMP(VEMPNO IN EMP.EMPNO%TYPE,
    V_REC IN OUT EMP%ROWTYPE)
    AS
    BEGIN
    SELECT * INTO V_REC FROM EMP WHERE EMPNO = VEMPNO;
    END;
    Thanks & Regards,
    Naresh

    as previous posters said: it's not possible to do this without declaring a variable in the anonymous block.
    With anonymous block it would look like this (had to change it a bit, since i'm using hr-schema on oracle XE):
    declare
    l_rec EMPLOYEES%ROWTYPE;
    begin
    zz_sp_EMP(VEMPNO => 100, V_REC => l_rec);
    DBMS_OUTPUT.PUT_LINE ( 'first_name = ' || l_rec.first_name );
    DBMS_OUTPUT.PUT_LINE ( 'last_name = ' || l_rec.last_name );
    end;
    first_name = Steven
    last_name = King

  • How can i execute vb scripts in java program

    hi
    how can i execute any batch files or any other exe files (vb scripts) from java programs
    thanks

    Hi,
    You use Runtime.exec to execute commands / exe-files. See the documentation (and remember that it will only work on windows):
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    /Kaj

  • How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?

    Hi 
    I have a stored procedure. It can be executed like this
    exec test @p = 1;
    exec test @p = 2
    exec test @p = n;
    n can be hundred.
    I want the sp being executed in parallel, not sequence. It means the 3 examples above can be run at the same time.
    If I know the number in advance, say 3, I can create 3 different Execution SQL Tasks. They can be run in parallel.
    However, the n is not static. It is coming from a table. 
    How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
    I think about using script task. In the script, I get the value of n, and the list of p, from the table, then running a loop with. In the loop, I create a threat and in the threat, I execute the sp like : exec test @p = p. So the exec test may
    be run parallel. But I am not sure if it works.
    Any idea is really appreciated.

    Hi nam_man,
    According to your description, you want to call stored procedures in parallel, right?
    In SSIS, we can create separate jobs with different stored procedures, then set the same schedule to kick the jobs off at the same time. In this way, we should be careful to monitor blocking and deadlocking depending on what the jobs are doing.
    We can also put all stored procedures in SSIS Sequence container, then they will be run in parallel.
    For more information about SSIS job and Sequence container, please refer to the following documents:
    http://www.mssqltips.com/sqlservertutorial/220/scheduling-ssis-packages-with-sql-server-agent/
    https://msdn.microsoft.com/en-us/library/ms139855(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How can I execute program after using F4_Filename function?

    Hi all,
    I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
    This is simple program for example:
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    f_name = p_file.
    write:/ f_name.
    This program works correctly. There is a field for parameter. I can change the default name for a file.
    After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
    Now I added a function F4_Filename
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                program_name  = syst-repid
                dynpro_number = syst-dynnr
                field_name    = 'p_file'
           importing
                file_name     = p_file.
    f_name = p_file.
    write:/ f_name.
    I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
    What do I do wrong?
    Could anyone suggest me a solution? How can I executed the code after using this function?
    Thanks in advance.
    Regards,
    Arek.

    Hi arkadiusz,
    1. simple
    2.
    <b>start-of-selection.</b>
    f_name = p_file.
    write:/ f_name.
    regards,
    amit m.

Maybe you are looking for

  • I have made a swirl, but the allign stroke inside, and allign stroke outside are greyed out. Why? And how can I fix it?

    I have made a swirl, but the allign stroke inside, and allign stroke outside are greyed out. Why? And how can I fix it?

  • Material Master Data Reporting with SAP BW?

    Hello, I have a question regarding the use of a SAP BW System. Do you guys think SAP BW is a appropriate System for modelling and analysing Queries for the Material master data of the R/3 System. Focus:           Material master data Bill of Material

  • Kid Proofing OS X (Part Two, Dock tweaking)

    I mentioned yesterday that the little kids have their own Macs. I am trying to move them to a newer shared machine. My wife and I each have our own (unprotected) login on the adult machine. Naturally the kids are frequently interested in messing with

  • Issue with Messages

    Hello. My issue is that when I use my iPhone to text, I do not see replies from certain contacts (these are all iMessages), even though I can see these replies when using Messages on my MacBook. As in, if I look at Messages through the MacBook and re

  • S60 3rd Edition MIDP + Netbeans 5.5 + Mobility CLDC !URGENT!

    My Environment       Device: Nokia E61        SDK: S60 3.0 MIDP SDK (S60 3rd Ed MIDP)        Java: javac 1.5.0_12        OS: Microsoft Windows XP Professional [Version 5.1.2600]/ Service Pack 2        Computer: AMD Athlon 64bit CPU 3200+ 2.1GHz, 1.00