Discussion Board

Results 1 to 2 of 2

Thread: please help me

  1. #1
    Regular Contributor
    Join Date
    Mar 2003

    please help me

    Hi all,

    I'm new to the personal java application environment. I havewritten a small Hello application, but when i tried to run the Hello example it is giving KERN-EXEC reason 3.what might be the problem . Here i'm pasting the code snippet and the sequence of steps I followed.

    import java.awt.*;
    import java.awt.event.*;
    public class Hello extends Frame implements ActionListener

    public static void main(String[] args)
    Hello hi = new Hello();

    Label lab = new Label("Hello world");
    Button but = new Button("Dismiss");
    Button play = new Button("play");
    addWindowListener(new Goodbye());
    setLayout(new GridLayout(2, 1, 10, 10));

    public void actionPerformed(ActionEvent e)
    Runtime r=Runtime.getRuntime();
    try {
    Process p=r.exec("sound.au"); // i studid some where that it will invoke the native audio player when we call like this
    }catch(Exception ee)
    private class Goodbye extends WindowAdapter
    public void windowClosing(WindowEvent e)

    steps followed

    1) Installed the nokia 9200 pjava SDk.
    2) mapped the _epoc_drive_j to D:\Symbian\6.0\NokiaJava\erj\
    3) created a folder Hello and copied the Hello.java program that is attached with the mail in to that.
    4) compiled the classes with javac - target 1.1 Hello.java. this created three class files.
    5) created a jar file.
    6) run the application with the command
    >D:\Symbian\6.0\NokiaJava\Epoc32\Release\wins\urel\pjava -cp j:\Hello\Hello.jar Hello

    emulator is lanched but it is showing extras desktop. but not my application. what might be the problem. please help me.

    thanks in advance,

    Sridhar Reddy,

  2. #2
    Registered User
    Join Date
    Apr 2003

    JavaRun00 KERN-EXEC Reason Number3

    Same here

    When i try to run the CBADemo program or my own CBA program
    in the Emulator i get the following message: Aplication closed

    Application: JavaRun00
    Reason Code KERN-EXEC
    Reason Number 3

    Any ideas or suggestions are welcome...
    please i am stucked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts