I get an error message when I compile the following.

When I try to compile the following with Forte for Java I get an error
import com.ms.security.*;
import java.io.*;
import java.net.*;
import java.lang.Runtime;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.applet.Applet;
import java.text.*;
import java.util.Enumeration;
import java.applet.*;
import java.*;
public class php extends java.applet.Applet {
public void init ()
private eector postResult()
throws MalformedURLException , IOException
URL url;
URLConnection con;
OutputStream oStream;
String parameterAsString;
byte [] parameterAsBytes;
String aLine;
parameterAsString = "x=2&y=2&z=2";
parameterAsBytes = parameterAsString.getBytes();
url = this.getCodeBase();
url = new URL(url + "index.php3");
con = url.openConnection();
con.setDoOutput(true);
con.setDoInput(false);
con.setRequestProperty("Content=length",String.valueOf(parameterAsBytes.length));
oStream = con.getOutputStream();
oStream.write (parameterAsBytes);
oStream.flush();
BufferedReader in =new BufferedReader(new InputStreamReader(con.getInputStream()));
aLine= in.readLine();
while (aLine != null)
System.out.println();
aLine = in.readLine();
in.close();
oStream.close();
The error message is
php.java [22:1] cannot resolve symbol
symbol : class eector
location: class php
private eector postResult()
^
1 error
Erros compiling php.
Please help

Is the postResult function supposed to return somthing (I don't see a return statement?). If not replace eector with void. If it returns something replace it with the type of the returned data wich might be Vector (mind the Cap).

Similar Messages

  • I am trying to install MasterCollection_CS6_LS16. When I click the install file I get this error message: We've encountered the following issues. Installation on case-sensitive volumes is not supported. Please choose a different volume for installation.

    I am trying to install MasterCollection_CS6_LS16. When I double click the install file I get this error message: We've encountered the following issues. Installation on case-sensitive volumes is not supported. Please choose a different volume for installation. What does that mean? How should I proceed?

    Hey iraravitz,
    Could you please let me know what version of OS are working on.
    You might receive this error when you attempt to install on a drive with the HFS+ Case Sensitive file system, which is not supported for installation of Adobe Creative Suite 6.
    So, please try installing on a drive that has been formatted with a supported file system.
    You might refer the KB doc link mentioned below for the same:
    Error "Case-sensitive drives not supported" or similar install error | Mac OS
    Let me know if this helps.
    Regards,
    Anubha

  • TS4002 I'm getting an error message when I try the click on a link in an email. No associated application could be found. How do I fix this problem?

    I'm getting an error message when I try the click on a link in an email. No associated application could be found. How do I fix this problem?

    Is this a one-off or a general problem? If a one-off, is it a link to a web page or something else? If not a web page, try control-clicking on it and choosing to download the linked file. This will at least access the file though it might be to something you don't have an application to open with. If you do this, what sort of file do you get? - select it and hit command-i to get information on it.

  • Getting an error message when one of the values in a formula is null

    Hi,
    I am using a query to generate report... my query looks like this:
    select     
    CUSTOMER_NAME,
    (sum(MILLAGE)*MILEAGE_RATE) as TOTAL_INVOICE,
    from     
         T_TIME_REPORTING
    where
    CUSTOMER_NAME = :P22_CUST_NAME
    group by
    CUSTOMER_NAME
    it's working fine when there is a valid value for MILLAGE and MILEAGE_RATE but giving an error message when anyone of them is null... please advice how to fix this issue
    Thanks in advance

    my query looks like this:
    select
    CUSTOMER_NAME,
    (sum(MILLAGE)*MILEAGE_RATE) as TOTAL_INVOICE,
    from
    T_TIME_REPORTING
    where
    CUSTOMER_NAME = :P22_CUST_NAME
    group by
    CUSTOMER_NAMEThat would not work even when all values are not null:
    select ename, sum (sal) * comm
        from emp
       where ename = 'ALLEN'
    group by ename
    Error at line 1
    ORA-00979: not a GROUP BY expression

  • Getting an error message "this page contains the following errors" after downloading books to I pad from bookstore. Also now getting same message on previously downloaded books. What gives?

    Getting an error message starting with "this page contains the following error" and continuing with various details in books recently downloaded from the Books app on an I Pad. Also now getting the same message on previously successfully downloaded books. Anyone know whats happening/how to fix? thanks

    Try rebooting your iPad. To reboot your iPad, hold down the sleep/wake button and the home button simultaneously until the screen goes black and the Apple logo appears. If, during this process, a slider appears on the screen to power it off, ignore it and keep holding the buttons down.
    Rebooting your iPad can solve a lot of problems. Try it and report back.

  • Is the ITunes Store down.  I can search and buy but keep getting and error message when I try the home page.

    Is there a problem with the ITunes Store?  I can search for a title and download it.  owever I can't get to the home screen without a message that tells me the item is unavailable in the US Store.

    It must be down.  I will try later.  From the past messages this happens from time to time.

  • Im getting an error message when syncing ipad "The disk could not be read or written to"

    Help...

    hiya!
    let's start with this document:
    "Disk cannot be read from or written to" when syncing iPod or "Firmware update failure" error when updating or restoring iPod
    love, b

  • Can someone tell me how or why I'm getting an error message when I download the itunes update.

    Hi.  The download for the itunes update gives me an error 7 windows 193. How do I fix that?

    Well, first, if you want help for an iTunes problem, you shouldn't post in the iPad forum. :-)
    I've asked that your post be relocated to the appropriate forum.
    This should answer your question. http://support.apple.com/kb/TS3074

  • Firefox does not open at all - error message when loading firefox 'The instruction "0x0000000" referenced memory at "0x0000000". The memory could not be "written". Click on OK to terminate the program in English

    I cannot open firefox at all. I have removed and re-installed but it has made no differenct. I just get an error message when loading firefox - as follows - 'The instruction "0x0000000" referenced memory at "0x0000000". The memory could not be "written". Click on OK to terminate the program.
    Can anyone help me sort this out? If I log in as someone else Firefox works?
    == This happened ==
    Every time Firefox opened
    == the computer shut down unexpectedly ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    You can o a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Error messages when I compile a Visual C++ 2010 project that includes the Atlcomcli.h file

    Hello,
    I am getting error messages when I compile a Visual C++ 2010 project that includes the Atlcomcli.h file.
    The error messages are:
    Error    1    error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled    c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\atlcomcli.h
    Search and found link to download hotfix KB982517. But no download available.
    https://connect.microsoft.com/VisualStudio/feedback/details/613888/i-would-like-to-receive-hotfix-kb982517-or-make-this-available-in-the-downloads-section
    Please help me to resolve this issue.
    Thanks,
    Gagan

    I would have to ask: why are you using _CHAR_UNSIGNED? Is this really necessary? I have to admit that the fact that by default char in C++ is signed is an annoying fact, but most of us have just gotten used to it.
    Have you tried the workaround
    #pragma push_macro("ATLSTATIC_ASSERT")
    #undef ATLSTATIC_ASSERT
    #define ATLSTATIC_ASSERT(x,y)
    #include <atlcomcli.h>
    #undef ATLSTATIC_ASSERT
    #pragma pop_macro("ATLSTATIC_ASSERT")
    that is described in the link
    https://support.microsoft.com/kb/982517?wa=wsignin1.0
    David Wilkinson | Visual C++ MVP

  • I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...could not sign in. Please check your network connection and try again. Help!

    I keep getting an error message when trying to log on to FaceTime and iMessage on my iPad mini with wifi...Could not sign in. Please check your network connection and try again. Help!

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • I get an error message when I try to save my images in Photoshop CS6

    I get an error message when I'm trying to save my images.  It reads as follows:
    "Could not save because file is locked, you do not have necessary access permissions or another file is using it"
    The file is not locked (I unlocked the image as a layer), I am the administrator, and it wasn't being used elsewhere.
    This has happened with all the images I've worked on in the past 90 minutes.  Has anyone got a solution?   I've never gotten this message before

    Check that you actually have write permissions on the drive you are trying to save to.  They can an do get changed.

  • HT1386 I get an error message when I try to sync my iPod touch - "you do not have enough access privileges for this operation"

    I recently installed a new hard drive on my PC, downloaded iTunes, updated the software on my iPod touch and now I get this error message when I try to sync:  "you do not have enough access privileges for this operation."  It never did this before, whether it's the upgrade in software or something in iTunes, but it's very frustrating, since I'd like to add more things to my iPod.

    See:
    iPhone - not enough access privileges: Apple Support Communities

  • I get an error message when I sync my iPhone 5 with itunes on a Windows 7 laptop. When I go back to my music there are exclamation marks next to many songs. I have reinstalled iTunes

    I get an error message when I sync my iPhone 5 with iTunes on my Windows 7 Samsung laptop.  I recently backed up all of my data using Samsung Recovery Solution 5 to an external hard drive so that I could restore my laptop.  I put all of my data back on the restored laptop and reinstalled iTunes. After the error message that says that certain items could not be found and the "sync" is finished I go back to my music in iTunes and there are exclamation marks next to many songs.  I follow some instructions regarding the Edit - Preferences - Advanced settings and the exclamation marks go away until I try to sync my phone again.  Then I get the same error message and the exclamation marks return.  I have uninstalled and reinstalled iTunes and the same thing happens again.  I am about to schedule an appointment with the Genius Bar but would like to avoid that if possible.  Thank you in advance for any help. 

    Hello Courtney,
    Thank you for the details of the issue you are experiencing when syncing your music to your iPhone.  It sounds like iTunes is not able to locate the original file for the song to transfer it to your device.  I recommend reviewing the following articles to locate you music files on your computer:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/ts1408
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I had to reinstall itunes and now I get an error message when i try to open it please help

    i had to reinstall itunes and now I get an error message when i try to open it please help

    Please make sure to post the error message here, then we can help you decypher it.
    You may want to make sure you're installing the right version of itunes.  If you have a 64bit system, you will need to make sure to download and install the 64bit version of iTunes.
    http://support.apple.com/kb/DL1427

Maybe you are looking for

  • Business area in service tax

    Hi In India service tax liability amount is derived based on regional (UWK) sale/purchase . Service tax GLs are not updated with business area at entry level.But business place is updated against each line items. At the time of payment against cleari

  • Waaater damage??? HELPPPPP!!!

    so my phone fell in the water yesterday, and I opended the phone really fast, dried the battery and put it back inside so it opened and worked fine but i could not touch, press or open anything. then I took the battery out again and put the phone in

  • Is it poss to edit 2 tracks - mic&pickup, simultaneously in sample editor?

    (I'm a total novice in Logic so it's easy to blind me with jargon) I've recorded a guitar with mic and pickup and want to be able to see and edit both tracks at the same time in Sample Editor. Any idea how? The manual says: "If you're dealing with an

  • Error while reverse engineering a Flat File

    Hi I am getting following error while trying to reverse engineer a Flat file. Could you help in identifying what's the problem com.sunopsis.core.SecurityAccessException: oracle.odi.core.exception.OdiRuntimeException: OdiInstance is closed      at com

  • SAP Interactive Forms by Adobe: prestarted question...

    Hi, I'm a very newbie to "SAP Interactive Forms by Adobe". My requirements are as follow : I want to send my users a PDF file containing drop down list box with data from SAP system. I mainly want the forms to be my validation tool. after word, when