How to run the programes in NetBeans

any body know how to run the java progarm in NetBeans.
can u please guide me?
Advance in thanks

thanks for ur reply.
this is my code.
public class sample11 {
/** Creates a new instance of sample11 */
public sample11() {
public static void main(String args[])
System.out.println("nithya");
i did watever u told. but i don't have o/p. wat can i do? how to it display the o/p?

Similar Messages

  • How to run the program in back ground with out selection screen ?

    Hi,
    I want to run the program in back ground but don't have selection screen. How to run this program in back ground
    as program has no selection screen.
    Waiting for quick response.
    Best Regards,
    Padhy
    Moderator message: basic, please search for available information/documentation.
    Edited by: Thomas Zloch on Feb 21, 2011 12:43 PM

    Hi,
    Go to transaction SE38 --> Execute --> Background.
    If your program contains selection screen, you have to pass your input values as variants.

  • How to run the program  UMB_BSC_TABLE_CLEAN ?

    Hi Friends,
    I am getting a message telling inconsistency in the selection criteria while assigning the characteristic value in value fields of a measure of scorecard in SEM application. It's suggesting me to run the program "UMB_BSC_TABLE_CLEAN".
    In the selection screen of "UMB_BSC_TABLE_CLEAN" apart from field for scorecard name there are 2 bullets - one for "Clean" and another for "Repair" and a checkbox named "Check".
    Can anyone please tell me what are these selection screen options for ? Also to solve my problem how i'll run this program ?

    From the documentation of the program:
    <b>Selection</b>
    <i>Scorecard</i>: select the scorecards whose database tables are to be cleaned or repaired.
    <i>Type of Table Change</i>:
    <u>Clean Up</u>:
    Deletion of Scorecard elements that are no longer used or no longer need to be displayed
    Deletion of value fields with value field selections that do not have a SAP BW counterpart
    <u>Repair</u>
    Restoration of inconsistent value field selections
    Deletion of value fields for which the value field selections cannot be restored.
    <i>Check</i>: If you set this indicator, all inconsistent entries are listed without changing the database table(s).

  • How to run the program "RSR_GEN_DIRECT_ALL_QUERIES" in planning fuction?

    Hi all:
    How can i  run the program "RSR_GEN_DIRECT_ALL_QUERIES" in planning fuction?
    hope for your help.
    thanks.

    Hi,
    "RSR_GEN_DIRECT_ALL_QUERIES" is a report which can run in SE38.This is the report used to generate all the changes to reflect in BEx( also generate all BI queries for a info provider, or even all queries/mass generation  in the system).
    In the above , this can be assigned to variant in the process chain, which can  trigger  this  through customized planning function( Generate Button).
    Regards
    CSM Reddy

  • How to run the program with variant automatically

    Hi experts,
    I want to know how can I run the program with a variant automatically without defining any transactions or jobs. I want my program to run with a variant automatically, when I press F8.

    Try doing this way...
    First Create a Sel Screen varient, 'ZTEST123' in this case
    Report ZTEST.
    parameters:
      w_kunnr type kna1-kunnr,
      w_flag type c no-display.
    start-of-selection.
    if w_flag eq ' '.
      submit ZTEST USING SELECTION-SET 'ZTEST123' with w_flag eq 'X'.
    endif.
    end-of-selection.
      write:  w_kunnr.
    Thanks.

  • How to run the program in the applet

    I have installed the JDK 1.3 and succesfully compiled my first Java application (appropriately named HelloWorld.java). I could compile the source file also.But i am getting an error when i am trying to run the program in the applet iam getting an error as
    "start applet not initialised"
    and the program is
    * The HelloWorldApp class implements an application that
    * displays "Hello World!" to the standard output.
    public class HelloWorldApp {
    public static void main(String[] args) {
    // Display "Hello World!"
    System.out.println("Hello World!");
    so please help me out
    Thanks in advance

    Hmm... this is a console based application...
    So it won't work using an applet viewer.
    You can try coding an applet instead.
    I hope I didn't misunderstand your question.

  • How to run the Program given in JavaMail 1.4 Demos (folderlist.java)

    Hi All,
    in the distribution of JavaMail 1.4, some programs are given, i want to run folderlist.java. But i m unable to run it? Can somebody tell me how to run it?
    i tried like this:
    java folderlist -T IMAP -H email.abcdef.com -U user -P password
    java folderlist -T POP -H email.abcdef.com -U user -P password
    But it is not working giving some error like :
    Exception in thread "main" javax.mail.NoSuchProviderException: No provider for POP
    at javax.mail.Session.getProvider(Session.java:455)
    at javax.mail.Session.getStore(Session.java:530)
    at javax.mail.Session.getStore(Session.java:510)
    at folderlist.main(folderlist.java:117)

    Hi bshannon,
    I had tried with the protocol names you given, but same is the result, can u tell me i m giving only protocol, host, user, password.
    Is this sufficient to connect or i need to supply all the params like url , root, verbose, pattern, etc.
    I m getting the access to server in other programs. Since our server doesn't support imap. so i tried like this
    E:\downloads\javamail-1.4\demo>java folderlist -P pop3 -H email.abc.com -U username -P password
    Exception in thread "main" javax.mail.NoSuchProviderException: Invalid protocol: null
            at javax.mail.Session.getProvider(Session.java:431)
            at javax.mail.Session.getStore(Session.java:530)
            at javax.mail.Session.getStore(Session.java:510)
            at javax.mail.Session.getStore(Session.java:496)
            at folderlist.main(folderlist.java:119)

  • How tu run the program in background

    Hi SapAll.
    actually iam new to ABAP ,i just want to know on how i can run the particular program  in background .
    can any one explain me in steps .
    i also want to know on how to delete the particular job which has been already created in sm36 .
    will be waiting for best response.
    regards.
    Varma

    Hi
    Find the below steps to be defined.
    1. Go to SM36 -
    > Give the Program Name
    2. If you have priority defined that to in Job class
    3. Click -
    > Start Condition
    4. Select Data/Time Tab
    5. Give the Date and Time for the job execution. (If you want to certain intervale provide it)

  • How to run the program using specific classpath

    Recently I installed Javamail 1.2 and JAF1.0.1 on my NT Box and set up the classpath. I can compile my java email code by using: javac myEmail.java. But when I tried to run the code using java myEmail, it always gives the error: Exception in thread "main" java.lang.NoClassDefFoundError: myEmail.
    when I use -verbose and found that it always goes to:
    C:\Program Files\JavaSoft\JRE\1.3.1\lib\rt.jar to find classes even I use -cp option to point Javamail\mail.jar and activation.jar.
    what is wrong with it? Thank you in advance!!!!!!

    What does this have to do with JMS. I suggest that this should have been posted to the Java Programming forum where you would have gotten a quick response as this is a simple problem to diagnose.
    The problem is that the class myEmail, which you created, is not on the class path so it cannot find it. It has nothing to do with the location of mail.jar and activation.jar, although this may cause problems later.
    What you need to do is check the classpath in the environment variables section of the System dialog box. Make sure it refers to . (the current directory) as well as the locations of mail.jar and activation.jar. Also when you invoke myEmail ensure you are in the same directory.
    Hope this helps

  • How to run the program for specified time

    Dear Friends,
    I have a small problem, I want to run my labview program for specified amount of time, Say for example it might be 1 hour or 5 hours or 10 minutes or even milliseconds(The time will be specified by the user).
    How to write programs for this
    And I want to get the system time in an instance, how it can be achieved,
    Could you please help me?
    Regards,
    Rathan

    Hi,
    Herewith my screenshot attached. There are thre inputs thres, tempX, xValue, it is in side the while loop.'xValue' will be acquired every iteration, It will be saved through shift register and acquired to 'tempX' for the next iteration, 'thres' is a constant value. I'm doing some logic, and calculating the dvalue and convert it to a string and concatenate it with end of line character, then after writing it into a file.
    In the logic, inside of the functional logic  I'm assigning some values dValue, if the logic is true or else dvalue will be 0
    What I require is I don't want to write the dValue in to a file, if it is equal to zero. Could you please help me, how to tackle this problem?
    Thanks.
    Regards,
    Rathan   
    Attachments:
    writing except 0.GIF ‏9 KB

  • How to run the program in background job,program should run in 3 days.

    Dear Gurus,
    i have a program , that program should run approximately 3 days to get the result.
    i scheduled this program as a background job.
    how can i run sto5 t-code for this same program.
    i that case how we can trace the output.
    Experts please help me out.
    Thank u very much.
    Regards
    sudheer

    Hello Sudheer,
    The trace can be set on background jobs by using ST12 transaction. Please make sure that the trace is activated for only few minutes in production environment.
    Contact your basis team to activate trace on background job and the transaction used is ST12.
    Thanks

  • How to run the program of servlet in tomcat server

    I want to a java servelet program in Tomcat server.
    can any one guide me that how to do it.
    thanks

    Yes:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html
    Read the docs.

  • How to run the program continously...

    i want to run my java program continously... i heard that by implement the thread we can run program continously... can any body give me sample code on thread which runs continously....
    thanks alot
    kareem

    You don't really need a thread. Just write a program which doesn't exit.public class HelloWorldForever {
      public static void main(String[] args) {
        while (true) {
          System.out.println("Hello World");
    }But if you want a threadpublic class HelloWorldForeverThread {
      public static void main(String[] args) {
        Thread t = new Thread(new Runnable() {
          public void run() {
            while (true) { System.out.println("Hello World"); }
        t.start();
    }

  • Running the program which saves file in sap directory in background

    Hi guys,
    how to Run the program which saves file in sap directory in background? Thanks!

    Hi Mark,
    AL11 is a transaction that shows your application server something like an windows browser.
    If you want to store file in your application server then you can write a code which uploads the data in to a file on application server.And you can run your code in background also.
    Use function module :SAP_DATA_CONVERT_WRITE_FILE to write file on the application server.
    If you want to upload file manually then use TCODE :CG3Z.
    Hope this will you out.

  • I have downloaded elements to my mac and it has installed. how do I run the program?

    I have downloaded elements to my mac and it has installed. How do I run the program.

    Hi David,
    You can simply click on the application to launch it from the 'Applications' folder.

Maybe you are looking for

  • Can't download or update apps from App Store

    I'm using a MBP Retina Display with Mountain Lion. Whenever I attempt to update apps or download new ones, the sign in window pops down. I type in my log in information and the window goes back up, just to come back down again. It doesn't stop no mat

  • Webpage links randomly not working in Safari 7.0.1

    Running Safari 7.0.1 on 2009 MacBook Pro running Mavericks 10.9.1. Am having random issues with webpage links not being active/working. Also had the issue on Mountain Lion/Safari prior to the OS upgrade. Anyone else having this problem or any recomme

  • How to increase the performance of Applet loading in IE ?

    Hi All, I have a Applet named "editlivejava.jar" which is around 2.17 mb in Size, when ever i opened the browser for render the applet it is taking time to load. Is there any way to increase the perfornamce. I heard that it should be some thing relat

  • Weblogic Portal 10.3.6 Implementing Fork

    We are having a requirement of implementing multiple portlets running parallel to improve the performance. But, there are some inter-dependencies between 'some' of the portlets. We tried implementing FORK for the portlets in order to execute the port

  • Word Doc to PDF

    Hi friends Can any one tell me how i can convert a word doc to pdf using java. My actual problem is I need to convert doc to pdf without the user interaction. Here iam creating doc from xml and xsl and the i need to make the copy of word doc in pdf.