Trying to create and run my first class

I am creating a simple class that should create a basic looking calculator type UI.
When I try to build the program it builds successfully.
However I get some null pointer exeption messages, and the GUI never appears.
I am hoping that my problem is something simple.
Any advice is appreciated.
This is the class file:
It will be followed by the main file.
* CalculatorInterface.java
* Created on: October 2, 2006, 10:43 AM
* By: @author Administrator
* Purpose: To create a Calculator GUI
package Calculator;
import java.text.*;
import java.util.*;
import javax.swing.*;
import java.awt.*;
public class CalculatorInterface extends JFrame{
    private static final int WIDTH = 400;   //the width of the container
    private static final int HEIGHT = 400;  //the height of the container
    private JTextField numberTextField1, numberTextField2; //declare the text fields
    private JButton addB, subtractB, multiplyB, divideB; //declare the math buttons
    private JButton exitB; //declare the exit button
    private JLabel resultLabel;//declare result label
    private JPanel numbersPanel, buttonsPanel, resultsPanel;//declare panels
    private Container pane;//declare the container
    private GridLayout grid2by2, grid1by2;//declare the grids that will format buttonsPanel and numbersPanel
    private FlowLayout flowCenter;//declare the format for results panel
    private Toolkit aToolKit;//declare toolkit object used to get screen dimensions
    private Dimension screen;//declare variable used to hold screen dimensions
    private int xPositionOfFrame;//declare variable to hold the x position of frame
    private int yPositionOfFrame;//declare variable to hold the y position of frame
    private Formatter formatter;//declare formatter object to be applied to results
    /** Creates a new instance of CalculatorInterface */
    public CalculatorInterface() {
        setTitle( "Calculator" );//set title of frame
        setSize( WIDTH, HEIGHT );//set size of frame
        //instantiate JTextField objects
        numberTextField1 = new JTextField(5);
        numberTextField2 = new JTextField(5);
        //instantiate JButton Objects
        addB        = new JButton("+");
        subtractB   = new JButton("-");
        multiplyB   = new JButton("*");
        divideB     = new JButton("/");
        pane = getContentPane(); //instantiate the pane
        //instantiate the grid layouts
        grid1by2 = new GridLayout( 1, 2 );//grid for text fields
        grid2by2 = new GridLayout( 2, 2 );//grid for math buttons
        flowCenter = new FlowLayout();//to be applied to results pane
        //create the 3 panels
        buttonsPanel = new JPanel();
        numbersPanel = new JPanel();
        resultsPanel = new JPanel();
        //set layouts for panels
        buttonsPanel.setLayout( grid2by2 );
        numbersPanel.setLayout( grid1by2 );
        resultsPanel.setLayout( flowCenter );
        //add button fields to buttons panel
        buttonsPanel.add( addB );
        buttonsPanel.add( multiplyB );
        buttonsPanel.add( subtractB );
        buttonsPanel.add( divideB );
        //add text fields to numbers panel
        numbersPanel.add( numberTextField1 );
        numbersPanel.add( numberTextField2 );
        //add result label and exit button to results panel
        resultsPanel.add( resultLabel );
        resultsPanel.add( exitB );
        //add panels to content pane
        pane.add( numbersPanel, BorderLayout.WEST );
        pane.add( buttonsPanel, BorderLayout.EAST );
        pane.add( resultsPanel, BorderLayout.SOUTH );
}This is the main file.
* Main.java
* Created: October 2, 2006, 10:41 AM
* Author: Klinton Kerber
* Purpose:To demonstrate knowledge gained in chapter 5
*  by building a calculator that can add, subtract, divide,
*  and multiply two numbers.
package Calculator;
import javax.swing.*;
public class Main {
    /** Creates a new instance of Main */
    public Main() {
     * @param args the command line arguments
    public static void main(String[] args) {
        JFrame aCalculatorGUI = new CalculatorInterface(); //create the GUI
        aCalculatorGUI.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
        aCalculatorGUI.setVisible( true );
}Thanks for the time.

You read a stack trace from bottom up to get a chrnological list of events that led to the problem.
The last line says that you were executing the main method in
the Calculator.Main class. On line 26 of the file Main.java, the
constructor of Calculator.CalculatorInterface was called (see line
above the last one). <init> stands for constructor. On line 95 of
CalculatorInterface.java, you called Container.add. As you can see,
other calls follow. They are internal to the Java libraries, therefore
not so relevant. You now know that the problem is on line 95 of
CalculatorInterface.java. Why would a library method "crash"?
Probably because you gave it a wrong parameter as explained in the
other answer.

Similar Messages

  • Trying to create an array of a class

    This is the first time ive tried to use an array so its not surprising im having trouble.
    this is my program:
    import java.util.*;
    public class studentRecordDemo
         public static void main(String[] args)
              int studNum, index;
              System.out.println("Enter the number of students you wish to record");
              Scanner keyboard = new Scanner(System.in);
              studNum = keyboard.nextInt();
              studentRecord student[] = new studentRecord[studNum];
              for (index = 0; index < studNum; index++)
              {student[index].readInput();
              student[index].writeOutput();}
    }And it lets me compile it but when i enter a number it gives me the error:
    Exception in thread "main" java.lang.NullPointerException
    at studentRecordDemo.main(studentRecordDemo.java:15)the
    So yeah im trying to create an array of the class "studentRecord" and the number is input by the user. Is there a way to make that work or would it be easier to just make the array a really high number?

    your error is in here:
    student[index].readInput();its null...
    This is the first time ive tried to use an array so
    its not surprising im having trouble.
    this is my program:
    import java.util.*;
    public class studentRecordDemo
         public static void main(String[] args)
              int studNum, index;
    System.out.println("Enter the number of students
    ts you wish to record");
              Scanner keyboard = new Scanner(System.in);
              studNum = keyboard.nextInt();
    studentRecord student[] = new
    ew studentRecord[studNum];
              for (index = 0; index < studNum; index++)
              {student[index].readInput();
              student[index].writeOutput();}
    }And it lets me compile it but when i enter a number
    it gives me the error:
    Exception in thread "main"
    java.lang.NullPointerException
    at
    studentRecordDemo.main(studentRecordDemo.java:15)the
    So yeah im trying to create an array of the class
    "studentRecord" and the number is input by the user.
    Is there a way to make that work or would it be
    easier to just make the array a really high number?

  • Re: How do you create and use "common" type classes?

    Hi,
    You have 2 potential solutions in your case :
    1- Sub-class TextNullable class of Framework and add your methods in the
    sub-class.
    This is the way Domain class work. Only Nullable classes are sub-classable.
    This is usefull for Data Dictionary.
    The code will be located in any partition that uses or references the supplier
    plan.
    2- Put your add on code on a specific class and instanciate it in your user
    classes (client or server).
    You could also use interface for a better conception if needed. The code will
    also be in any partition that uses or references the supplier plan where your
    add on class is located.
    If you don't want that code to be on each partition, you could use libraries :
    configure as library the utility plan where is your add-on class.
    You can find an example of the second case (using a QuickSort class,
    GenericArray add-on) with the "QuickSort & List" sample on my personal site
    http://perso.club-internet.fr/dnguyen/
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Robinson, Richard a &eacute;crit:
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Richard,
    Your question about "utility classes" brings up a number of issues, all of
    which are important to long-term success with Forte.
    There is no such thing as a static method (method that is associated with a
    class but without an implicit object reference - this/self/me "pointer") in
    TOOL, nor is there such thing as a global method (method not associated
    with a class at all). This is in contrast to C++, which has both, and
    Java, which has static methods, but not global classes. Frequently, Forte
    developers will write code like this:
    result, num : double;
    // get initial value for num....
    tmpDoubleData : DoubleData = new;
    tmpDoubleData.DoubleValue = num;
    result = tmpDoubleData.Sqrt().DoubleValue;
    tmpDoubleData = NIL; // send a hint to the garbage collector
    in places where a C++ programmer would write:
    double result, num;
    // get initial value for num....
    result = Math::Sqrt(num);
    or a Java programmer would write:
    double result, num;
    // get initial value for num....
    result = Math.sqrt(num);
    The result of this is that you end up allocating an extra object now and
    then. In practice, this is not a big deal memory-wise. If you have a
    server that is getting a lot of hits, or if you are doing some intense
    processing, then you could pre-allocate and reuse the data object. Note
    that optimization has its own issues, so you should start by allocating
    only when you need the object.
    If you are looking for a StringUtil class, then you will want to use an
    instance of TextData or TextNullable. If you are looking to add methods,
    you could subclass from TextNullable, and add methods. Note that you will
    still have to instantiate an object and call methods on that object.
    The next issue you raise is where the object resides. As long as you do
    not have an anchored object, you will always have a copy of an object on a
    partition. If you do not pass the object in a call to another partition,
    the object never leaves. If you pass the object to another partition, then
    the other partition will have its own copy of the object. This means that
    the client and the server will have their own copies, which is the effect
    you are looking for.
    Some developers new to Forte will try to get around the lack of global
    methods in TOOL by creating a user-visible service object and then calling
    methods on it. If you have a general utility, like string handling, this
    is a bad idea, since a service object can reside only on a single
    partition.
    Summary:
    * You may find everything you want in TextData.
    * Unless you anchor the object, the instance will reside where you
    intuitively expect it.
    * To patch over the lack of static methods in TOOL, simply allocate an
    instance when required.
    Feel free to email me if you have more questions on this.
    At the bottom of each message that goes through the mailing list server,
    the address for the list archive is printed:
    http://pinehurst.sageit.com/listarchive/.
    Good Luck,
    CSB
    -----Original Message-----
    From: Robinson, Richard
    Sent: Tuesday, March 02, 1999 5:44 PM
    To: '[email protected]'
    Subject: How do you create and use "common" type classes?
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance

  • How can I compile and run other java classes from within an application?

    Hello there everyone! I really hope that someone can help me. I am writing a program that must be able to compile and run other java classes that are in different files, much like development environments like Kawa or Forte allow you to do.
    There has to be a way of doing this ( I hope!! ), but i can't seem to find it!!
    I have tried using this command to compile:
    Runtime.getRuntime().exec ("c:\\programs\\javac className.java");
    ...and this one to run:
    Runtime.getRuntime().exec ("c:\\programs\\java className");
    ...but neither works!!! I can compile and run classes that are in the same file as my application, but I can't get it to work at all for files in different directories or files.
    PLEASE, PLEASE, PLEASE help me - i've run out of ideas, and i need this to be working in 3 days!!!
    Thank you very much for any help anyone can give me, I really appreciate it!! Thanks again!!
    Adrian ( ...in distress!! )

    public class JavaCompiler{
       public static void main(String[] args)throws Exception{ //sorry bout the laziness
          if(args == null || args.length != 1){
             System.out.println("Usage: java JavaCompiler MyClass.java");
             System.exit(0);
          String className = args[0];
          Runtime rt = Runtime.getRuntime();
          Process p = rt.exec("javac " + className); //consider setting cpath for this
          p.waitFor();
          //now try to run after it is done.
          p = rt.exec("java " + className.substring(0, (className.length() - ".java".length()));
          p.waitFor();
          //do some other stuff
    }This should get you going. You may consider looking into the System.getProperty() method in order to determine the type of OS it is running on in order to findo out what command to run. I know that the sun tool listed above is nice, but by my understanding the sun tools provided are not guaranteed to stay the same. I'm no expert on this matter, but that is one of the reasons there is no API documentation for those tools. Also, I don't believe those tools come packaged with the JRE. (Of course if you are making an IDE it will be expected that the user has an sdk installed. Good luck with figuring this thing out.

  • Error 1856 yeah tried re-install and running as admin still have that error

    yeah tried re-install and running as admin still have that error any Ideas?

    Good start.
    Only two things I did differently. I used a new admin account. I opened a .mov file freshly downloaded from Apple's web site.
    Log into a different account with admin privileges (create a new one if necessary)
    Download a .mov file and store it on the hard drive.
    Open the .mov file.
    Move that same file to a temp folder on hard drive and assign rights to problem user.
    Log off and log in as the troubled user.
    That same file should now open
    Try opening one of the files that could not open before.
    If that doesn't work,  (I didn't do this, it was on another Apple support forum post elsewhere)
    Fully uninstall QuickTime
    Download the K-lite Codec pack (I downloaded the full version here http://www.free-codecs.com/Klite_codec_packdownload.htm)
    Install it and accept its changes it will make
    Once K-lite is installed, now you can re-install QuickTime
    Try opening the file again
    G'luck.

  • Script set to auto apply Retention policy to all new mailbox created and run everyday

      Script to set auto apply Retention policy to all new mailbox created and run everyday on Exchange 2007 , 2010 , and 2013.
     Could you please help me with the script will rename the policy name please help me with script..
     Thanks,
     Chandu

    Hi Chandu,
    Have you find the solution finally? Have you tried Pavan's suggestion?
    Sorry for my lacking of code and script. If your requirement still haven't been achieved, I suggest we can ask a question in Exchange Development forum and Script Center for more professional suggestion:
    Microsoft Exchange Development forum
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
    Script Center
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Regards,
    Winnie Liang
    TechNet Community Support

  • I have tried to install and run Captivate 4 but it tell me I have this product installed on 2 other computers. I do not have this installed on any other computers.

    I have tried to install and run Captivate 4 but it tell me I have this product installed on 2 other computers. I do not have this installed on any other computers.
    How do I solve this issue so I can use the Captivate software?

    - You can only sync with one iTune library but you can manually music music and vides with different computers. To do so go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing>Sync your device manually and follow the instructions.
    - To get iTunes to see the iPod:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X

  • How to Programmatically Create and Activate an ABAP Class

    Hi,
    I have a requirement to programmatically create and activate an ABAP class that implements a 'pre-defined' interface.
    Do you have any ideas how this can be done?
    Thanks,
    Shreevathsa S

    Hi,
       Try if GENRATE SUBROUTINE POOL keyword can be of your help.
    See the below example,
    DATA itab  TYPE TABLE OF string.
    DATA prog  TYPE string.
    DATA class TYPE string.
    APPEND `program.`                     TO itab.
    APPEND `class main definition.`       TO itab.
    APPEND `  public section.`            TO itab.
    APPEND `    class-methods meth.`      TO itab.
    APPEND `endclass.`                    TO itab.
    APPEND `class main implementation.`   TO itab.
    APPEND `  method meth.`               TO itab.
    APPEND `    message 'Test' type 'I'.` TO itab.
    APPEND `  endmethod.`                 TO itab.
    APPEND `endclass.`                    TO itab.
    GENERATE SUBROUTINE POOL itab NAME prog.
    CONCATENATE `\PROGRAM=` prog `\CLASS=MAIN` INTO class.
    CALL METHOD (class)=>meth.
    Regards,
    Sesh

  • HT5622 Why does my credit car decline when I'm trying to review my credit card details? I'm trying to creat and finish  my apple login but it keeps saying declined. Does Apple charge credit cards just for registering a credit card??

    Why does my credit car decline when I'm trying to review my credit card details? I'm trying to creat and finish  my apple login but it keeps saying declined. Does Apple charge credit cards just for registering a credit card??

    Just to add to AnaMusic's list:
    Does Apple charge credit cards just for registering a credit card??
    Yes, Apple will validate the credit card, when you are setting up the account information for an Apple ID. The credit card must be valid in the country of the store, that you are trying to buy from. And the card you are using must neither be blocked by the issuer of the card nor by the Apple for store services.
    The error message  you are citing is misleading: The error message could either mean
    that you are using the wrong type of card (Are you using a debit card or a credit card?)
    that the AppeID or the credit card you are using has been blocked for security reasons,
    or that you are encountering a store error, because you are trying to use the iTunes Store or AppStore from a country, where it is not yet supported.

  • How to create and run Forms?

    Hi!
    I have install WebLogic server and Oracle Forms. WebLogic is running...
    What must I do now to be able to create some simple form and run it?

    Oracle Forms Builder is in Oracle Developer Suite 10g ( http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/index.html --> first in the "What's included")?
    -----EDIT----
    Ok. Now I know Oracle Forms Builder is in "Portal, Forms, Reports and Discoverer" package available from http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    I have already install that. May one tell me the name of the Oracle Forms Builder executable? (on Linux)

  • Creating and running JARs from Java programs

    OK, I have been googling and searching, but this is something I cannot work out, so I raelly need some help.
    Basically, I am building a GUI app that would generate, compile and run java programs. And I also want to enable the users to create JARs they can later double-click if they want to run the program.
    I am using Runtime to compile programs and it works just fine. When I click on a button to create a JAR, my application creates one, but when I double-click on it, it can't find main and it exits. Now that is not so much unusual, but I am positive that my manifest file is OK, because when I run the same command from the command line, then I can click on the JAR file to run it.
    So what is the deal here? I mean, why would a JAR file created from the command line run and the one created through a GUI app using the very same command could not find main?
    Any help would be graetly appreciated.

    again, another unanswered question.
    BTW I'l keep bumping these until I get an answer that works. I have been up 3 hours now trying to get this sorted and it's something that netbeans is supposed to do on its own!?!?!?!?!
    Hello, SUN, is there anyone there???
    No, didn't think so.

  • Trying to create and save a new site for the Bayside Beat tutorial but am having trouble

    trying to create a new site as explained by David Powers in this tutorial but I am already getting hung up.
    It tells me to go to site and then to New Site. I do that and type in Bayside Beat on the first line. (as soon as I do that you notice a red X on the right side of Bayside Beat.)
    I'm told to Browse for my folder which is on my desktop and click ok. When I press SAVE another window pops up.
    This time it tells me another site is named Getting Started and I'm asked to enter a different name.
    Question, where is this other site that is named Getting Started? What name do I call it now!?
    So I rename the site name San Francisco and press SAVE and another window pops up.
    This time it tells me I may have further problems still...What am I suppose to do?

    Do you mean, are the contents still in the original folder  or was it transferred to a new folder?
    Does it make a difference if it’s in the original folder?
    Ralph Fujiwara
    Graphic Designer
    5 Revere Drive, Suite 206 | Northbrook, IL 60062
    Direct: 847.849.2968 | EFax: 847.897.0768
    [email protected]

  • How to create and run J2EE application client for Hello World EJB

    Hi
    I am new to NWDS EJB deployment.I have created a "Hello World" bean. But how to deploy it and run using a J2EE application client step by step.
    Also please help in the steps of the deploy tool.
    Thanks in Advance

    Hi Ananda
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/content.htm
    cheers
    Sameer

  • Trying to create and use of a packaged class....

    Hi ,
    I have created a directory and put there the generated class....
    The dir structure is as:
    C:\oracle_files\Java\Examples\
                                  class_variables
                                  common_classes
    I have set the classpath to both the two above directories....
    The ThreeBedroomHouse class which has been compiled and put into the \common_classes is as follows...:
    package common_classes;
    public class ThreeBedroomHouse
          /*private class variable*/
    The compilation(successful) was done as :
    C:\oracle_files\Java\Examples\class_variables>
    C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples\common_classes\ ThreeBedroomHouse.java
    and the ThreeBedroomHouse.class file was generated in the "C:\oracle_files\Java\Examples\common_classes" directory....
    I tried to compile the second .java file , called HomeBuilder -including a main()- with code such as:
    import common_classes.*;
    public class HomeBuilder
    {When i try to compile it....
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    I get the errors....
    package common_classes does not exist....
    Can you please pinpoint the error....?????
    Many thanks ... for your help and info....
    Sim

    I have succedded in running it.....at last!!!! However , in a manner which is not understandable to me.....
    That are the steps i 've taken.....
    [pre]C:\oracle_files\Java\Examples\class_variables>set classpath
    CLASSPATH=.;C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples ThreeBedroomHouse.java
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    HomeBuilder.java:28: cannot access ThreeBedroomHouse
    bad class file: .\ThreeBedroomHouse.java
    file does not contain class ThreeBedroomHouse
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    ThreeBedroomHouse myHouse=new ThreeBedroomHouse();
    *^
    1 error
    C:\oracle_files\Java\Examples\class_variables>set classpath=C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    Exception in thread "main" java.lang.NoClassDefFoundError: HomeBuilder
    C:\oracle_files\Java\Examples\class_variables>set classpath=.,C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    Exception in thread "main" java.lang.NoClassDefFoundError: HomeBuilder
    C:\oracle_files\Java\Examples\class_variables>set classpath=.;C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    3
    3
    4
    4
    C:\oracle_files\Java\Examples\class_variables>The above in bold are the 'critical' points in the whole procedure.....
    First of all , i have deleted the ThreeBedroom.class file generated and i have compiled as such
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples ThreeBedroomHouse.java
    Then , i have realized that i have made a mistake at setting the classpath ..... I have seperated the two entries ('.' and <directory path>) with a comma instead of a semicolon ';'.....
    But something i cannot understand is......
    when i have set the classpath as : CLASSPATH=.;C:\oracle_files\Java\Examples the compilation of the HomeBuilder.java is unsuccessful ....
    I have to set the CLASSPATH as CLASSPATH=C:\oracle_files\Java\Examples
    without the 'characters' *.;* to have it compiled successfully......
    Afterwards... if i try to execute the compiled .class file with the current classpath ... the java exe file produces error again.....
    I have to set it at its previous setting in order to run it successfully.....
    All this description is shown above......
    Can you please explain this 'strange(????) behavior'....?????
    Many thanks...
    Sim

  • I'm trying to download and run Firefox but keep getting an "error creating directory" message. C:\Program Files\Mozilla Firefox\res\dtd What do I need to do to fix this?

    It shows under the message, the following:
    C:\Program Files\Mozilla Firefox\res\dtd
    What do I need to do to fix this?

    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

Maybe you are looking for

  • Proxies in XI

    Hi Experts Can anyone provide me some information on when and how to use proxies with XI. Waiting for your replies. Nalin

  • Delete hash value row in Bex report output

    Hi All, Can anybody suggest how can i remove hash value(not assigned) row in Bex report out put. my report looks like this: rows project position   (hierarchy)   WBS element     (hierarchy)     Order For each Project position and WBS element hierarch

  • Can electronic signatures be utilized within a "form" that I make on forms central?

    I am trying to create waivers and forms that need signatures.  Can I somehow embed or utilized electronic signatures in forms on formcentral?

  • SATA 1/2 vs. 3/4

    Hi Guys, I OC'ed my system (see below) to 240x11 with 1:1 mem/cpu, HTT 4x, 2.5-3-3-7-1T, 1.47vcore.  I couldn't get above this, despite trying looser timings, more voltage, etc., and then I read about the SATA 1/2 lock problem on the K8N Neo2.  I hav

  • Dead screen, laptop locked in Safe Mode with no HDMI driver for external monitor

    Hi, Background: This is a Windows 8 pre-loaded notebook, I have updated to 8.1 (some months ago) via the Store. I recently had the dead screen that appears quite common with HP notebooks. I connected an external monitor, notebook was fully functional