Problem with running java program

Hey again!
I missed out some information in last posting.. here is the full description
I have just installed 1.5.0_06 and have set paths and what otherwise is necessary to run the java programs. I was testing the install and run a standard HelloWorld.java program
I got the following error:
Exception in thread main java.lang.NoClassDefFoundError: HelloWorld
what is wrong...
Here is the entire HelloWorld.java
public class HelloWorld
public HelloWorld()
System.out.println("Hello World");
public static void main(String[] args)
HelloWorld hw = new HelloWorld();
I have checked that the path is correct too..
Hopefully someone can help me!
Anders

Your Path is set, probably the problem is classpath.
Change the cmd/command prompt to the directory that contains your HelloWorld.class file, verifying that it exists. If it does, issue this command from that directory:
java -cp . HelloWorld
Important: include the period and surrounding spaces
If that works, you can learn about setting and using the classpath here:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#general
By the way, just add a reply to your original post with the additional information, rather than creating another post. That eliminates duplication of replies.

Similar Messages

  • Problem with running java.exe

    I am new to Java, I have windows XP PRO and have recently installed JDK 5.0 with net beans 4.0 beta 2 bundle to C:\. I have also set the PATH & CLASSPATH as follows
    PATH = C:\jdk1.5.0\bin
    CLASSPATH = .;%classpath%
    I am able to compile at the comand prompt using for example javac Fruit.java
    but when I try to run the program using java Fruit , I get the following message:
    Exception in thread "main" java.lang.NoClassDefFoundError: Fruit
    Please can some one help me where am I going wrong?

    Thakyou for the reply , but I am still having the same problem
    My .Java & .class file are in C:\MyJava
    My JDK is in C:\jdk1.5.0
    My Command Prompt is C:\MyJava
    The Only way I have managed to run my programs is, at the Command Prompt by typying
    C:\MyJava>C:\jdk1.5.0\bin\java Fruit
    But I am able to compile my programs by typing
    C:\MyJava>javac Fruit.java
    I would like to know is there any way I could run my programs by typing
    C:\MyJava>java Fruit
    My Source code is
    public class Fruit
    public static void main(String[] args)
    //Declare and initialize three variables
    int numOranges = 5;
    int numApples = 10;
    int numFruits = 0;
    numFruits = numOranges + numApples;
    System.out.println("A totally fruity program");
    System.out.println("Total fruit is " + numFruits);
    C:\MyJava>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\S Kathirkamanathan\Application Data
    CLASSPATH=.;%classpath%
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=SAYANTHA-WL3F5L
    ComSpec=C:\WINDOWS\system32\cmd.exe
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\S Kathirkamanathan
    LOGONSERVER=\\SAYANTHA-WL3F5L
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\AT
    I Technologies\ATI Control Panel;C:\Program Files\Sonic\MyDVD;C:\jdk1.5.0\bin;c:
    \jdk1.5.0\bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 3, GenuineIntel
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=0303
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\SKATHI~1\LOCALS~1\Temp
    TMP=C:\DOCUME~1\SKATHI~1\LOCALS~1\Temp
    USERDOMAIN=SAYANTHA-WL3F5L
    USERNAME=S Kathirkamanathan
    USERPROFILE=C:\Documents and Settings\S Kathirkamanathan
    windir=C:\WINDOWS
    I would be grateful for any suggestions. Thank you

  • Problem with running a program under Labview 8.6

    Hello,
    I am writing you this to ask for your technical support to fix the problem I am facing at our Lab at University of California, Irvine.
    Ms. Vanessa Trujillo has kindly come to our lab a couple of times and tried different things to resolve the issue, but unfortunately the issue is not resolved yet. Here is a summary of the problem:
    We used to use Labview 6.1 for our fatigue testing and data acquisition.
    Our
    program worked just fine under the 6.1 version We recently upgraded our software to Labview 8.6. We have also purchased a new computer that has higher capacity than what your website requires for Labview 8.6. The new computer has Windows Vista We transferred our old program/subprograms from the old computer under Labview
    6.1 to the new computer with labview 8.6. However our program that worked fine with the 6.1 version is not working with the updated version (ver 8.6).
    There
    are 6 errors in the error list. It appears there are six files of my program missing under the new version, even though we transferred all files.
    The software searches for those files but can't find them.
            For example one the box pops up indicates:
            loading:
                        <vlib>:\Daq\lvdaq.dll
            searching:
                        C:\Program Files\National Instrument\LabVIEW 8.6\instr.lib\Agilent34401\public\utility
            I get several message like this. I have to cancel/ignore them all to be able to open the program.
    When we go to VI's under Measurement I/O there is nothing (empty).
    We use a PCI-MIO-16XE-50 for our data acquisition During Labview installation on the new computer, I was asked if I wanted to install the device drivers. I had two options, "Now" or "Later", I picked Now but I didn't have the DVD's/CD's for the device drivers. Therefore I had to select later to complete my software installation Later after Labview 8.6 installation, we installed the device drivers (traditional Ni DAQ and Ni DAQmx) from the two old CD's we had in our lab from a couple of years ago (the CD's were Ni DAQ 7). after installation, the PCI board on the computer was recognized by the device driver. However we still could not run our program under the new version of Labview (same situation and the same messages) I called 1-866-275-6964 on 9/2/08 and talked to Grant (service number:
    1228841). He recommended that I download and install the updated version of device drivers.
    Since I didn't have the DVD/CD for updated device drivers, I contacted Vanessa Trujillo. She gave me the DVD for the updated Ni DAQ (Traditional and mx).
    But
    when I tried to install the updated device drivers I got a message something like "some unsupported filed have been detected,..." so the updated device
    drivers were not installed. It should be noted that up to here we still had the Ni DAQ (traditional and mx) installed on the computer from our old CD's (Ni DAQ 7).
    Vanessa and I talked to Tom at the technical support department. He recommended that we download and install the Beta xx version for Ni DAQ since we were using Windows Vista. Mike put the Beta software on the Ni website/outgoing so I could download and install it. He asked me to uninstall the traditional Ni DAQ that we had on our computer from the older CD's. He
    asked me not to un-install the Ni DAQmx (that we had installed from the old
    CD). I was able to download the Beta software, however I could not install it since I got a similar message that some unsupported files were detected.
    Right now we don't have any version of traditional Ni DAQ installed on the
    computer but the NI DAQmx (from old Ni DAQ 7) is still installed on the computer. Vanessa let me borrow her new Ni DAQ DVD but as I explained I am not able to install the device drivers.
    Vanessa - Did I miss anything?
    Please advise. My cell number is 619-778-2033. I will be at our lab at UC,
    Irvine at 2:00pm (CA/Pacific time). Please call if you have any questions.
    Thank you

    To me, it looks like you are missing some of the drivers and subVI's used in your program.
    Whatever device you are using to measure fatigue or any other device probably came with a driver.
    You need all of these drivers installed on this new computer.
    Also, any subVI's and libraries you use in the program must also be installed on the new computer.
    Whenever you get a message that says you are missing some component (the ones that you said you press 'ignore'),
    see if you can find that library or subVI on the older computer. If so, save it to something so you can transfer them to the new computer. 
    Cory K

  • Problems of running java program by crontab in Linux

    I have a java application program which runs great when started in command line, or in shell script, or Perl. However, when it is started by crontab in Linux, it stops in the middle when images are to be generated. I guess there might be some settings I need to handle in order to run this java application by crontab. We tried to start the shell script or Perl program in which the java program was invoked, but still didn't work.
    This may be a littler stretching. Does anyone have similar experience and success?
    Thanks in advance.
    ljiang006

    Dear dpz,
    We have used JComponents. Here's the error message I got. Could you further suggest what to do in my crobtap (which is "11 14 * * * java -classpath /home/VeggieB VHpack.VegHealthFrac" ). Looking forward to your reply. Thanks. ljiang006.
    Generate data and image products ...
    Save calibrated (unsmoothed) NDVI and T into Product/NDT/
    Save initial early products into Product/Initial/
    Save temporary products into Product/Tempo/
    Save final update products into Product/Final/
    Save calibrated (unsmoothed) NDVI and T into: Product/NDT/ Exception in thread "main" java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
         at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:70)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:130)
         at java.awt.Toolkit$2.run(Toolkit.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:703)
         at java.awt.Component.getToolkitImpl(Component.java:826)
         at java.awt.Component.getToolkit(Component.java:810)
         at java.awt.Component.createImage(Component.java:2564)
         at VHpack.ImageGenerator.createDataImage(ImageGenerator.java:395)
         at VHpack.ImageGenerator.makeImage(ImageGenerator.java:288)
         at VHpack.ImageGenerator.saveImage(ImageGenerator.java:162)
         at VHpack.LVItoProduct.SaveProduct(LVItoProduct.java:146)
         at VHpack.LVItoProduct.generateProducts(LVItoProduct.java:61)
         at VHpack.NoGuiVeg.<init>(NoGuiVeg.java:94)
         at VHpack.VegHealthFrac.main(VegHealthFrac.java:34)

  • Problem with a java program "the game five in a row"

    http://leepoint.net/notes-java/examples/games/five/five.html
    how to run this program and c the output

    i.arnav wrote:
    no i want it in java programming only
    plz help me how to run it if thr are any errorsI'm having a difficult time understanding your posts. THR? The Hollywood Reporter? Total Hip Replacement?The High Road (firearms forum)?

  • Problem with small java program

    need some help with a small Java assignment I am doing.
    When I compile the code i get 2 errors they are
    invalid method declaration: return type required
    public CreateRandomFile() LINE 87
    ^
    cannot resolve symbol
    new CreateRandomFile(); LINE 112
    ^
    Any help is greatly appreciated
    **********CODE BEGINS HERE ***********************
    import javax.swing.*;
    import java.io.*;
    import BreezySwing.*;
    public class RandomTest extends GBFrame
    JLabel accLabel = addLabel("Account Number",1,1,1,1);
    IntegerField accField = addIntegerField(0,1,2,1,1);
    JLabel firstLabel = addLabel("First Name",2,1,1,1);
    JTextField firstField = addTextField("",2,2,1,1);
    JLabel lastLabel = addLabel("Last Name",3,1,1,1);
    JTextField lastField = addTextField("",3,2,1,1);
    JTextArea resultArea = addTextArea("",4,1,2,3);
    JButton acceptButton = addButton("Accept",7,1,2,1);
    JButton accessButton = addButton("Access",8,1,2,1);
    JButton clearButton = addButton("Clear",9,1,2,1);
    private RandomAccessFile file;
    public void buttonClicked(JButton buttonObj)
    if (buttonObj == acceptButton)
    else
    if (buttonObj == accessButton)
    else
    accField.setNumber(0);
    resultArea.setText("");
    firstField.setText("");
    lastField.setText("");
    private void openFile()
    FileOutputStream foStream = new FileOutputStream ("acc.dat");
    ObjectOutputStream doStream = new ObjectOutputStream (foStream);
    if ("acc.dat" == null || "acc.dat".equals(""))
    System.out.println("Invalid File Name");
    else
    try{
    file = new RandomAccessFile ("acc.dat","rw");
    catch (IOException e)
    System.out.println("File does not exist or Invalid File Name");
    private Record getRecord()
    Record record = new Record();
    int accountNumber;
    try{
    accountNumber = Integer.parseInt(accField.getText());
    if (accountNumber <1 || accountNumber >100)
    System.out.println("Account doesn't exist");
    return null;
    file.seek((accountNumber -1)*Record.size());
    record.read(file);
    catch (NumberFormatException nfe)
    System.out.println("Account does not exist");
    System.out.println("Invalid Number Format");
    catch (IOException io)
    System.out.println("Error reading file");
    return record;
    public createRandomFile() // <----- ERROR HERE
    Record blank = new Record();
    openFile();
    try{
    file = new RandomAccessFile("acc.dat", "rw");
    for (int i=0;i<100;i++)
    blank.write(file);
    System.exit(0);
    catch (IOException e )
    System.out.println("File doesn't exist");
    System.out.println("Invalid File Name");
    System.exit(1);
    public static void main(String args[])
    JFrame tpo = new RandomTest();
    tpo.setTitle("Assignment 1");
    tpo.setSize(200,330);
    tpo.setVisible(true);
    new createRandomFile(); // <--- ERROR HERE
    }

    I changed the things you suggested by have a new error of
    cannot resolve symbol
    symbol : method createRandomFile ()
    location: class javax.swing.JFrame
    tpo.createRandomFile();
    ^
    **************new code here***************************
    import javax.swing.*;
    import java.io.*;
    import BreezySwing.*;
    public class RandomTest extends GBFrame
         JLabel accLabel = addLabel("Account Number",1,1,1,1);
         IntegerField accField = addIntegerField(0,1,2,1,1);
         JLabel firstLabel = addLabel("First Name",2,1,1,1);
         JTextField firstField = addTextField("",2,2,1,1);
         JLabel lastLabel = addLabel("Last Name",3,1,1,1);
         JTextField lastField = addTextField("",3,2,1,1);
    JTextArea resultArea = addTextArea("",4,1,2,3);
    JButton acceptButton = addButton("Accept",7,1,2,1);
    JButton accessButton = addButton("Access",8,1,2,1);
         JButton clearButton = addButton("Clear",9,1,2,1);
         private RandomAccessFile file;
    public void buttonClicked(JButton buttonObj)
         if (buttonObj == acceptButton)
         else
         if (buttonObj == accessButton)
         else
         accField.setNumber(0);
         resultArea.setText("");
         firstField.setText("");
         lastField.setText("");
    private void openFile()
         FileOutputStream foStream = new FileOutputStream ("acc.dat");
         ObjectOutputStream doStream = new ObjectOutputStream (foStream);
         if ("acc.dat" == null || "acc.dat".equals(""))
         System.out.println("Invalid File Name");
         else
         try{
              file = new RandomAccessFile ("acc.dat","rw");
         catch (IOException e)
              System.out.println("File does not exist or Invalid File Name");
    private Record getRecord()
         Record record = new Record();
         int accountNumber;
         try{
              accountNumber = Integer.parseInt(accField.getText());
         if (accountNumber <1 || accountNumber >100)
              System.out.println("Account doesn't exist");
              return null;
         file.seek((accountNumber -1)*Record.size());
         record.read(file);
         catch (NumberFormatException nfe)
         System.out.println("Account does not exist");
         System.out.println("Invalid Number Format");
         catch (IOException io)
              System.out.println("Error reading file");
    return record;
    public void createRandomFile()
    Record blank = new Record();
    openFile();
    try{
         file = new RandomAccessFile("acc.dat", "rw");
         for (int i=0;i<100;i++)
         blank.write(file);
         System.exit(0);
    catch (IOException e )
         System.out.println("File doesn't exist");
         System.out.println("Invalid File Name");
         System.exit(1);     
    public static void main(String args[])
    JFrame tpo = new RandomTest();
    tpo.setTitle("Assignment 1");
    tpo.setSize(200,330);
    tpo.setVisible(true);
    tpo.createRandomFile();
    }     

  • Can't run java program with GUI

    My computer can run java program properly.
    However, for those program with GUI (using swing),
    my computer is unable to display the GUI.
    What's wrong with it? Is there any PATH I need to set before running GUI program?
    Thanks
    icedgold

    Cut, copy, paste then compile and run this;-import java.awt.*;
    import javax.swing.*;
    public class MyJFrame extends JFrame {
      public MyJFrame() {
          super("My first JFrame");
          Container c  = getContentPane();
          JPanel panel = new JPanel();
          panel.setBackground(Color.white);//  (new Color(255, 255, 255));
          JLabel jl = new JLabel("Yes it works");
          panel.add(jl);     
          c.add(panel);
      public static void main(String[] args) {
        MyJFrame frame = new MyJFrame();
        frame.setSize(180,120);
        frame.setLocation(200, 300);
        frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
        frame.setVisible(true);
    }

  • I ve a problem with running the javabeans

    dear all
    i ve a problem with running javabean in forms 9i all codes, program units are correct. i think there is something with classpath which i dont where to put the path of bean jar files. however the simple code for the Colorpicker and keyFilter dont work when clicking the button to fire the trigger to bring the bean up.
    thank you
    Walaa eddien

    Walaa,
    Make sure you've entered the implementation class (do not append the class extension). For example, if you have a class example.class in the package otn.oracle.forum, the implementation class should be: otn.oracle.forum.example
    Make sure you place the containing java archive in <OH>/forms90/java and do not forget to update the configuration section (default or app specific) parameter archive_jini accordingly.
    Jeroen van Schaijk

  • Cannot run java program after archive and install

    Hi,
    I am new to this forum and appreciate the help and advice given here.
    Yesterday, I did an archive and install on my system which install 10.4.3. Afterwards, I installed X11 and did the software updates which brought my system back to 10.4.8. It also installed Java 1.3.1, 1.4.2, and 1.5 (J2SE5).
    Prior to the archive and install, I had no problems executing a java program either in the command line in an X11 window or using Eclipse. However, when I try now I get the exception message "Exception in thread "main" java.lang.NoClassDefFoundError:". I checked my CLASSPATH and it's not the problem. I am able to compile, and execute the javadoc command. If I type java -version I get
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
    Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
    Under Eclipse, I am able to see the Java versions under Preferences - Java - Installed JREs but if I go to the Run -> Run As menu, I see (none applicable).
    Thanks for any suggestions to fix this.
    James
    Dual 867MHz G4   Mac OS X (10.4.8)  

    I resolved the issue. I reinstalled XCode and had an issue with one of the files I was testing.

  • Problems  with running Java3D

    Hello,
    I can't run java-programs, which contains java3D objects. I can compile the programm, but I can't run the program. My program should create a new frame and show inside a cube. But it only open a frame and show me a black background, that's all. Furthermore I get the following error:
    *** ERROR: Canvas3D constructed with a null GraphicsConfiguration
    *** This will cause a NullPointerException in a subsequent release
    Can anybody help me?
    Thanks!

    Hello,
    I have the same problem and get an other error message
    Exception in thread "main" java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
    at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1093)
    at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1058)
    at Static3DWorld.createCanvas3D(Static3DWorld.java:27)
    at Static3DWorld.<init>(Static3DWorld.java:17)
    at Static3DWorld.main(Static3DWorld.java:60)
    Sun JDK 1.4.2 and Blackdown Java3D 1.3
    Any idea?

  • Problems with running Applet through HTML

    I am currently having problems with running my file through the HTML. For some reason when I open it in the browser it keeps saying Error. I am programming in NetBeans.
    The code I am using is:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <applet code=”CarApplet.class” codebase="RedCarApplet.jar" width=690 height=300></applet>
    </body>
    </html>

    Heres the error message, I see that it cannot find the class I have stated above. Any solutions?
    My class is in the 'build' folder but, the HTML file is in the 'src' folder. Now my applet contains a 'jar' file, do I need to add that to the HTML code?
    load: class ‚Ä?TunerApplet.class‚Ä? not found.
    java.lang.ClassNotFoundException: ‚Ä?TunerApplet.class‚Ä?
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\Users\*****\*******\NetBeansProjects\RadioApplet\src\‚Ä?TunerApplet\class‚Ä?.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: ”TunerApplet.class”

  • Vim and Eclim (Java): Run Java program in embedded terminal window

    Hello all,
    I'm trying to create a decent Vim setup for Java programming. I've installed Eclim, and it works alright. However, one annoyance I have is the way that Eclim runs Java programs. When run (via the :Java command in Vim), a Java program runs in a new shell instance pretty independent from Vim, and then when the program terminates (and Enter is pressed), the output is put into a new buffer at the bottom of the Vim window with the output.
    The problem with this is that I must press Enter to go back to Vim after the program terminates, and then the output buffer is automatically selected even though I most likely do not care to copy any of the output.
    So, this is what I would like to happen:
    - I run my Java program somehow (doesn't have to be with :Java)
    - A buffer containing the running program in a shell is put on the screen (if not already there)
    - The program terminates, and the focus did not change to the output buffer
    At the very least, I want the focus to not change to the output buffer after the program is done running.
    Any ways to at least somewhat accomplish what I'm trying to  get at?

    Trent wrote:
    Yeah? I had AP CS when they first introduced the GridWorld case study. I hope you get more out of the class than I did.
    I have never used Java except for that and my first CS class at university. I eventually realized that software (as a job) wasn't for me and took a route closer to EE. I still fight to avoid being called a programmer though
    I like the idea of programming for a job, not necessarily "software development", something computer science-y sound good to me.
    But anyway, to end on an on-topic note, I embedded gvim inside Eclipse as described here.

  • Problem with a wrapper program.

    Hi all,
    we are facing problem with a wrapper program,through which we are calling three different xml reports.
    when we independently submit these xml reports thorugh front end .
    All the three programs run successfully & gives the desired output.
    but when we run this through wrapper program.
    All ths three programs run successfully ,but don't give output,i.e. output file comes as blank.
    when I 'VIEW DETAILS" on the SRS window, the only difference between the independent program & the report through wrapper program is the 'UPON COMPLETION..'part.
    The 'UPON COMPLETION..'part. for the independent program shows the RTF Template Layout name ,while the program submitted through the wrapper program doesn't show the layout name.
    i have registered all the three reports as XML REPORTS,while the wrapper program as "package_name.procedure_name" & 'TEXT' as an output format.
    can anybody tell us , the problem??
    thanks.

    Wow, that's a lot of work. This isn't any different than PL/SQL in the real Oracle world. Parameters are named or positional. Named input uses the assignment operator of =>. Positional takes them in order per the procedure/function signature. In SQL*Plus, do a desc on fnd_request (owned by apps) and tell us what the "default" column represents.
    If you have been typing in all arguments, figure out how many times you've done that, how much time it took, multiply it by your hourly rate, and then tell your manager you owe your company that amount of money for having wasted so much time.
    function submit_request (
                     application IN varchar2 default NULL,
                     program     IN varchar2 default NULL,
                     description IN varchar2 default NULL,
                     start_time  IN varchar2 default NULL,
                     sub_request IN boolean  default FALSE,
                     argument1   IN varchar2 default CHR(0),
                     argument2   IN varchar2 default CHR(0),
                       argument3   IN varchar2 default CHR(0),
                     argument4   IN varchar2 default CHR(0),
                     argument5   IN varchar2 default CHR(0),
                     argument6   IN varchar2 default CHR(0),
                     argument7   IN varchar2 default CHR(0),
                     argument8   IN varchar2 default CHR(0),
                     argument9   IN varchar2 default CHR(0),
                     argument10  IN varchar2 default CHR(0),
                     argument11  IN varchar2 default CHR(0),
                     argument12  IN varchar2 default CHR(0),
                       argument13  IN varchar2 default CHR(0),
                     argument14  IN varchar2 default CHR(0),
                     argument15  IN varchar2 default CHR(0),
                     argument16  IN varchar2 default CHR(0),
                     argument17  IN varchar2 default CHR(0),
                     argument18  IN varchar2 default CHR(0),
                     argument19  IN varchar2 default CHR(0),
                     argument20  IN varchar2 default CHR(0),
                     argument21  IN varchar2 default CHR(0),
                     argument22  IN varchar2 default CHR(0),
                       argument23  IN varchar2 default CHR(0),
                     argument24  IN varchar2 default CHR(0),
                     argument25  IN varchar2 default CHR(0),
                     argument26  IN varchar2 default CHR(0),
                     argument27  IN varchar2 default CHR(0),
                     argument28  IN varchar2 default CHR(0),
                     argument29  IN varchar2 default CHR(0),
                     argument30  IN varchar2 default CHR(0),
                     argument31  IN varchar2 default CHR(0),
                     argument32  IN varchar2 default CHR(0),
                       argument33  IN varchar2 default CHR(0),
                     argument34  IN varchar2 default CHR(0),
                     argument35  IN varchar2 default CHR(0),
                     argument36  IN varchar2 default CHR(0),
                     argument37  IN varchar2 default CHR(0),
                       argument38  IN varchar2 default CHR(0),
                     argument39  IN varchar2 default CHR(0),
                     argument40  IN varchar2 default CHR(0),
                     argument41  IN varchar2 default CHR(0),
                       argument42  IN varchar2 default CHR(0),
                     argument43  IN varchar2 default CHR(0),
                     argument44  IN varchar2 default CHR(0),
                     argument45  IN varchar2 default CHR(0),
                     argument46  IN varchar2 default CHR(0),
                     argument47  IN varchar2 default CHR(0),
                       argument48  IN varchar2 default CHR(0),
                     argument49  IN varchar2 default CHR(0),
                     argument50  IN varchar2 default CHR(0),
                     argument51  IN varchar2 default CHR(0),
                       argument52  IN varchar2 default CHR(0),
                     argument53  IN varchar2 default CHR(0),
                     argument54  IN varchar2 default CHR(0),
                     argument55  IN varchar2 default CHR(0),
                     argument56  IN varchar2 default CHR(0),
                     argument57  IN varchar2 default CHR(0),
                     argument58  IN varchar2 default CHR(0),
                     argument59  IN varchar2 default CHR(0),
                     argument60  IN varchar2 default CHR(0),
                     argument61  IN varchar2 default CHR(0),
                     argument62  IN varchar2 default CHR(0),
                       argument63  IN varchar2 default CHR(0),
                     argument64  IN varchar2 default CHR(0),
                     argument65  IN varchar2 default CHR(0),
                     argument66  IN varchar2 default CHR(0),
                     argument67  IN varchar2 default CHR(0),
                     argument68  IN varchar2 default CHR(0),
                     argument69  IN varchar2 default CHR(0),
                     argument70  IN varchar2 default CHR(0),
                     argument71  IN varchar2 default CHR(0),
                     argument72  IN varchar2 default CHR(0),
                       argument73  IN varchar2 default CHR(0),
                     argument74  IN varchar2 default CHR(0),
                     argument75  IN varchar2 default CHR(0),
                     argument76  IN varchar2 default CHR(0),
                     argument77  IN varchar2 default CHR(0),
                     argument78  IN varchar2 default CHR(0),
                     argument79  IN varchar2 default CHR(0),
                     argument80  IN varchar2 default CHR(0),
                     argument81  IN varchar2 default CHR(0),
                     argument82  IN varchar2 default CHR(0),
                       argument83  IN varchar2 default CHR(0),
                     argument84  IN varchar2 default CHR(0),
                     argument85  IN varchar2 default CHR(0),
                     argument86  IN varchar2 default CHR(0),
                     argument87  IN varchar2 default CHR(0),
                     argument88  IN varchar2 default CHR(0),
                     argument89  IN varchar2 default CHR(0),
                     argument90  IN varchar2 default CHR(0),
                     argument91  IN varchar2 default CHR(0),
                     argument92  IN varchar2 default CHR(0),
                       argument93  IN varchar2 default CHR(0),
                     argument94  IN varchar2 default CHR(0),
                     argument95  IN varchar2 default CHR(0),
                     argument96  IN varchar2 default CHR(0),
                     argument97  IN varchar2 default CHR(0),
                     argument98  IN varchar2 default CHR(0),
                     argument99  IN varchar2 default CHR(0),
                     argument100  IN varchar2 default CHR(0))
                     return number;

  • Problem with running the midlet class (Error with Installation suite )

    hi everyone...
    i have problem with running the midlet class(BluetoothChatMIDlet.java)
    it keep showing me the same kind of error in the output pane of netbeans...
    which is:
    Installing suite from: http://127.0.0.1:49296/Chat.jad
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    i also did some research on this but due to lack of forum that discussing about this,im end up no where..
    from my research i also find out that some of the developer make a changes in class properties..
    where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
    i did that but also didnt work out..
    could any1 teach me how to fix it...
    thanx in advance... :)

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

Maybe you are looking for

  • Using ranking and sum to get top 5 products' share of total market

    Hi everybody, I have been playing around with ranking for a while now and I am stuck.. I have a crosstab where I want to show the top 5 products in a specific month. So I have month in my column and products in my rows. I applied a ranking based on r

  • Interfaces available in ECC6.0

    Where can I get the consolidated informations regarding the Interfaces avaliable in ECC6.0 for BW, EP (Enterprise Portal) and Lotus Notes. These are supposed to be Plug-ins (Addons) till SAP 4.7E. Kamlesh

  • Partner functions ys not defined

    pls tell me the solution for this error message,this messge is yellow warning message,pls send asap

  • Error message message is dislapying in wrong fragment

    Hi all , I have a jspx page . i am adding a taskflow into the jspx page as a region . On page load fragment1 will appear and i have a button in fragment1 . when i click on button on fragment1 it will navigate to fragment2 . I have a form in fragment2

  • External Script Recorder - Where can I get it.

    I have seen an external SAP GUI Scripting Sample Recorder mentioned on several of the help topics on the SDN.  With this tool, you are supposed to be able to see and interact with the script code as it is being recorded. One post had a link for downl