Javah error java.lang.Object not found

Hi guys-
I'm trying to run a javah command to generate a .h file... I'm using windows2000 & jdk1.1.8... when I run the command from DOS prompt I keep getting the same eror as java.lang.Object not found: aborting.. I've checked all the classpath and it seems ok ... I have CLASSPATH=..;c:\jdk1.1.8\lib\classes.zip
Can anybody help me with this???
Thanx

Maybe try ; right click my computer ,click the advanced tab and select enviroment variables,click on classpath and then edit,check if it's correct.I had the sam problem and that seemed to fix it. :)

Similar Messages

  • Developer 10g error Java.Lang class not found

    Hi
    My application is live on static IP but when i try to access it from some systems i get the error after downloading Jinitiator
    Java.lang class not found exception:Oracle forms engine main
    is this problem of browser or something else? how can i solve
    Regards

    Hi
    My application is live on static IP but when i try
    to access it from some systems i get the error after
    downloading Jinitiator
    ava.lang class not found exception:Oracle forms
    engine main
    is this problem of browser or something else? how can
    i solve
    RegardsSee the JInitiator "Proxies" configuration tab from the control panel, try checking the "Use Browser Settings" checkbox, that does the trick sometimes.
    Tony

  • Error(23,19): method getName(java.lang.String) not found in class javax.swi

    Hi , when i try to run my program, i keep getting the error msg:
    Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
    I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
    I have tried the following:
    trying to initailise the JTextField at the start.
    Using getName works if i use it within the loop after setting the name.
    Does anybody know what i am doing wrong please?
    public class clsMember extends JPanel implements ActionListener {
        private JButton jbtnLog;
        private String surname;
        private JTextField txtItem;
        public clsMember() {
            super(new SpringLayout());
            makeInterface();
            surname = txtItem.getName("Surname").toString();
    private void makeInterface() {
         //code omitted
               for (int i = 0; i < numpairs; i++) {
                JLabel l = new JLabel(strLabels, JLabel.LEADING);
    this.add(l);
    //if the array item is salutation create a combobox
    if (strLabels[i] == "Salutation") {
    jcomSalutation = new JComboBox(strSalutation);
    jcomSalutation.setSelectedIndex(0);
    this.add(jcomSalutation);
    } else {
    txtItem = new JTextField(10);
    l.setLabelFor(txtItem);
    txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
    this.add(txtItem);
    //code omitted

    If i have a loop that creates the jtextfields such as
                    txtItem = new JTextField(10);
                    l.setLabelFor(txtItem);
                    txtItem.setName(strLabels.replaceAll(" ", ""));
    this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
    How is it possible for me to writeString surname = surnamejtextfield.getText();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Java.lang.class not found

    Hi,
    I configured scenario FILE TO JDBC, the sender channel is successful but in the receiving I am getting the error that java.lang.class not found.
    In the receiver communication channel, I gave "com.microsoft.jdbc.sqlserverdriver".
    what database connection parameters need to be given??
    Thanks,
    Satish.

    Whats your database ?
    As Suresh said, did you deploy your JDBC driver ?
    How to ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to install and configure external drivers for jdbc and jms adapters.pdf
    After configuring your communication channel, did you check the Adapter Monitor
    XI SP > 09
    http://<host>:5<sysnum>00/rwb -> Component Monitoring -> All Display -> Adapter Engine -> Adapter Monitor
    XI SP <= 09
    http://<host>:5<sysnum>00/AdapterFramework
    Oracle Driver & Connection:
    JDBC Driver: oracle.jdbc.driver.OracleDriver
    Connection: jdbc:oracle:thin:@<hostname>:<port_umber>:<database_name>
    SQL Server Driver & Connection:
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:1433;DatabaseName=<DBName>
    regards
    Shravan

  • Oracle 9i on XP Pro  error: Java Runtime Environment not Found

    I run the universal installer and get this message: Java Runtime Environment not found at c:/doc...blah blah blah...local settings/temp/OraInstall/jre/bin/jrew.exe
    I've installed Java 1.4 more than once with success, but the universal installer keeps trying to locate jrew.exe at the above location (which doesn't exist in the temp directory)
    Q: why does it look here and/or how can I fix it?
    Thanks in advance,
    -Brent

    For windows installations you are not in need to install Java prior to installing Oracle , remove all Java installed , clean registry and environment variables , restart machine then start reinstallation

  • Urgent Plz reply: java.lang.Class not found exception

    Hi All,
    I am novice to j2me, I am tryiing communicate data between client and Java server. I have given project name client and midlet class name FileViewer.java.
    It is compiling succesfully
    but when I run it , it is giving error
    Unable to create Midlet FileViewer.java
    java.lang.classnot found excetption: FileViewer.java
    at com.sun.midp.midlet.selector.commandaction(+47)
    at javax.microedition.lcdui.Display$displayaccessor.commandaction.(+152)
    at com.sun.kvem.midp.lcdui.EmulEventHandler$eventloop.run(+459)
    Here is the code
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class FileViewer extends MIDlet implements CommandListener
    private Display display; // Reference to Display object
    private TextBox tbViewer; // View file contents in a textbox
    private Command cmView; // Command to view file
    private Command cmExit; // Command to exit
    private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
    public FileViewer()
    display = Display.getDisplay(this);
    // Define commands
    cmView = new Command("View", Command.SCREEN, 2);
    cmExit = new Command("Exit", Command.EXIT, 1);
    tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
    tbViewer.addCommand(cmView);
    tbViewer.addCommand(cmExit);
    tbViewer.setCommandListener(this);
    public void startApp()
    display.setCurrent(tbViewer);
    private void viewFile() throws IOException
    HttpConnection http = null;
    InputStream iStrm = null;
    try
    // Create the connection
    http = (HttpConnection) Connector.open(url);
    // Client Request
    // 1) Send request method
    http.setRequestMethod(HttpConnection.GET);
    // 2) Send header information (this header is optional)
    http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    // 3) Send body/data - No data for this request
    // Server Response
    // 1) Get status Line
    System.out.println("Msg: " + http.getResponseMessage());
    System.out.println("Code: " + http.getResponseCode());
    // 2) Get header information
    if (http.getResponseCode() == HttpConnection.HTTP_OK)
    // 3) Get data (show the file contents)
    iStrm = http.openInputStream();
    int length = (int) http.getLength();
    if (length > 0)
    byte serverData[] = new byte[length];
    iStrm.read(serverData);
    tbViewer.setString(new String(serverData));
    Alert alTest = new Alert("Alert Test", new String(serverData), null, null);
    display.setCurrent(alTest);
    finally
    // Clean up
    if (iStrm != null)
    iStrm.close();
    if (http != null)
    http.close();
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if (c == cmView)
    try
    viewFile();
    catch (Exception e)
    System.out.println(e.toString());
    else if (c == cmExit)
    destroyApp(false);
    notifyDestroyed();
    If some body has knowledge why this error is coming plz share wiht me Its urgent .
    Thanks in advance.
    Thanx

    No, the "-g" version just means it has the debug flag turned on when they compile it.
    Your problem is CLASSPATH and how to set it properly.
    Use the -classpath option on java.exe when you run. Read the javadocs on the tools to find out how.
    %

  • Java.lang symbols not found when compiling package classes

    I have a set of classes that I have wrapped up in a package. The package name and
    directory structure follow the standard required for each. These classes contain many
    java.lang.Math functions and java.lang.Double calls.
    Am I correct in that the java.lang functions will be imported automatically? When I
    compile a class that is in the package, it looks for the Math.pow (for example)
    function in the package instead of java.lang. I have tried putting the following include
    at the top:
    include java.lang.*;and I still get the "cannot resolve symbol" error. Only when I use
    include java.lang.Math;
    include java.lang.Double;does it compile properly. Is this indicative of a problem with my classpath? It is
    currently set to look in whatever the current directory is, the directory with src.jar,
    and my dev directory that contains the package I am working on.
    Please advise! Thanks in advance!
    Rodman

    Thanks for the quick reply! I looked in the package directory and found the Math.java and
    Double.java files. I'm not sure why they were there. Thanks again!

  • Java.lang.class not found exception to .ez.EZmed.class

    error every time I try to access chat. have reloaded both the plug in and virtual machine. Nada. Can anybody help me?
    Thanks in advance

    The class "ez.EZMed" (assuming the leading dot is a typo) is simply not found in your classpath.

  • Error - "java.lang.Object" is not a valid base class for this operation

    Hi -
    Got above error when trying to create a simple java class. "No Template" is selected when create new app.
    How can this happened ?
    thanks

    What is the JDeveloper version?
    If JDeveloper version is 10.1.2, install in a directory without empty spaces in directory name.

  • Java.lang.class not found exception: com.mysql.jdbc.Driver

    Hi everyone,
    I am using Jdk 1.5.0 , Connector/J 3.1 , Mysql 4.1.8 .
    When i try to connect to mysql i got the subject mentioned error
    i had alredy copied mysql-connector-java-3.1.8-bin-g.jar full path in my class path , butstill the same error is coming.
    can any one suggest me the solution for this.
    thanks in Advance.
    bye

    No, the "-g" version just means it has the debug flag turned on when they compile it.
    Your problem is CLASSPATH and how to set it properly.
    Use the -classpath option on java.exe when you run. Read the javadocs on the tools to find out how.
    %

  • Iterator Type Reverts to java.lang.Object

    I have the following iterator implementation:
    public abstract class SomeCollection<T> {
      protected ArrayList<T> items = new ArrayList<T>();
      public Iterator<T> iterator() {
        return new Iterator<T>() {
          int currentItem = -1;
          public boolean hasNext() { ... }
          public T next() { return items.get(++currentItem);}
          public void remove() { ... }
    }However, when I try to use the iterator in the following method:
        for (someType item : someCollection) {
        }I get the error for incompatible types, where java.lang.Object is found when someType is required.
    Any idea, anyone?

    Let me try that again.
    The abstract class with the generics:
    public abstract class Foo<T> {
      protected ArrayList<T> items = new ArrayList<T>();
      public Iterator<T> iterator() {
        return new Iterator<T>() {
          int currentItem = -1;
          public boolean hasNext() { ... }
          public T next() { return items.get(++currentItem);}
          public void remove() { ... }
    }The child class:
    public class Bar extends Foo<Integer> {}The Main method:
      public static void Main( ... ) {
        Bar x = new Bar();
        for (Integer item : x) {
      }I get an error on the line with the for-statement, for having incompatible types, where java.lang.Object is found when someType is required.

  • Java Runtime Enviroment not found

    I'm trying to install Oracle 9i Database version 9.2.0 downloaded from OTN, in a Intel Pentium III, with so Linux Mandrake 8.0 with:
    glibc-2.2.2-4mdk
    binutils-2.10.1.0.2-4mdk
    gcc-2.96-0.48mdk
    jdk118_v3-glibc-2.1.3.tar.bz2 (also attempt with JDK 1.3.1_02 of Sun)
    and shared memory:
    # cat /proc/sys/kernel/shmmax
    1073741824
    but I have the following problem:
    The Oracle Universal installer it usually begins, but doesn't ask me for the path where is installed the jdk, it jumps directly to the selection of components to install, after selecting the components it produces an error "Java Runtime Enviroment not found" and end the Oracle Universal Installer.
    Somebody has some suggestion ???

    I have ran into the same problem. I did all the steps requiered by oracle. and i have tried. but when i do.
    /cdrom/runinstaller
    i get problems about about:
    /tmp/OraInstall2002-09-11_12-29-21PM/jre/bin/java :/tmp/OraInstall2002-09-11_12-29-21PM/jre/bin/java: is directory
    and i get permision denied. i have the runtime enviorement installed correctly
    any ideas on that?
    i've look and like it sais it's a directory.. so i don't know what the problem might be. i've copyed the java jre and then run the installer and it runs ok.. but then it just dies and says that the bin/java was not found.. i've tried to look for answers arround but i have not found anything on it.. anyone can help. i woulb be verry thankfull. thx in advance

  • Error: initialization error: file java\lang\Object.class not found

    when the error listed my classpath's its not the same list that is in my Windows XP environment variable list?
    I am on 9.0.3
    I am assuming I have to set some varible to my new jdk\bin directory. I reinstalled it. I have set it to use jdk 1.4 using the ojvm tool a while back.

    Please help!!
    I did change the jdev.conf file setting:
    SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
    and I still get this error:
    initiallization erro: file java/lang/Object.class not found in classpath
    I am usgin Oracle JDeveloper 10g 10.1.2 on a Mac OS X Tiger
    Could someone please help?
    thanks a bunch!!!

  • Error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.

    Hi ,
    oracle apps version : 11.5.10.2 and database version 11.2.0.2.
    OS version Solaris Sparc 64 Bit.
    We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
    error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
    Regards
    Kk

    Hi ,
    D:\Documents and Settings\800045916>java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
    Regards
    Kk

  • Jaas sample progrma in weblogic 6.1 giving the following error java.lang.SecurityException: attempting to add an object which is not an instance of java.security.Principal to a Subjec

    jaas sample progrma in weblogic 6.1 giving the following error java.lang.SecurityException:
    attempting to add an object which is not an instance of java.security.Principal
    to a Subjec
    on runnig the program during the call of method Authenticate.authenticate(env,
    subject); giving following exceptions Error: Login Exception on authenticate,
    java.lang.SecurityException: attempting to add an object which is not an instance
    of java.security.Principal to a Subjec t's Principal Set Authentication Failed:
    Unexpected Exception, javax.security.auth.login.LoginExce ption: java.lang.SecurityException:
    attempting to add an object which is not an instance of java.security.Principal
    to a Subject's Principal Set javax.security.auth.login.LoginException: javax.security.auth.login.LoginExcepti
    on: java.lang.SecurityException: attempting to add an object which is not an ins
    tance of java.security.Principal to a Subject's Principal Set at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java
    :192) at java.lang.reflect.Method.invoke(Native Method) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 25) at
    javax.security.auth.login.LoginContext$3.run(LoginContext.java:531) at java.security.AccessController.doPrivileged(Native
    Method) at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java
    :528) at javax.security.auth.login.LoginContext.login(LoginContext.java:449) at
    examples.security.jaas.SampleClient.main(SampleClient.java:96)
    1)what is the reason for this problem
    2)in weblogic document they told to edit server.policy file in webligic\lib folder
    a)what the modification is needed in this file..?

    Hi jerry
    i already got that problem solved by removing jaas.jar file
    from class path.
    i don'nt how it is working with out in classpath...?
    Jerry <[email protected]> wrote:
    Hi Nivas,
    I think that the problem you are seeing has something to do with the
    placement of jaas.jar in your classpath
    On WebLogic server, put jaas.jar in the classpath after weblogic.jar.
    I would bet that you have it placed before weblogic.jar right now.
    I don't think the exception that you're seeing right now has anything
    to do with your weblogic.policy file right now, so I think it is
    safe to not worry about it right now.
    Hope this helps,
    Joe Jerry

Maybe you are looking for

  • How to implement asynchronous mailing in SE

    Hi, I have a stand-alone application which requires to send mail as "fire and forget". I use only java SE. Can i implement it using javax.mail alone or should i go for jms. Thanks.

  • IPhoto 6.0.4 says update available, Software Update disagrees

    OK, I'm a bit confused here. I've got a fairly new Mac Pro (2.66 quad xeon). When I start iPhoto (6.0.4), it says that there is a new update available (6.0.5), but when I run Software Update, it says "Your software is up to date.". Ditto for iDVD and

  • XML Multi Camera import file is crashing in Premiere

    Hello.  I'm trying to work with an imported FCP XML file that is a multi camera edit or as FCP calls it multi clip.  I'm only using 3 cameras.  Every time I go to select any of the edits on the timeline inside of Premiere I get the following error an

  • Java Programming - Run Web Start App Through IDE Using Existing JNLP(s)

    I apologize for the cross post. I believe I mis-posted the first time. The thread belongs here. http://forums.sun.com/thread.jspa?threadID=5434826

  • Ipod shows up in windows but not on mac

    my mac cant read any windows formatted ipods (which unfortunatly happens to be all of the ones i own). it is not read in finder, or itunes. but it works perfectly fine on a windows computer. I have used it before on a mac, and it worked great, but my