This program is not excuting proparly

hi,
Can any one tell why this program is not excuting proparly
public class A {
    /** Creates a new instance of a */
  int i;
  void show()
  {System.out.println(i);}
public class B extends A {
    /** Creates a new instance of a */
  int i;
  void show()
  {System.out.println(i);}
}

hi,
Can any one tell why this program is not excuting proparly
public class A {
    /** Creates a new instance of a */
  int i;
  void show()
  {System.out.println(i);}
public class B extends A {
    /** Creates a new instance of a */
  int i;
  void show()
  {System.out.println(i);}
}it is showing error as
class B is public,should be declared in a file named B.java

Similar Messages

  • When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. pleas

    When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. please re install of repair the application and try again. I have done this and it's still not working                  

    anomaly jade,
    You only need to use the serial number during installation.
    Have you, at least seemingly, been able to install, and then you are unable to start up?
    If that is the case, you could try to reinstall using the full three step way:
    Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How can I un-install my adobe premiere Pro CC 2014, I can not do this in the normal way because this program is not in the UN-INSTALL list?

    How can I un-install my adobe premiere Pro CC 2014, I can not do this in the normal way because this program is not in the UN-INSTALL list?

    http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)

  • Elements 13 crashes - Windows message - this program is not working correctly - windows will close it.

    I bought Elements 13 4 days ago through Amazon - so far it has not run for more than 5 minutes before Windows closes it down with the message - this program is not working correctly, windows will close it. I know this is not unusual but has anyone got a solution - apart from returning  it
    with a very unfavourable review? I have tried all the suggested fixes on the Adobe help site with no result.  Elements 10 runs OK on the same machine.
    Alternatively, is there any possible way to get support from Adobe?

    juliana
    Do you have any version of Premiere Elements 13 or only Photoshop Elements 13 which comes with Elements Organizer 13?
    Let us look at the following for Elements Organizer 13....
    1. Deletion of disabling the Elements Organizer 13 setting file which is named psa.prf. In Windows 7, 8, o 8.1 64 bit, it is found in the
    path
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Elements Organizer
    13.0
    Organizer
    and in the Organizer Folder is the psa.prf file that you delete or disable by renaming it from psa.prf to psa.prfOLD.
    2. If the above gains you successful entry into the Elements Organizer 13, then you can
    a. create a new catalog
    and/or
    b. repair or optimize the current one
    See Elements Organizer 13/File Menu/Manage Catalogs/Catalog Manager.
    3. There are times that certain formats will bring the Elements Organizer down when you try to import those formats into
    it.  But, from what you wrote, your current problems do not sound media related.
    3. At your earliest opportunity, please update Elements Organizer 13 to 13.1 using its Help Menu/Updates.
    Please review and consider and then let us know the outcome.
    Thank you.
    ATR

  • I Have a silver w/Mirror doors dual 867 running OSX10.2. I try to install OS9.2.1 I get "THIS PROGRAM CAN NOT RUN ON YOUR COMPUTER" Message I need to be able to run Classic.

    I have a powermac Silver with mirror doors 867 dual processors running OSX 10.2 no problem there but I need to run Classic but when I try to install OS 9.2.1 I get a "THIS PROGRAM CAN NOT RUN ON YOUR COMPUTER" message.

    Your G4 (MDD) dual 867MHz model Mac requires the model-specific version of OS 9.2.2 which originally came with that machine. It can not use any other version of OS 9.
    The model-specific version of OS 9.2.2 can be installed using the original disk set which came with that machine; that disk set boots to OS X 10.2, but the installer on it can install OS 9.2.2 (Classic) as an option.
    There is no stand-alone install disk (such as a retail, i.e. white-label, CD) which can be used to install Classic on that model G4.

  • While Installing this error is coming This Program can not display the pag

    When I Try to Install SAP B1 8.8 on Win server 2008.
    I am receiving this message.
    This Program can not display the page
    The website is encountering Problem
    There might be a typing error in the address
    At the time of Installation which site we need to access.
    My Internet is working.
    Still i am facing this Problem please suggest me what should I do.

    HI Ram ,
    Internet is not required while Installation .
    Go through :
    Re: SAP Business Installation
    Thanks
    Ashish

  • Layout - This Program can not display the webpage

    Hi Experts,
    I am trying to create adobe forms in Webdynpro ABAP, for that I created a Webdynpro component and then view in it and created the required attributes and nodes and the pdfsource as xstring type.
    When I go to Layout tab it showing "This Program can not display the webpage" and in route element container I created an element and gave as of Interactive forms but the system is not creating any interface nor going into adobe live cycle designer.
    Is it the problem with the Live Cycle Designer or what exactly I have to do now.
    Please help me out.
    Thanks,
    Praveen

    Hi.,
    This seems that u didnt maintained host entries.,
    Click Run -> enter drivers -> goto etc folder -> double click on hosts file -> open with note pad.
    there u need to enter the host entries., like .. 192.....<server_address> <tab> <domain> <tab> <host>
    ask ur basis team., they will configure that..,
    hope this helps u.,
    reply if u need some more clarifications.,
    Thanks & Regards
    Kiran

  • When I open a pdf from email source or online it deletes my authorization and I get a message saying this program is not authorized. You need to uninstall and reinstall.

    Saying this program is not authorized. You need to uninstall it and reinstall. This is getting old. Any way to fix it?@

    This is Acrobat9 Pro. Has worked fine until very recent when this started happening.

  • SL500 " this program does not support this system"

    I've an SL500 with windows 7 64bit system. It has a fresh system installed. I've installed all the necessary drivers correctly.Now I'm not able to install the followind items with system update utility:
    Thinkpad ultranav driver for windows 7
    Thinkpad hotkey features integration driver
    Thinkpad Ultranav utility
    If I try to install manually I receive an error message " this program does not support this system".
    Solved!
    Go to Solution.

    I had the same problem with Thinkpad hotkey features integration driver Version 3.84.1500
    (and the latest version 3.84.2000)
    It is a faulty installation!
    2 Files missing.
    Solution until Lenovo fixes the installation:
    Download and extract latest version.
    Download and extract version 3.81.0100.
    Copy the files SWI32.sys and SWIX64.sys from version 3.81.0100 to the corresponding folder of the latest version.
    Start setup.exe of latest version.
    According to the file properties SWI32.sys and SWIX64.sys are used as 'System Information Detector'.
    No wonder we get the error message 'this program does not support this system'
    Lenovo, please fix it.

  • Can you please cancel my  subscription?  This program is not working for me. Thank you.

    I am not happy with this program. Please cancel my  subscription.

    Hi shann1473,
    I'm sorry that your subscription didn't meet your needs. I just looked at your account, and I'm not able to cancel it myself. Please contact Adobe Customer Support; they'll be able to take care of that quickly for you. Here is the contact information:
    Contact Customer Care.
    I apologize for the inconvenience.
    Best,
    Sara

  • Why this program can not update the datatbase?

    The database I used is MS SQL Server 2000.
    The program can run normally,but the table is not updated.
    import java.sql.*;
    public class BatchUpdate {
    public static void main(String args[]) {
    String url = "jdbc:mySubprotocol:myDataSource";
    Connection con;
    Statement stmt;
    try {
    Class.forName("myDriver.ClassName");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url, "myLogin", "myPassword");
    stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    con.setAutoCommit(false);
    stmt.addBatch("INSERT INTO COFFEES " + "VALUES('Amaretto', 49, 9.99, 0, 0)");
    stmt.addBatch("INSERT INTO COFFEES " + "VALUES('Hazelnut', 49, 9.99, 0, 0)");
    stmt.addBatch("INSERT INTO COFFEES " + "VALUES('Amaretto_decaf', 49, 10.99, 0, 0)");
    stmt.addBatch("INSERT INTO COFFEES " + "VALUES('Hazelnut_decaf', 49, 10.99, 0, 0)");
    int [] updateCounts = stmt.executeBatch();
    ResultSet uprs = stmt.executeQuery("SELECT * FROM COFFEES");
    System.out.println("Table COFFEES after insertion:");
    while (uprs.next()) {
    String name = uprs.getString("COF_NAME");
    int id = uprs.getInt("SUP_ID");
    float price = uprs.getFloat("PRICE");
    int sales = uprs.getInt("SALES");
    int total = uprs.getInt("TOTAL");
    System.out.print(name + " " + id + " " + price);
    System.out.println(" " + sales + " " + total);
    uprs.close();
    stmt.close();
    con.close();
    } catch(BatchUpdateException b) {
    System.err.println("SQLException: " + b.getMessage());
    System.err.println("SQLState: " + b.getSQLState());
    System.err.println("Message: " + b.getMessage());
    System.err.println("Vendor: " + b.getErrorCode());
    System.err.print("Update counts: ");
    int [] updateCounts = b.getUpdateCounts();
    for (int i = 0; i < updateCounts.length; i++) {
    System.err.print(updateCounts[i] + " ");
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    System.err.println("SQLState: " + ex.getSQLState());
    System.err.println("Message: " + ex.getMessage());
    System.err.println("Vendor: " + ex.getErrorCode());

    con.setAutoCommit(false);The changes are not comitted to the DB when you set autocommit to false.
    commit with
    con.commit();
    or dont set autocommit to false
    rgds

  • Can someone tell me if it is safe to install thunderbird are will it go overtop of my other mail do not no whether to install this program or not I do not want it to overrrite my other program with the postage stamp on the dock

    Can someone please tell me if it is safe to install thunderbird are will it overite my other mail the postage stamp on my dock i am just knew to apple computer and this is so confusing i guess until i get used to it

    Mail.app is one app and Thunderbird is an entirely distinct app.  It has nothing in common with Mail.app other than it being just another mail program.  It also won't just automatically replace your existing mail program.  Just like mail.app you need to configure it's preferences for the desired mail server, account(s), etc.
    I've never used Thunderbird but if it's a halfway civilized mail program then it should also give you the choice of leaving the mail on your server.  So you could test it out without removing the mail on your server and Mail.app should be none the wiser.

  • Since the most recent update (as of 7-24-10), Firefox will not load and clicking anywhere on the page brings up a "This Program is Not Responding" notice.

    I've tried removing and re-adding Firefox to McAfee's program permissions. I've tried uninstalling and reinstalling Firefox. Neither solved the problem.
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    Are there any notification icons on the left end of the address bar? If so, please click them to see whether they related to security issues (such as blocked content - shield icon: [[How does content that isn't secure affect my safety?]]) or a plugin requiring permission (Lego-like icon).
    Does Think Central have any help pages about this issue? Without an account, it is difficult to explore the issue first-hand.

  • This program is well compiled but does not work.

    I would like to know why this program does not work properly:
    the idea is :
    1. the user introduces a text as a string
    2.the progam creates a file (with a FileOutputStream)
    3. then this file is encripted according to DES (using JCE, cipheroutputStream)
    4.the new filw is an encripte file, whose content is introduced in a string (with a FileInputStream)
    (gives no probles of compilation!!)
    (don know why it does not work)
    here goes the code:
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.io.*;
    import java.security.*;
    import javax.crypto.*;
    public class cuadro extends Applet{
         private TextArea area1 =new TextArea(5,50);
         private TextArea area2 =new TextArea(5,50);
         private Button encriptar=new Button("encriptar");
         private Button decriptar=new Button("decriptar");
         public cuadro(){
              layoutApplet();
              encriptar.addActionListener(new ButtonHandler());
              decriptar.addActionListener(new ButtonHandler());
              resize(400,400);
              private void layoutApplet(){
              Panel keyPanel = new Panel();
              keyPanel.add(encriptar);
              keyPanel.add(decriptar);
              Panel textPanel = new Panel();
              Panel texto1 = new Panel();
              Panel texto2 = new Panel();
              texto1.add(new Label("               plain text"));
              texto1.add(area1);
              texto2.add(new Label("               cipher text"));
              texto2.add(area2);
              textPanel.setLayout(new GridLayout(2,1));
              textPanel.add(texto1);
              textPanel.add(texto2);
              setLayout(new BorderLayout());
              add("North", keyPanel);
              add("Center", textPanel);
              public static String encriptar(String text1){
              //generar una clave
              SecretKey clave=null;
              String text2="";
              try{
              FileOutputStream fs =new FileOutputStream ("c:/javasoft/ti.txt");
              DataOutputStream es= new DataOutputStream(fs);
                   for(int i=0;i<text1.length();++i){
                        int j=text1.charAt(i);
                        es.write(j);
                   es.close();
              }catch(IOException e){
                   System.out.println("no funciona escritura");
              }catch(SecurityException e){
                   System.out.println("el fichero existe pero es un directorio");
              try{
                   //existe archivo DESkey.ser?
                   ObjectInputStream claveFich =new ObjectInputStream(new FileInputStream ("DESKey.ser"));
                   clave = (SecretKey) claveFich.readObject();
                   claveFich.close();
              }catch(FileNotFoundException e){
                   System.out.println("creando DESkey.ser");
                   //si no, generar generar y guardar clave nueva
              try{
                   KeyGenerator claveGen = KeyGenerator.getInstance("DES");
                   clave= claveGen.generateKey();
                   ObjectOutputStream claveFich = new ObjectOutputStream(new FileOutputStream("DESKey.ser"));
                   claveFich.writeObject(clave);
                   claveFich.close();
              }catch(NoSuchAlgorithmException ex){
                   System.out.println("DES key Generator no encontrado.");
                   System.exit(0);
              }catch(IOException ex){
                   System.out.println("error al salvar la clave");
                   System.exit(0);
         }catch(Exception e){
              System.out.println("error leyendo clave");
              System.exit(0);
         //crear una cifra
         Cipher cifra = null;
         try{
              cifra= Cipher.getInstance("DES/ECB/PKCS5Padding");
              cifra.init(Cipher.ENCRYPT_MODE,clave);
         }catch(InvalidKeyException e){
              System.out.println("clave no valida");
              System.exit(0);
         }catch(Exception e){
              System.out.println("error creando cifra");
              System.exit(0);
         //leer y encriptar el archivo
         try{
              DataInputStream in = new DataInputStream(new FileInputStream("c:/javasoft/ti.txt"));
              CipherOutputStream out = new CipherOutputStream(new DataOutputStream(new FileOutputStream("c:/javasoft/t.txt")),cifra);
              int i;
              do{
                   i=in.read();
                   if(i!=-1) out.write(i);
              }while (i!=-1);
              in.close();
              out.close();
         }catch(IOException e){
              System.out.println("error en lectura y encriptacion");
              System.exit(0);
         try{
              FileInputStream fe=new FileInputStream("c:/javasoft/t.txt");
              DataInputStream le =new DataInputStream(fe);
                   int i;
                   char c;
                   do{
                        i=le.read();
                        c= (char)i;
                        if(i!=-1){
                        text2 += text2.valueOf(c);
                   }while(i!=-1);
                        le.close();
              /*}catch(FileNotFoundException e){
                   System.out.println("fichero no encontrado");
                   System.exit(0);
              }catch(ClassNotFoundException e){
                   System.out.println("clase no encontrada");
                   System.exit(0);
              */}catch(IOException e){
                   System.out.println("error e/s");
                   System.exit(0);
              return text2;
         class ButtonHandler implements ActionListener{
         public void actionPerformed(ActionEvent e){
              try{
              if (e.getActionCommand().equals(encriptar.getLabel()))
                   //     area2.setText(t1)
                   area2.setText(encriptar(area1.getText()));
                   //area2.setText("escribe algo");
                   else if (e.getActionCommand().equals(decriptar.getLabel()))
                        System.out.println("esto es decriptar");
                        //area2.setText("hola");
         }catch(Exception ex){
              System.out.println("error en motor de encriptacion");
                   //else System.out.println("no coge el boton encriptado/decript");

    If you don't require your code to run as an applet, you will probably get more mileage from refactoring it to run as an application.
    As sudha_mp implied, an unsigned applet will fail on the line
    FileInputStream fe=new FileInputStream("c:/javasoft/t.txt");
    due to security restrictions. (Which, incidentally, are there for a very good reason)

  • What are the points which the migration program does not support?

    Hi,
    I have a question about migration program 'RSEC_MIGRATION'.
    As described in 'Running the Enterprise Data Warehouse',
    in 'Frequently Asked Questions - Business Intelligence in SAP NetWeaver 2004s',
    this program supports about 80% automatic migration
    according to some documents.
    What is the rest 20%?
    What doesn't this program support?
    Though it may be difficult to make a list for that
    because settings of authorization objects are various,
    I think SAP should list up as many important points
    which this program does not support as possible
    by using some examples.
    If SAP thinks of delivering such a list,
    when will it be delivered?
    Best regards,
    Kaito Hosoyamada

    Hi Kaito,
    this statement relflects the fact that a program will never be able to handle all potential complex scenarios that customers might have.
    The facts that are not completely covered by the migration assistant are:
    1.) The more complex the existing authorization concept, the more manual migration work might be necessary
    2.) Customer-exit variables for 0TCTAUTHH cannot be migrated; the respective hierarchy nodes must be assigned manually
    3.) Intensive tests are highly recommended
      Cheers
       SAP NetWeaver BI Organisation

Maybe you are looking for

  • CPU in Quicksilver 2002

    I have an Apple Quicksilver G4 and im currently using a Sonnet 1.67ghz CPU w/ 512 L2 Cache and I just ordered a Sonnet 1.0ghz CPU w/ 256 L2 and a 2mb L3. What one is better?

  • Running Oracle form 10g in web

    Dear all, What components do i need to run a form 10g on web? I have developed a form already and it runs on a browser of the machine i used to develop it. I want to run it from another machine via web, what should i do? Thanks and regards, Steve

  • MATMAS IDoc - Batch Mgmt Flag Incorrect

    I am trying to link R/3 to our manufacturing system being developed with MII.  I've created a reduced message type for material masters and am attempting to send the MATMAS message type (MATMAS01 basic IDoc type) to a MII logical system.  Everything

  • Error on compile but no errors in source code code??

    Error(284,33): illegal forward reference in the CharacterDataLatin1.java which is not part of my project.

  • Does icloud store all of my photos in case my computer crashes

    Does icloud store all of my photos in case my computer crashes?