Trying to download the Java Plugin is an impossible situation !   Help ! !

Dear People,
You cannot believe what I have been through trying to do a first applet !
A long time ago downloaded a version of the plugin (a cup of coffee icon in the control panel). Then recently I downloaded a new version
(1.4.1_01) (a second cup of coffee icon in the control panel)
Well I was not able to run my first applet after creating a good
batch file (with help of course) named javacompile:
echo off
cls
PATH=C:\j2sdk1.4.0_01;C:\j2sdk1.4.0_0\bin;C:\j2sdk1.4.0_01\lib;C:\WINDOWS\jbproject\objectdraw.jar
javac -classpath C:\WINDOWS\jbproject\objectdraw.jar;C:\WINDOWS\jbproject %1
my program MakeBox.java compiles ok at the Dos prompt
when I open the MakeBox.html in the browser the error message says:
"The required component is not available for this version of windows"
I was told to uninstall the plugin and download it again
So I took 50 minutes to download it and the message said:
"You already have the jre1.4.0_01 do you want to uninstall ?"
so I said "no" ... was this an idiot move on my part?
then it continued to download the plugin and when it was done it said:
"You already have the java plugin, do you want to uninstall it?"
I answered "no"....was this also an idiot move on my part??
What to do ?
totally confused
Stan

Dear People,
I just received an e-mail letter from the author of
"A Eventful Approach" Thomas Murtagh ! ! !
The most advanced Java paradigm text for Java beginners ! !
http://applecore.cs.williams.edu/~cs134/eof/
Even though his letter is very clear, my brain doesn't know what
to do in the context of compiling at the Dos prompt, (trying to do my
first applet). Below is the letter and then the code to MakeBox.java
and MakeBox.html Please shed some light for me.
Thank you in advance
Stan
I meant that in our definition of the WindowController class, we said:
public class WindowController extends Applet {
So, when you say
public class MakeBox extends WindowController {
the MakeBox class you define is (indirectly) an Applet. In particular,
with most Java programming environment, you can run the program as an
applet (i.e. using Sun's appletviewer or JBuilders applettestbed).
Tom
Here is the code:
import objectdraw.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class MakeBox extends WindowController
public void init()
this.setSize(new Dimension(400,300));
public void onMousePress(Location point)
new FilledRect(40,80,30,20,canvas);
<html>
<head>
<title> Make Box
</title>
<body>
<applet
codeBase = "."
code = "MakeBox.class" width = 300 height = 200 >
</applet>
</body>
</html>
     

Similar Messages

  • I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet. I get a dialogue box saying the QuickTime plugin has failed. I have tried to download the latest plugin but this doesn't work. Can anyone help?

    I have just upgraded to OSX 10.6.8 and now I cannot open or save PDF files from the internet using either Safari or Firefox. I get a dialogue box saying the QuickTime plugin has failed. Can anyone help?

    Is this what you downloaded: iTunes 10.7?
    When the update fails what if any error report do you get, specifically? Please do this before trying again:
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Error 1004 appear when I'm trying to download the Hidden Object: Gardens in times Please help to slove the matter.. Thank you

    Appear "Error 1004" when trying to downloads all the apps in apps store....
    Can't purchase the apps with the updated payment methods as well...
    Please help and kindly advise further..
    Thank you....

    For Error 1004, look at this post
    https://discussions.apple.com/message/16228784
     Cheers, Tom

  • Hey, Im trying to download the Adobe Flash Player and I need help.

    When I try to download the Adobe Flash Player it says I have to close the internet browsers and I do and I click retry and it says I still have to close them. What do I have to do?

    Hi Amanda,
    What operating system are you using?
    Maria

  • Hi, I have the newest update of Fire Fox which is 10.0.2. I can't get the Java plugin to download to Firefox.

    I am wanting to get Java working on Firefox so I can utilize chat rooms and other programs that use Java, and no it is not Javascript that I am talking about. Every time I go to a site that utilizes Java it tells me that I need to download the Java plugin. When I click on the link it starts to download the Java plugin, but instead of installing the plugin it installs Java for Internet Explorer instead.
    Ken

    Hi johndoe3815. You can check out how to download and install Java for Firefox in this page:
    https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox?s=Java+Plugin&r=0&e=es&as=s#w_installing-or-updating-java

  • I tried to download the flash player and my computer doesnt want to! Or, any other downloads!

    [picture removed by host]
    Why does my computer not want to download anything? It says " could not be downloaded". No explanation, or anything! Might be my settings but, Im not real computer savey!   Im trying to download the flash player!!!! Help!?
    Thanks ya'll....Serena (dingbat11)

    Tell us about your OS? Do you have administrative privledges?

  • Does Firefox support java applets if the "Next generation plugin" is disabled via the Java plugin control panel.

    I'm still trying to get a definitive answer to this question.
    My applet is not "Next Generation compliant". When we run our applet in Internet Explorer it runs fine as long as we disable the "Next Generation Plugin" via the Java plugin control panel. However our applet does not run in Firefox if the "next generation applet" is disabled.
    Is it a requirement that if I want to run an applet in Firefox 3.6.x or higher that the "next generation plugin" be enabled via the Java plugin control panel.

    Current Firefox versions (3.6 and later) can only run Java applets via the Next Generation plugin.
    *http://java.com/en/download/help/new_plugin.xml

  • Checking if the Java Plugin is present in IE

    Hi,
    I've been trying to find out how I can check if the Java Plugin is present in IE. In Navigator it's easy but I do not know how to do it for IE as it does not work the same
    way, through using the navigator.plugins Array. However, I know that in IE you can try to create an ActiveXObject but you need to know the plugin name and I do not know this.
    Can anyone help?
    Cheers,
    Mark

    This seems to be more of a JavaScript question than a Java question.....
    If you used the HTMLconverter, the <EMBED> tag should contain the necessary information for IE to determine if the viewer of your document needs to download a newer version of the plugin. Should the veiwer decided not to download the appripriate plugin or doesn't have the correct plugin, your applet would not work and if you try to access document.APPLETNAME (where APPLETNAME is the name given to the applet), you will either get a null or undefined -- that should provide you with sufficient information on what to do next.
    V.V.

  • I am trying to download the latest version, and it is tellme to close firefox, and it is closed.

    i am trying to download the latest version, and it is telling me to close firefox first. firefox is closed. how do i get past this to get it downloaded.

    Must be the "hang at exit" problem.<br /><br />
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #*Mac users: http://techheavy.com/2011/02/the-mac-task-manager/
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    '''annabeaux3''':
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Fedora 13: After upgrading from FF3.6 to FF6.0.2 I no longer have a Java plugin. How do I configure the Java Plugin for FF 6 ? There is no Java Plugin at the site

    I am Fedora 13x64 bit. I just installed FF v6.0.2 from the FF download site. I backed up the existing FF 3.6 as firefox_old
    I need to have a Java plugin to access company site, how do I configure the Java Plugin ?
    At the Plugin area in FF6 there is no Java Plugin available, even after a search.
    I have Java 1.6.0 installed in the OS at:
    /usr/lib/jvm/java-1.6.0/jre/lib/amd64/libnpjp2.so
    I googled how to configure Java Plugin for FF 6 for Fedora 13 and the trick was to create a soft link from /home/<userID>/.mozilla/plugins to the above libnpjp2.so

    AVtech wrote:
    . . . If a person can't get an answer here I don't know where else to turn since Sun certainly wouldn't offer tech support for a free product . . .These forums are user forums, and only occasionally visited by Sun employees. Sun does provide Java technical support options, although (of course) at a charge.
    See:
    http://developers.sun.com/services/
    . . . I guess we'll just use JRE 5 until it's unsupported, whenever that will be. I'm still waiting for an answer on that question, too. See:
    http://java.sun.com/products/archive/eol.policy.html
    http://www.sun.com/service/eosl/
    This document (part IV and Appendix) has some debugging and troubleshooting information that may allow someone involved in the problem to resolve the cause:
    See:
    http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.htm
    Any steps that you can take to isolate the problem to specific Java versions, browsers, applets, web sites, operating systems (and versions), etc, would enhance the possibility of getting help.
    You can try the applets at this Sun location and see if any of them are "slow".
    See:
    http://java.sun.com/javase/6/docs/technotes/samples/demos.html

  • The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin, how can I eliminate this problem without dropping m. firefox?

    A few days ago I tried to e-mail a friend, when I started A box came up and it required me to add a plugin..Java. I contacted my e-mail courier and microsoft, they told me that is was a plugin from Mozilla Firefox. Since then I must go through Java to send or open an e-mail... this is NOT to my satisfaction, it takes too long for all of this to open and if it is not cleared , I am dropping Mozilla and going elsewhere. Why has this occurred? Is this a result of the last update? If so can I delete the last update and continue on the other version?
    == This happened ==
    Every time Firefox opened
    == last week

    Sorry, I have no idea what you mean by '''"The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin,"'''.
    If you think your problem is caused by the Java plugin, you should visit the Java support forum for assistance.
    http://forum.java.sun.com/index.jspa
    If you could explain what you mean by '''"time unfriendly''' issue with my e-mail account", maybe we'll be able to help you solve that issue.
    It might be helpful for us if we knew exactly which web-mail provider you are using. It seems strange to me that viewing or sending web-mail would actually "need" Java for operation, its more likely that some other item on the web page needs Java to run some advertising or other garbage that isn't a necessary part of the web-mail functionality you want to use.

  • Firefox says i have java already ..but java is not showing on my control panel what can i do to download the java

    How can you help me clear this problem with Java, my system is windows 7

    Java or JavaScript ?
    To avoid confusion: http://kb.mozillazine.org/JavaScript_is_not_Java
    Your above posted More system details list doesn't show the Java plugin.
    *https://support.mozilla.com/kb/Using+the+Java+plugin+with+Firefox
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • How do I disable the java plugin?

    I have already done
    -tools->Internet options->Advanced
    - unchecked 'use java2 1.4.2_04 for < applet> (requires restart)'
    - checked Microsoft VM java console enabled (requires restart)
    - reinstalled the MS JVM (MSJavWU_8073687b82d41db93f4c2a04af2b34d)
    - set my class ID to
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"> which is supposed to be for MS
    Every time I run the applet, the java plugin console appears with 1.4.2_04 version running.
    what else can I do?

    I created my applet using 1.4 and I want to be sure that it works for people without the plugin. Applet tags alone cause a gray box, while Object tags work but seem to invoke the plugin.
    Also is there a way to check the highest JVM/ plugin version needed for my applet? I don't want to have to manually thumb through javadocs for each object in each file to check when it first appeared. I also don't want to have to download each environment and try to compile the applet.
    Thanks.

  • Installing the Java-Plugin without administrative rights

    I would like to find a way to allow a user without administrative rights to install the Java-Plugin for using Java-Applets. As far as I understood, the plugin can be installed in a silent way withou registry modifiactions. Is this working for users without admin rights?
    Furthermore I would like to have the web page containing the applet installing the plugin (if necessary) in a fully automatic way so the user does not need to deal with installing the plugin manually. This should work without admin rights as well.
    Any ideas?

    I would like to find a way to allow a user without
    administrative rights to install the Java-Plugin for
    using Java-Applets. As far as I understood, the
    plugin can be installed in a silent way withou
    registry modifiactions. Is this working for users
    without admin rights?Could anyone please explain, why it is so difficult for Sun to create an installation package for user without admin rights? The whole "GetJava"-program is just crap for ordinary users if they get the JRE downloaded seamlessly and then the installation fails due to missing admin rights. This way Java would never succeed on the desktop.
    Andr�

  • Getting an error msg while trying to run the java class from CMC

    Hi All,
    I am getting an error, while trying to run the java .class file, that which is imoported into CMC.
    Error msg:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:49)
    I have imported .class file into CMC and trying to invoke the .class file by another java program from eclipse..When i tried to invoke the .class in cmc, i am getting an error msg, mentioned above. I thought there might be version conflict. So i changed the java complier version to 1.5 in my Eclipse. After that is done again i am facing the same problem.
    Can anyone help me to resolve this issue?
    Thanks in Advance.

    i have installed BO SDK 3.1 , Service pack 3. It comes woth JDK 1.5 version. i have not done any chnages to it. I impoprted all the jar files related to BO into eclipse.
    1)  Actually, i am writing java code on eclipse. When i run code from the eclipse, it creates a session to cmc and creates folder structure what i need.
    2)  But the thing is, that code needs to run, when i import the .class file into cmc. The process how i imported the .class file to cmc.
    Manage> Add> Program File-->Java (Check Box). In this way i added java class file from the eclipse workspace (class file from the bin directory).
    3) So when i run the .class file externally by another java program or also when i log in to CMC and run that .class file, the instance shows sucess, but when i see the logfile i am getting an exception that which i mentioned above.
    If my method is worng can you please let me know the stepts how to run java program in cmc.
    Thanks in Advance

Maybe you are looking for