Problem with java Applet

Hello

I'm trying to run a simple Java Applet of a book.

import java.awt.*. *;

java.applet import. *;

SerializableAttribute public class GraphicDrawingPanel extends Applet {}

public void init() {}

}

{} public void start()

}

{} public void stop()

}

{} public void paint (Graphics g)

}

}

I get following errors:

> Display applets GraphicDrawingPanel.html

WARNING: Cannot read the file properties display applets: C:\Users\Administrator\.hotjav

a\properties use by default.

> Display applets

Use: display applets < options > URL (s)

where < options > include:

-Debug Start applet viewer in the Java debugger

-encoding < encoding > specify the character encoding used by the HTML files

-J < runtime indicator > Pass the argument to the java interpreter

The option-J is not standard and may change without notice.

>

Someone please guide me with the above problem.

Zulfi.

The project has 3 files:

  1. source file (*.) Java)
  2. Binary ByteCode compiled from source (* .class)
  3. the Web page (* .html)

What is the content of the 3rd.

Good bye

DPT

Tags: Java

Similar Questions

  • Problems with Java and Internet Explorer9

    Bought this Compaq Presario in August 2011 with IE8 in it without any problem.  October or November, updates installed IE9 and since then I have had problem with Java on IE9.  Mainly with the signature in some sites mainly Pogo (don't remember the others).  Checked in the Java Control Panel under Advanced and browsers only IE and Firefox are indicated (although I also have Chrome).  IE and Firefox are archived for Java, but while Firefox is written in dark letters, IE is gray and I can't it darkened.  Even when I switched browsers default to IE, it is always grey.  I already follow the article on Pogo and Java problems and I have no problem with Firefox or Chrome, only Internet Explorer.

    Thank you

    Spock

    Why Microsoft Internet Explorer 9 hang after that I have visits a web page with Java applets?
    http://www.Java.com/en/download/help/iecrash.XML

    Install Java in Windows Internet Explorer 9
    http://Windows.Microsoft.com/en-us/Windows7/install-Java-in-Internet-Explorer-9

    Use Reset Internet Explorer settings (RIES)
    http://support.Microsoft.com/kb/923737#appliesTo

    You see the same problems if you test with another Windows user?

    You are running version 64 bit or 32 bit IE 9?  Even if you're a machine 64-bit by default IE 8 or 9 should be the 32-bit version.  This is the version that runs on 64-bit computers by default.  If you use this version, then the problems would disappear.

    Questions: 64 - Bit Internet Explorer
    http://blogs.msdn.com/ieinternals/archive/2009/05/29/q-a-64-bit-Internet-Explorer.aspx

  • problem with java and pogo games

    I use mozilla, and now with the problems with java and hackers cannot play my pogo, what can I do? I disabled my java I tried java 6 does not work or is not safe, what is a safe way to play games on pogo using java?

    Pogo.com is determined as a website SAFE to use Java with Mozilla Firefox?

  • Problems with Java games Sites

    I have java installed on my computer, when I go to the gaming sites they say I don't have it. Their site brings me to the Java site for re install I have. I do and I still get the same results. Frustrating. I did the Java offline also and that no longer works. I checked that it is also enabled.

     

    Hello

    It seems that you are facing problems with Java during the visit of the gaming sites.

    1. This problem occurs on all the gaming sites?
    2. Other sites work well?
    3. What is the operating system installed on the computer?

    You can Remove all existing versions of Java on the computer and reinstall the last being. We know the result.

    Also see this link for more information.

    Thank you.

  • Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Would you advice, thank you.

    Hi Hugo,.

    1. what anti-virus software you have installed in the computer?

    2. What is the full error message/code?

    3. the issue occurred after you install Minecraft?

    4. are you able to play Minecraft without any problem?

    5. what happens with Antivirus and Java?

    Windows Update can occur if one or more of the following conditions are met:

    1. the Windows Update database is damaged.

    2. antivirus software is configured to scan the %Windir%\SoftwareDistribution folder.

    3. the service (BITS) Background Intelligent Transfer Service does not receive a content link header.

    4. a required system file is incorrectly registered.

    5. Windows Installer has encountered an error.

    6. the manifesto of component maintenance (EC) is damaged.

    7. the Windows Update service has stopped during the installation.

    8. a version of the file conflict exists with Windows Update agent files.

    Please follow the steps described in the methods to solve the problem:

    Method 1: We will try the steps from the following link and check the result:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058?WA=wsignin1.0

    Method 2:

    To correct the errors that occur when you use Windows Update, install, and run the system update readiness tool. The tool analyzes inconsistencies on your computer and fixes as its current installation.

    You can view the following link to download the system update readiness tool and check:

    System tool update that corrects problems of Windows Update is available for Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Details of the event log to find what caused the Antivirus and Java to fail:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope that the information provided is useful.

    For any help related to this problem or any question of Windows, you can still display in the Microsoft Community Forum!

  • I HAVE WIN 7 64-BIT, MOZILLA FIREFOX IS MY BROWSER HASVING PROBLEMS WITH JAVA CAN HELP PLEASE

    I HAVE WINDOWS 7 64 BIT LAP TOP, I'M WITH MOZILLA FIRE FOX AS MY BROWSER, HAVING PROBLEMS WITH JAVA... WHICH SHOULD I USE? ALSO CAN I HAVE THE WINDOWS PHOTO VIEWER TO OPEN FILES

    First; There, please do not type in uppercase.  It is considered rude and make your post less readable.

    The version of Java to use depends on the browser.  Firefox is a 32-bit browser therefore uses the 32-bit version of Java.
    Internet Explorer, for example, has a 32-bit and 64-bit version in Windows 7, the two versions of Java may apply depending on whether you are using.

    The Windows Photo Viewer can open different types of graphic files, what is the problem?

  • Satellite P20:Problem with java apllets

    I am owner of a P20-102 (with Norton Internet secyrity 2005) installed when I try to open a page for IE with applets java system tells me to activate Java applets in my browser.
    I have enable applets and scripting in my browser firewall I have let java applets.
    In my system, I have the Aluriasoftware Spyware Eliminator.
    Any ideas?
    Thank you very much
    AMOULLAS

    Hello
    Have you checked the 'security' tab in the internet options?
    concerning

    Gandalfwhite

  • Problem with JAVA on Sateliite Pro 6000

    I have problems running versions of Java 1.4 and higher. My laptop freezes and has to be restarted. Since I found that other users of this model of laptop in our society have the same problem.

    Is there a known problem with the Satellite Pro 6000? The problem does not appear to affect personnel with laptop computers Tecra.

    Any help appreciated.
    Thank you

    Hello

    Can you give us more information on this subject? What OS did you use?
    I put t know if it helps but you can try to update the drivers (graphics, etc.) and the BIOS.

    Good bye

  • Problems with Java script

    Hi, I'm doing a site with dream weaver cs5.  I am instituting a slider, this cursor uses java script coding, I'm not familiar with Java script. Here is the site that I have problems with. Www.bussmanncomputers.net/Jara.

    What said Teodor, the jQuery library is not found as can be demonstrated when we follow him - http://www.bussmanncomputers.net/Jara/js/jquery.js - link you have placed in your document online.

    The only reason why there is a 404 error is because the file is not in the specified location, it has not been downloaded to the location of i.o.w..

  • problem with Java mail for oracle 9i

    Hi all
    I want to send messages from the oracle 9i server to my mail server (mail.example.com).
    Please see this link * [http://www.akadia.com/services/java_mail_plsql.htmlbold] * and I try to follow their guidelines.
    Everything is running successfully. The part where it's written on this document "Install Java Code to send emails with attachments. When try to run this code as scott/tiger schema, then I got an error which is in the below:

    ATTENTION: Java created with compilation errors.

    After the words when I ran to see what the problem with the execution of this order "display errors java source 'SendMail'" it's generating error information below:

    error starting
    JAVA SOURCE SendMail errors:

    LINE/COL ERROR
    -----------------------------------------------------------------
    0/0 SendMail:25: class Session not found.
    0/0 SendMail:25: class Session not found.
    0/0 SendMail:25: name of variable or class not defined: Session
    SendMail:29 0/0: MimeMessage class not found.
    SendMail:29 0/0: MimeMessage class not found.
    SendMail:34 0/0: InternetAddress class not found.
    SendMail:34 0/0: InternetAddress class not found.
    SendMail:34 0/0: Undefined variable or class name: InternetAddress
    SendMail:41 0/0: InternetAddress class not found.
    SendMail:41 0/0: InternetAddress class not found.
    SendMail:41 0/0: Undefined variable or class name: InternetAddress

    LINE/COL ERROR
    -----------------------------------------------------------------
    SendMail:48 0/0: InternetAddress class not found.
    SendMail:48 0/0: InternetAddress class not found.
    SendMail:48 0/0: Undefined variable or class name: InternetAddress
    SendMail:55 0/0: InternetAddress class not found.
    SendMail:55 0/0: InternetAddress class not found.
    SendMail:55 0/0: Undefined variable or class name: InternetAddress
    SendMail:60 0/0: msg Variable may not have been initialized.
    SendMail:63 0/0: Multipart class not found.
    0/0 SendMail:63: class not found MimeMultipart.
    SendMail:67 0/0: MimeBodyPart class not found.
    SendMail:67 0/0: MimeBodyPart class not found.

    LINE/COL ERROR
    -----------------------------------------------------------------
    SendMail:79 0/0: MimeBodyPart class not found.
    SendMail:79 0/0: MimeBodyPart class not found.
    SendMail:80 0/0: Class FileDataSource not found.
    SendMail:81 0/0: Class FileDataSource not found.
    SendMail:90 0/0: MimeBodyPart class not found.
    SendMail:90 0/0: MimeBodyPart class not found.
    SendMail:91 0/0: Class FileDataSource not found.
    SendMail:91 0/0: Class FileDataSource not found.
    SendMail:99 0/0: msg Variable may not have been initialized.
    0/0 SendMail:105: name of variable or class not defined: Transport
    SendMail:106 0/0: MessagingException class not found.

    LINE/COL ERROR
    -----------------------------------------------------------------
    0/0 info: 33 errors
    end error

    Even if I try to compile the source file java Oracle database 9i «schema-> Scott-> Source types-> Java Sources»
    But could not compile. There show "status as invalid.

    Please help me

    Published by: André on June 4, 2010 20:21

    Published by: André on June 4, 2010 20:22

    Published by: André on June 4, 2010 20:23

    is there a reason why you need to use JAVA for this? Oracle email can be easily done using UTL_SMTP - I've been using this package for years with great success http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt - running like a charm 9.2

  • Problem with Java Script in my mail service

    I'm unable to access my email GMX account. Whenever I try, a rose windows opens at the top indicating that Java Script is required. However, when I check with the tolls, the enable JavaScript box is checked. I've deleted and reinstalled Firefox 10.0.1 two times with the same results. I can to my account via Internet Explorer and Safari without difficulty.

    Any ideas?

    Due to various difficulties, I reinstalled Windows 7. That solved the problem

  • Problem with Java?

    I'm running on a HP Pavilion P7 1203 with the X 64 and I have a problem when I update Java.

    After a charge down, I lose my printers (2) that the system will not access and a reboot of the system

    does not start and goes to the last system backup in order to recover. This has happened 3 times so I don't know

    It is updated to Java which gives me this problem.

    Is there anyone who has this problem?

    Hello rafbetty17.  I understand that you are having problems to update Java.

    Have you tried to completely uninstall and reinstall Java?  It would be a good first step, because the problem is probably with the Updater and not Java itself.  After uninstalling Java, you need to install this version.

    Let me know if it helps.  Have a great day!

  • Problem with Java Update and...

    Vista HP model a6334f IE8 - need to update Java 1.6.0_01 _16 - unsuccessful for the past three days. What is the error code 1606? (could not access network location % APPDATA%\). It is the usual response. Once I got an "Error 1606 - error codes InstallShield - indicate an action failed during the process of instaltion.» Java.com no help. I downloaded the installer on the desktop then run it-"unpacking the downloaded files failed." First thing the next day and got the same answers failure + "unable to launch the Java Update Setup." I had tried installing offline with the same results. I went through my firewall security system Windows and advocate to ensure that they were not interfere because I noticed the logo of security on the icons to the trash. I don't know if there is nothing to do but I can't update my HP Web Printing either. I have messed up something along the way, thinking I knew what I was doing. I have been at this nearly two years and am usually able to understand things using various places - stop now I guess I better stop before I really mess up things.

    I have a stack of printed documents on the possible solutions to my problem of different sites. As I was going through them last night, I realized that no two of the answers don't match and I was in a spiral and most likely make things worse. I love my Vista and felt quite relieved when going through these discussions tha I had all of these problems - and then I started having them. This is ridiculous, I thought. So, I provided all the printed documents and dropped in a box (just in case) - and has a system restored 6 weeks ago. When this finshed I checked to make sure I still had internet access then close and went to bed. This morning, I started to go through the system to see what I had - to see if my Java was back. Well, not only is it back - it is updated to 1.6.0_15.

  • Problem with Java app.

    I recently did an update to java, then I was unable to play games. I followed the instructions to uninstall and reinstall, I have now is more java in my control panel ICON, every time I try and stall, he comes back with an error 25099 message Impossible to unzipp file can someone help me please understand this? Thanks in advance to anyone! Debbe

    Hi Debbe,

    In addition to that suggested David O, there may be still some Java tasks running in the background.

    I will propose a clean boot, running because it will kill services that are not applicable and should allow you to load Java without Java services that are running in the background to interfere with the installation of java.

    Here are the steps to follow;

    1. Log the computer by using an account with administrator rights.
    2. Click Start
      type msconfig.exe in the start search box and press ENTER to start the System Configuration utility.

      If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    3. On the general tab, click Selective startup, and then clear the check box load startup items. (The check box use the file Boot is not available.)
    4. Under the Services tab, click to select the skin all the Microsoft services check box, and then click Disable all.

      Note following this step lets Microsoft services continue to operate. These services include networking, Plug-and-Play, record of events, error reporting, and other services. If you disable these services, you can permanently delete all restore points. Do not do this if you want to use to restore the system with the existing restore points.

    5. Click OK and then click on restart

    Pasted from http://support.microsoft.com/kb/929135>

    After RESTARTING reinstall JAVA as described in David O display offline.

    If it installs successfully, follow these steps to perform a normal boot.  (Keep in mind when you are in a clean boot, your system will be vulnerable, so try to check that your downloads are secure and verified a site.)

    Again, here's how to get your system out of State starting in minimal mode and back in the normal startup mode.

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. Click Start
      type msconfig.exe in the start search box and press ENTER.

      If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    2. On the general tab, click the Normal startup option, and then click OK.
    3. When you are prompted to restart the computer, click on restart.

    Pasted from http://support.microsoft.com/kb/929135>

    Please let us know if that fixes the problem or if additional assistance is needed on this issue.

    Kind regards

    Debbie Microsoft Support Engineer answers visit our Forum of Microsoft answers Feedback and let us know what you think.

  • Problems with java weblogic. WLST - HELP!

    Hi all,

    I am failry new to the Weblogic Server and tried to fill with the obe as part of my training. I came across a problem that you may be able to help me with. In OBE - 4 Administration servers managed by using the Node Manager - in the part where 'Configuration' using WLST tool coming up on a problem

    I am following the instructions to the letter, i.e. Add the Jrockit on my road and set the setWLSEnv.sh. Something I noticed in the Setup is the Jrockit House seems to be different in the example. In the example, the Jrockit House is/u01/app/oracle/product/Jrockit/bin. Presumably it's the original of Jrockit installation like the Jrockit House in my case is/u01/app/oracle/product/Middleware/jrockit_160_05/bin. Is this correct?

    Thus, when you try to call 'java weblogic. WLST' I get the error message "Exception in thread"Main Thread"java.lang.NoClassDefFoundError: weblogic/WLST.

    That tells me that it is impossible to find the weblogic. WLST java class to run the environment.

    Any help or advice are welcome

    It is the commmand of path of export and the environment set print (look, look as if for some reason, the class path is much to short, all explanantions?):

    [oracle@seremban ~] $ export PATH = / u03/app/oracle/product/Middleware/jrockit_160_05/bin /: $PATH
    [oracle@seremban ~] $ cd /u03/app/oracle/product/Middleware/wlserver_10.3/server/bin/
    [oracle@seremban bin] $./setWLSEnv.sh
    CLASSPATH=/U03/app/Oracle/product/middleware/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /U03/app/Oracle/product/middleware/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /U03/app/Oracle/product/middleware/jrockit_160_05/lib/tools.jar:/U03/app/Oracle/product/middleware/wlserver_10.3/server/lib/weblogic_sp.jar:
    /U03/app/Oracle/product/middleware/wlserver_10.3/server/lib/WebLogic.jar:
    /U03/app/Oracle/product/middleware/modules/features/WebLogic.Server.modules_10.3.0.0.jar:
    /U03/app/Oracle/product/middleware/wlserver_10.3/server/lib/webservices.jar:
    / U03/app/oracle/product/middleware/modules/org. Apache.ant_1.6.5/lib/Ant-all.jar:
    / U03/app/oracle/product/middleware/modules/net. SF.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:

    Path=/U03/app/Oracle/product/middleware/wlserver_10.3/Server/bin:/U03/app/Oracle/product/middleware/modules/org. Apache.ant_1.6.5/bin:
    / U03/app/oracle/product/middleware/jrockit_160_05/JRE/bin: / u03/app/oracle/product/Middleware/jrockit_160_05/bin:
    /U03/app/Oracle/product/middleware/jrockit_160_05/bin/:/usr/lib64/Qt-3.3/bin:/usr/Kerberos/bin:/usr/local/bin:/bin:/usr/bin:/Home/Oracle/bin

    Your environment has been defined.
    [oracle@seremban bin] $ java weblogic. WLST
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/WLST

    Published by: Jamie Gadong on March 17, 2009 04:38

    Hello

    1. go to wlserver_10.3/common/bin/ cd
    2 executer./wlst.sh
    3.execfile(/xx/xx/xx/bea_xx/XX/yourscipt.py)
    4. you're done.

    Thank you
    RR

Maybe you are looking for