"con" creading  problem n compilation in Windows

when we comile the following program in windows it creates sound and does print some character
import java.io.*;
class con
double a,i,j;
int k;
con(double i)
this.i=i;
public double area(double r)
a=3.14*r*r;
return a;
void display()
System.out.println("Area= "+a);
class construc
public static void main(String args[])
con c1=new con(2.59);
double a1=c1.area(2.59);
c1.display();
On the basis of discussion the reason I found was
what I think that it is due to Compiler parsing problem.. I hope java Lexical Analyzer finds no problem in written code to be parsed and directed by instances of regular expressions in the input stream but when YAAC tries to generate subroutine it fails as it cant crate valid codes for con( and cant create a con.class file).. giving BIOS beep sound
Now when I replaced con with LPT1 it further stopped even compilation and stood idle.. ho I hope its is bcause of this reason.
Further in discussion
By Raj told us
When SDK tries to write into con.class, SDK creates a stream to write into con. (CON IS CONSOLE) so, The class file gets printed into the console.!
And while printing in the console, the character corresponding to ascii value 7 makes a bep noise. Thats all !
If it helps any better, Try it in linux, There'll be no problem. con.class will be perfectly created.No bugs with SDK
But what I feel java being a platform independent language should behave same evey \where regardless of being LINUX or WINDOWS so I still feel LEX and YAAC ans a part of compiler should handle it in a better way and should raise and issue when compiled.
If JAVA developer have any good reson to clarify it pl
The problem was is actually posted in orkut forum by
☠ ♛ ☠ D☪☪P☂☥
http://www.orkut.co.in/Main#Profile?uid=14610368948132281858
we have been discussing it in threads there
http://www.orkut.co.in/Main#CommMsgs?cmm=1448445&tid=5378114763870191912&start=1
and
http://www.orkut.co.in/Main#CommMsgs?cmm=589&tid=5375718777709412648

kajbj wrote:
You can e.g. try to create the file "c:\temp\blah.txt" on a linux machine.You can however create a directory called "c:\temp\" and create a file called blah.txt in it. I've seen it done (because of a hardcoded, Windows-specific log file path).

Similar Messages

  • Problem surface pro 2, windows 8. brush pressure is not working in Ps CC ,

    problem surface pro 2, windows 8. brush pressure is not working in Ps CC

    Este foro es un Foro de Usuarios en español.
    Puedes probar a explicar tu problema con mayor detalle.
    Indica por favor detalles de hardware
    (Podemos estar familiarizados con Photoshop, pero no con tabletas híbridas)
    Concretamente, cómo utilizas el pincel de presión?

  • Compiling with Windows XP

    I've just installed J2SE 1.4.0 and am having problems with the classpath. I've tried setting it as explained in the Help section on the java.sun site, however I still get the error message:
    'javac' is not recognised as an internal or external command, operational program or batch file
    How exactly should I go about setting the classpath and what is the format that it should take?

    I have a same proplem when compiling with Windows XP.
    I set
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32
    Wbem;C:\j2sdk1.4.0_01\bin.Could you please tell me
    more about this problem. Thanks a alot!Open a console window.
    Type the following command
    set
    Verify that the PATH looks like what you think it does. If it doesn't fix it.
    Then do this
    cd C:\j2sdk1.4.0_01\bin
    set PATH=.
    javac -?
    If you still get the same error then something is wrong with the install. Examine the bin directory. There should be a number of exe files in it including javac.

  • Problems to compile a servlet

    Hi, i have a problem to compile a servlet, i will try to explain my problem easily...
    i have a JavaBena class int he directory.....C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes......and i have compiled it by DOS commands, everyhting has gone well!
    i have a Servlet class in the same directory where it situated the JavaBean. i compile the Servlet as well as i have done with the Javabean, by DOS commans, including the Tomcat servlet api.
    this is the command which i use to compile the servlet.......javac ServletRegistraUtente.java -classpath "C:\Programmi\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar".....
    but everything i get this error...
    C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes>javac ServletRicercaUtente
    .java -classpath "C:\Programmi\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar"
    ServletRicercaUtente.java:20: cannot find symbol
    symbol : class BeanRicercaUtente
    location: class ServletRicercaUtente
    ^
    ServletRicercaUtente.java:20: cannot find symbol
    symbol : class BeanRicercaUtente
    location: class ServletRicercaUtente
    BeanRicercaUtente m_BeanRicercaUtente = new BeanRicercaUtente();
    ^
    2 errors
    C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes>
    these are the 2 classes....
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import JavaBean.BeanRicercaUtente;
    public class ServletRicercaUtente extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws IOException, ServletException
              ServletContext sc;
              RequestDispatcher rd;
              try
                   BeanRicercaUtente m_BeanRicercaUtente = new BeanRicercaUtente();
                   request.setAttribute("m_BeanRicercaUtente", m_BeanRicercaUtente);
                   String codiceFiscale = request.getParameter("codice");
                   m_BeanRicercaUtente.effettuaRicerca(codiceFiscale);
                   sc = getServletContext();
                   rd = sc.getRequestDispatcher("/risposta.jsp");
                   rd.forward(request, response);
              catch(Throwable theException){}
    import java.sql.*;
    public class BeanRicercaUtente
         String nome, cognome, indirizzo, telefono;
         public void effettuaRicerca(String codiceFiscale)
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   String url = "jdbc:mysql://.................";
                   Connection con = DriverManager.getConnection(url);
                   Statement cmd = con.createStatement();
                   String qry = "SELECT ..................";
                   ResultSet res = cmd.executeQuery(qry);
                   while (res.next())
                        cognome = res.getString(1);
                        nome = res.getString(2);
                        indirizzo = res.getString(3);
                        telefono = res.getString(4);
                   res.close();
                   cmd.close();
                   con.close();
              catch (SQLException e)
                   e.printStackTrace();
              catch (ClassNotFoundException e)
                   e.printStackTrace();
    i would be glad to get help about it...! :) thanks!

    i am sorry, but in the first class i have not written "import JavaBean.BeanRicercaUtente;"
    i have only these imports...
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;

  • Case-Sensitive problem while compiling in Linux

    Hi All,
    We have around 100 forms developed in windows platform. The forms use program units from plls. Compiling against windows do not have any problem. But when they are compiled in linux environment, we get error like frm-18108: unable to load form objects.
    Also the program units of the pll's are not referred correctly, since the declaration is in upper case and the calling in the other forms is in other cases.
    Is there any way to by-pass this case-sensitive problem, other than making them even in case, in the forms and libraries.
    Thanks
    Gopal

    Hi Francois,
    I had already tried with having all combinations of file name but still I am getting
    error
    "Compilation error on procedure CG$KEY_STARTUP:
    PL/SQL ERROR 201 at line 9, column 1
    identifier 'SET_MDI_TITLE' must be declared
    PL/SQL ERROR 0 at line 9, column 1
    Statement ignored".
    The set_mdi_title PU is defined in PLL and the library is attached to the form. When I compile the form using f90gen, I am getting the above error.
    Please suggest.
    Thanks Gopal

  • I had a problem installing icloud on windows 8.1. What should I do? At the end of the installation process there is a error message.

    I had a problem installing icloud on windows 8.1. At the end of the installation process there is a error message.What should I do? 

    I'm guessing that you have checked and complied with the system requirements?
    System Requirements
    Microsoft Windows 7 or 8
    Microsoft Outlook 2007 or later or an up-to-date browser (for Mail, Contacts, Calendars)
    Internet Explorer 9 or later, Firefox 22 or later, or Google Chrome 28 or later (for Bookmarks)
    Broadband Internet access
    Note: If you are upgrading from iCloud Control Panel 1.1 or earlier, you will need to sign out of iCloud Control Panel and uninstall it before downloading iCloud Control Panel 3.1

  • Is there a problem with JFrame and window listeners?

    As the subject implies, i'm having a problem with my JFrame window and the window listeners. I believe i have implemented it properly (i copied it from another class that works). Anyway, none of the events are caught and i'm not sure why. Here's the code
    package gcas.gui.plan;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.event.WindowEvent;
    import java.awt.event.WindowListener;
    import java.util.Hashtable;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import gcas.plandata.TaskData;
    import gcas.util.GCASProperties;
    import gcas.gui.planlist.MainPanel;
    * MainFrame extends JPanel and is the main class for the plan details window
    public class MainFrame extends JFrame implements WindowListener
         * the container for this window
        private Container contentPane;
         * a string value containing the name of the plan being viewed
        private String labelText;
         * a string value containing the name of the window (GCAS - plan list)
        private static String title;
         * an instance of JDialog class
        private static MainFrame dialog;
         * hashTable that correlates the task name to its id as found in the
         * plan
        private Hashtable taskNameToId = new Hashtable();
         * an instance of taskSetPane.  This is the current instance of taskSetPane
         * being viewed
        private PlanTaskSet currentPane;
         * instance of TaskData class.  Each instance will hold information on
         * an individual task
        private TaskData taskData;
         * hashTable containing instances of the taskSetPane class
        private Hashtable taskSetPanes = new Hashtable();
         * an instance of the OuterPanel class
        OuterPanel mainPanel;
         * an instance of the ButtonPanel class
        ButtonPanel buttonsPanel;
         * an instance of the LeftPanel class
        LeftPanel leftPanel;
         * an instance of the the GCASProperties class
        GCASProperties gcasProps;
        private static MainFrame thisPlanMain = null;
        private MainPanel planListMain;
         * constructor for MainFrame
         * @param frame the parent frame calling this class
         * @param locationComp the location of the component that initiated the opening of the dialog
         * @param labelText the name of the plan that is being viewed
         * @param title title of window
        private MainFrame(JFrame frame, Component locationComp, String labelText,
                String title)
            super(title);
            gcasProps = GCASProperties.getInstance();
            mainPanel = new OuterPanel(labelText, currentPane,
                    taskNameToId, taskSetPanes);
            leftPanel = mainPanel.getLeftPanel();
            System.out.println("LABLE: " + labelText);
            leftPanel.setMainPanelContents();
            buttonsPanel = new ButtonPanel(labelText, taskSetPanes,
                    taskNameToId, leftPanel);
            contentPane = getContentPane();
            contentPane.add(mainPanel, BorderLayout.CENTER);
            contentPane.add(buttonsPanel, BorderLayout.PAGE_END);
            this.addWindowListener(this);
            this.labelText = labelText;
            pack();
            setLocationRelativeTo(locationComp);
            this.setVisible(true);
            planListMain = MainPanel.getInstance();
            planListMain.setVisible(false);
        public static MainFrame getInstance(JFrame frame, Component locationComp, String labelText,
                String title)
            if (thisPlanMain == null)
                thisPlanMain = new MainFrame(frame, locationComp, labelText,
                        title);
            return thisPlanMain;
        public static MainFrame getDialogObject()
        {   //from the location this is called (ButtonPanel), this will never
            //be null
            return thisPlanMain;
        public static void setABMDDialogNull()
            thisPlanMain = null;
         * returns an instance of MainFrame
         * @return MainFrame instance
        public static MainFrame getDialog()
            return dialog;
         * setter for MainFrame
         * @param aDialog a MainFrame instance
        public static void setDialog(MainFrame aDialog)
            dialog = aDialog;
         * window opened event
         * @param windowEvent the window event passed to this method
        public void windowOpened(WindowEvent windowEvent)
         * The window event when a window is closing
         * @param windowEvent the window event passed to this method
        public void windowClosing(WindowEvent windowEvent)
            gcasProps.storeProperties("PlanList");
            MainPanel abmd = MainPanel.getInstance();
    //        planMain = this.getDialogObject();
    //        if(planMain != null)
    //            planMain.setVisible(false);
    //            abmd.setVisible(true);
    //            planMain.setABMDDialogNull();
            if(this.getDialogObject()!= null)
                abmd.setVisible(true);
                setVisible(false);
                setABMDDialogNull(); 
         * Invoked when the Window is set to be the active Window
         * @param windowEvent the window event passed to this method
        public void windowActivated(WindowEvent windowEvent)
         * Invoked when a window has been closed as the result of calling dispose on the window
         * @param windowEvent the window event passed to this method
        public void windowClosed(WindowEvent windowEvent)
         * Invoked when a Window is no longer the active Window
         * @param windowEvent the window event passed to this method
        public void windowDeactivated(WindowEvent windowEvent)
            System.out.println("HI");
         * Invoked when a window is changed from a minimized to a normal state
         * @param windowEvent the window event passed to this method
        public  void windowDeiconified(WindowEvent windowEvent)
            //we could have code here that changed the way alerts are done
           System.out.println("Invoked when a window is changed from a minimized to a normal state.");
         * Invoked when a window is changed from a normal to a minimized state
         * @param windowEvent the window event passed to this method
        public  void windowIconified(WindowEvent windowEvent)
            //we could have code here that changed the way alerts are done
    //        System.out.println("Invoked when a window is changed from a normal to a minimized state.");
    }anyone know whats wrong?

    It turned out that my ide was running the old jar and not updating it, so no matter what code i added, it wasn't being seen. Everything should be fine now.

  • Problem with shares on Windows 2003R2 server from a Windows 8.1 PC

    I'm having problem with shares on Windows 2003R2 server from a Windows 8.1 PC.  It times out when I try to copy a file from my PC to the server and I get an error message saying "There is a problem accessing network drive W:\. Make sure you are
    connected to the network and try again."
    I have no problem copying files from the server to the PC.
    Any ideas?

    Hi,
    How about your problem now? Have you test other machine also installed Windows 8.1? Did they have this problem?
    To diagnose this problem, firstly, please check Windows 2003R2 firewall settings, also can disable firewall temporarilly for test.
    Secondly, try to use Network Monitor to capture network communication package for test.
    Network Monitor:
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    Roger Lu
    TechNet Community Support

  • Problem with iTunes in Windows XP

    I am having a problem loading iTunes in Windows XP service pack 2. Every time I click on it, it seems to load for a little while, and then a window pops up saying "iTunes has encountered a problem and needs to close". When I clicked on the details tab, it showed me a bunch of stuff I couldn't understand. Here's what it said:
    AppName: itunes.exe
    AppVer:7.6.2.9
    ModName: unknown
    ModVer: 0.0.0.0
    Offset: 00000000
    How do I get iTunes to work right?

    The first question, Have you installed any of the following:
    ACE & K-Lite mega codecs package, QT alternative, Storm codec, WinAVI video converter
    These are know to cause troubel with Quicktime and must be uninstalled before proceding.
    It is also a good idea to go to your Control Panel and try to launch QUicktime preferences - you need to be in classic view to see it.
    Post any error message in full. This error message can give a clue to the presence of problem codecs if you are not sure.
    Next do a removal of Quicktime with installer cleanup, followed by an install of the latest version.
    I will give a method for complete removal, cleanup and reinstall of iTunes, Quicktime and related components, but in your case it may be possible to just do the QUicktime part. Don't forget to delete the recommended files from your system32 folder.
    == uninstall with cleanup ==
    Download a fresh copy of iTunes and the stand alone version of Quicktime
    http://www.apple.com/quicktime/download/win.html
    http://www.apple.com/itunes/download/
    Download and install Microsoft Installer cleanup utility, there are instructions on the page as well as the download. Note that what you download is the installer not the program – you have to run it to install the program
    http://support.microsoft.com/kb/290301/
    Now use the following method to remove iTunes and its components:
    XP
    http://support.apple.com/kb/HT1925
    Vista
    http://support.apple.com/kb/HT1923
    If you hit a problem with one of the uninstalls don't worry, carry on with the deleting of files and folders as directed in the method.
    Restart your PC.
    Run the Microsoft Installer Cleanup Utility. (Start > All Programs > Windows Install Clean Up)
    Remove any references you find to the programs you removed - strictly speaking you only need to worry about those programs where the uninstall failed.
    restart your PC
    Install the stand alone Quicktime and check that it works.
    If it does, install iTunes.

  • My problem is on my Windows PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help?

    I use both a Mac and a PC.  My problem is on my Windows 7 PC.  I am getting the error message, "The procedure entry point sqlite_3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I am told this is related to iTunes.  Any help out there?  Thanks

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Restart the programme all should be well
    In case that your OS is (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Now paste it in the folder  C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Restart the programme, it should not display that message, it should be clear.
    Good Luck

  • Problem Updating iTunes with Windows Vista

    I downloaded iTunesSetup.exe and ran as an Admin and during the installation I get an error message that says "Could not access network location %APPDATA%\."
    What does this mean and how do I fix it?

    Apple, apparently, had a fix up for an earlier version of itunes, but that is gone from the web page, and has been yanked.
    Yes, there are big problems with iTunes for Windows. Until these are rectified, your Ipod will be a paper weight.

  • Problem Installing 817 on Windows 2000 with RAID Array

    I am having a problem installing Oracle under windows 2000 which has 2 x 60 GB discs configured in RAID array. When I run the setup program the cursor goes busy for about 10 seconds and returns back to normal and nothing happens !. No errors nothing.
    However when I run the Object Manager in the ods_preinstall directory it starts but in the log file I get the following error message:-
    02/14/02 09:46:18 : (892) : Error in IO Control call for disk PhysicalDrive0 (Error 21)
    02/14/02 09:46:19 : (892) : The count = 28
    02/14/02 09:46:19 : (892) : The signature is 0x443aa035
    02/14/02 09:46:19 : (892) : Error: First Partition of the disk must be an extended disk
    02/14/02 09:46:19 : (892) : Found the partition: 7
    Any idea whats happening....? Has anyone seen this before. Do I need to do something special in teh RAID..?
    TIA
    Martin

    Here are some possible solutions:
    1. The installation notes state that you must be logged on as Administrator to be able to install 9i. Are you logged on as the Administrator? Being logged on as user01 with Administrator priviledges isn't the same as Administrator.
    2. Is the disk full? If I remember my installation correctly, I needed 3 times the size of the files. The documentation will tell you how much space you need.
    Hope these two questions help
    Regards,
    Michael

  • I haveing problem installing itunes on Windows 7. Erorr masage is "There is a problem with this Windows installer package. A program reguired for this install to comlet coudnt be run. Contact your support personnel or package vendor."

    Hello,
    I haveing problem installing itunes on Windows 7. Erorr masage is "There is a problem with this Windows installer package. A program reguired for this install to comlet coudnt be run. Contact your support personnel or package vendor."
    Please heLp.
    Thank you.

    Repair your Apple Sofyware update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install

  • Problem with touchpad and Windows 8.1. Acer Aspire E5-511

    I bought an Acer Aspire E5-511, but I have problem with touchpad and Windows 8.1.The touchpad (Synaptics) is not working with Windows 8.1 x64, but it works fine with Windows 7 x64 and Windows 8 x64.When I install Windows 8.1 and have to choose” language to install” I can’t choose anything with the touchpad. I should plug in my mouse to continue. I doesn’t work even when it’s fully installed and with latest driver (available only for win 8.1 x64) from Acer’s website. I tried with an older driver, but had no success. I updated BIOS, but it doesn’t work again. In hardware IDS in device manager it shows HID\… not ACPI\… (like win 7/8). Fn+F7 doesn’t help.When I try to install Windows7/8 the touchpad is working properly at the beginning (I can choose ”language to install”, “Time and currency format”… and the touchpad works after install even without driver).

    SOLUTION So guys after deep research and troubleshooting I found that you need to keep notice of a few things at time of installation: Installation Mode: UEFI (only)- LEGACY would create touchpad issues. after installation of windows just follow the driver installation hierarchy 1.Intel NB_Chipset_M Baytrail-M 2.Intel I/O Driver then rest of the crap. Note:After doing all this make sure your touchpad is active >> Fn+F7 Just wished if this solution came from an acer executive , the world would have been a better place , but anyways this is what community is for. Enjoy everyone

  • When I install itunes 10.5.3 i get a message " there is a problem encountered with your windows installer package ".... and i can't install it

    When I install itunes 10.5.3 i get a message " there is a problem encountered with your windows installer package ".... and i can't install it

    Have you completed all windows update including service Pack1?  If not, please complete all the windows update then follow steps below to re-install all over.
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime  
    Apple Software Update  
    Apple Mobile Device Support  
    Bonjour  
    Apple Application Support
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

Maybe you are looking for

  • Recording live audio from a Bus

    Hey, So what I'd like to do is record audio from a bus directly into an audio channel I have a test oscillator in the input slot of an instrument channel As you can see, the output is routed into bus 1 In order to process any audio that I have coming

  • How to sync my pics from my old phone with icloud

    My pictures started syncing over wifi but stopped at 268 of 516 what should I do it's been 3 days

  • Gap between divs, but only in IE6

    I created a page at http://www.gruenconstruction.com/gallerycontemporary.htm with a top, middle and bottom div (mainly). For some reason, in IE6 there's a huge gap between the middle and bottom divs. It looks perfect in Opera, IE 7 and FF. I can't fi

  • OMWB must be installed into 9.0.1 home?

    Universal installer gives me a message that OMWB 2.0.2.0.0 must be installed into 9.0.1 home? I have currently got Oracle 9i Release 2 installed. Will OMWB not work with this latest version of the database? Thanks, Mark

  • Not receiving sms texts and cant open BBM messages!!​! PLEASE HELP

    I am not receiving SMS texts although I know people have been sending them to me. I've had friends text me to see and they dont come through. I am also receiving BBM messages but cannot open them in my messenger! I really only communicate via these t