Cannot get any applets to run
Here�s my story
I�ve downloaded the latest JDK (including JRE 1.5_06) and install goes fine. For example I can run java programs I've written locally.
The problem is with my Browsers and the JRE (both IE 6 and Firefox)
I run XP SP2 and am up to date on everything
I thought the problem was with the Microsoft VM (MSJVM) and removed it so that ALL I have is the Sun JRE. I even found a site (at Penn State) that talked about how before installing the JRE
You have to remove a left over registry key so that the Sun package installs correctly. http://www.oit.state.pa.us/oaoit/cwp/view.asp?a=172&q=194113&oaoitNavDLTEST=%7C9138%7C
I did all of that and it appears to work fine.
So now the MSJVM is gone and cannot be reinstalled but I cannot run ANY applet. I�ve checked EVERYTHING I can possibly think of but I�m missing something.
The MSJVM did work before so I don�t think it�s a firewall problem.
Every applet gives me the following types of errors (seen in the java console)
The following happens on the Sun jre verify page at
http://www.java.com/en/download/help/testvm.xml
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-testvm.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This is similar behavior for EVERY applet no matter what site it's located on. I�ve checked cache, paths, registry setting. I can�t think of anything else to try. It's as if every applet cannot access the �jar� files needed from its server.
Behavior is the same from IE or Firefox. I�ve uninstalled and reinstalled many times.
Any help would be greatly appreciated.
Thanks
Marc
If anyone should happen by here with this problem the following is the solution. Even if you have not installed MSN make sure to check this (I did not have MSN installed so there must be other programs that change this)
When MSN Messenger 7.5 installs it changes a registry entry: HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath from REG_EXPAND_SZ to REG_SZ which causes it to fail to expand %SystemRoot%, therefore breaking the path.
Changing the key back to REG_EXPAND_SZ solves the problem on the machine, but to do so you have to delete the entry and re-create it!
If you feel uncomfortable making registry changes I suggest you follow these directions:
1. Open REGEDIT
2. Navigate to HKLM\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
3. RIGHT click in the right pane and create a New Expandable String Value
4. Name it DataBasePathExpand
5. Right click on DataBasePathExpand and click Modify
6. Enter the value of %systemRoot%\System32\drivers\etc and save
7. Now right click on DataBasePath and delete it
8. Right click on DataBasePathExpand and rename it to DataBasePath
Similar Messages
-
Please help - trouble getting any applet to run with Mozilla or IE?
Hello,
I am using Mozilla Firebird and MS IE 6 under WinXP Pro. I have installed JRE 1.4.2 and ensured that java is enabled in both browsers. But no matter what I do, no applet will run, at all. No classes are loaded, I just get an empty "resource not found" box. I must have installed the JRE 4 times now, and the process seems to finish flawlessly. Any ideas? Do I have to patch my windows? I would really like to test some java on this pc!!!!!!
Thanks.I am using Mozilla Firebird and MS IE 6 under WinXP
Pro. I have installed JRE 1.4.2 and ensured that java
is enabled in both browsers. But no matter what I do,
no applet will run, at all. No classes are loaded, I
just get an empty "resource not found" box. I must
have installed the JRE 4 times now, and the process
seems to finish flawlessly. Any ideas? Do I have to
patch my windows? I would really like to test some
java on this pc!!!!!!Hi,
this combination works fine for me!
For Firebird check the Plugins Subdir or just write "abaout:plugins" the address field and hit enter. It should show you all plugins avail in Firebird.
Enable the java console (not JavaScript!!) in the Java(TM) Plugin settings.
Than a window whill show you "the work" of the Java Plugin.
Hope this helps -
I cannot get an applet to run in an html page through jdeveloper 10g
I can run applets ok that i bring down from the web so i know the browser will support applets. But they will not work when i try to run a html page with an applet through jdeveloper. When I use the tool to create a page that will run an applet i get the message "This browser does not support Applets." appearing even though
I know the pages does support applets. What am i doing wrong?
cheers;
a confused OwenNope...I create an applet and then use the tool to create an html page i get the following page...
no hint is given why it does not support applets
cheers;
Owen
<HTML>
<HEAD>
<TITLE>
Title
</TITLE>
</HEAD>
<BODY>
<APPLET CODE="applet.Applet2" ARCHIVE="adfshare.jar,bc4jmt.jar,collections.jar,bc4jct.jar,xmlparserv2.jar,jdev-cm.jar,ojmisc.jar,commons-el.jar,jsp-el-api.jar,oracle-el.jar,adfm.jar,adfui.jar,adfbinding.jar,bc4jtester.jar,help4.jar,share.jar,jewt4.jar,oracle_ice.jar,ojdbc14dms.jar,orai18n.jar,ocrs12.jar,ojdl.jar,dms.jar,bc4jdomorcl.jar,bc4jdatum.jar,cache.jar,xml.jar,jdev-rt.jar,runtime12.jar,bc4jui.jar,bigraphbean.jar,LW_PfjBean.jar,inspect4.jar,forms-1.0.4.jar,bc4jimdomains.jar,bc4jimjui.jar,ordim.jar,ordhttp.jar,jmf.jar" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not support Applets.</APPLET>
</BODY>
</HTML> -
Cannot get java window to run at all.
I'm using 1.4.2, and cannot get any java to run at all. It's on a Windows 2000 server, and I've rebooted it a few times. Can't even get the Java Applet window to open from the control panel. javaw.exe runs in the task manager, but that's it. Any ideas? Anything else I need?
That's the Java Control Panel you can't open.
Try uninstalling ALL Java versions, rebooting after each uninstall, and manually removing any directories that Java made after all are removed. Reboot again, then download a new offline Java installer file and install that. There's something in the machine that's bad. -
I downloaded Firefox 7 and now cannot get any sound when playing web content. I have reinstalled but still no joy. When I use Google Chrome for the same useage, it plays sound fine.
Any ideas ??1. System Preferences > Other/ Flash Player > Advanced > Delete All
Press the "Delete All" button
2. Install Adobe Flash Player.
http://get.adobe.com/flashplayer/
Download it first.
The next step is important.
Click Safari in the menubar and select “Quit Safari”.
Follow the prompts and install it.
Restart computer. Relaunch Safari.
2. Allow Plug-ins
Safari > Preferences > Security
Internet Plug-ins > "Allow plug-ins"
Enable it. -
I am the proud owner of a first gen ipad given to me for Easter by my kids and we cannot get any apps even freebies as says I must have V6 but now idea how to upgrade my ipad! i would be very grateful for simple instructions as to how to get apps ASAP And I have no idea what operating system I have
Many thanks a VERYNovice ipadderThe iPad 1 can be updated to iOS 5.1.1. You can see what level you are running in Settings > General > About > Version.
If you are not at iOS 5.1.1 and if you are have iOS 4 (or earlier) there is no Software Update in Settings. That feature was first added in iOS 5.
To update you will have to connect your iPad to iTunes on a computer (preferably the one you sync with and backup to).
See here: http://support.apple.com/kb/HT4972
If you are on level 5 but not at 5.1.1 you can update to 5.1.1 using Settings > General > Software Update.
There are still many Apps which will run on iOS 5. Also, some developers have older levels still available for the iPad 1. -
Cannot get windows update to run after hard drive install and recovery
I cannot get windows update to run after a new shdd 1 tb was installed.
I have a pavilion dv7 4083cl. My recovery set did not work so I used the OEM set.
Any help would be appreciatedHello kjdsynz,
Have you taken a look at the HD & SSD manual? Did the recovery fail? If you take a look at this page for help with that.
Please let me know if this has helped.
Good luck!
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
Cannot get any sound when playing .avi files
Hi All
I am running QT version 6.5.3 on Mac OS X 10.2.8 and cannot get any sound when playing .avi files but the picture is perfect.
I have installed the following: M-Peg 2 playback component, AVI Components and AC3 component.
Does anyone know if I am missing anything or how I can fix this?
Many thanks
GarryDownload and install Perian from http://perian.org/
You should read this support page http://perian.org/#support in case you need to delete older codecs. In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/ -
Need help getting my applet to run..
Hi, I am having the utmost trouble getting my applet to run. First I spent a month correcting syntax and other errors generated during compile. Now I find myself spending another month getting the compiled product to run. I don't care if the screen is completely blank and my logic is all messed up, I don't mind logic debugging. My applet just will not run at all, it won't even initialize.
First when I tried to run my applet in Internet Explorer I got the following error in the statusbar:
"load: tsorgi5 can't be instantiated"
So, I researched that error message, and the solution appeared to be that I would need to use the Java Plug-In. So, I use that and now I find this message in the statusbar:
"exception: null."
That happens when the text "Loading Java Applet ..." is in the centre of the applet, and Internet Explorer acts like it is still doing something no matter how long I wait.
I tried researching this, but only found "exception: null" with other things after the text "null."
In Forte, when I choose "Execute" I get the following in the Output Window, I/O tab:
java.lang.NoSuchMethodError: main
Exception in thread "main"
I would assume it expects me to add a method "main()," but I also get that same message with a different applet (which doesn't have a method "main()") which runs perfectly fine.
I usually try to solve many of my problems myself, but with this one I have no idea where to start looking for answers. I'm relatively new to Java, been using Java for only half a year, so this particular problem is like looking for a four-leaf clover in the streets of New York City..
I'm going to be chopping my applet into pieces, having a separate class file for each major engine. (It is a role-playing game, so I'll separate battle engine from cut-scene engine from world exploration engine etc..) Hopefully I will be able to narrow down my search for what is causing me all of these problems. Then once I solve my problems I can piece everything back together.
In the meantime, I am hoping that some of you could help me out so that I may know what I am looking for.
Thank You for your time,
-Tony SlaterAh.. Forte is still a bit confusing to me, I have not and probably will not take the time to learn much about Forte, as the only real reason I use it is because unlike wordpad, I can see line numbers. =] Very helpful with my program being the size that it is.
I do not think that the simple applet idea will be of much use, because one of my earlier applet projects (a main menu for my current project) which I mentioned above as another applet without a main() method which worked perfectly fine is very simple. Although I will try it anyway, as it could help and you are most likely much more experienced than I. =]
Okay, I typed the following in the Dos Prompt:
appletviewer TestApplet.class
..It printed a blank line, paused a little bit, then brought me back to the prompt, just like running a dos program that does not give any output. I'm not sure, but I would assume it should print a line containing the text "Here?" I have not used appletviewer before, so I do not know what it is supposed to do. =P
I have already tried using System.out.println, but the problem occours even before the applet is started. I'll try enabling the Java Console first thing tomorrow morning, since a restart is required when enabling it.
Now, I would be happy to post some code, but I'm not sure it would be best to post the code when my program is 2814 lines.. although 800 lines are probably comments, and most of those comments are probably irrelevant. Also I can sometimes be a messy coder. Although I can post some general information and can probably (with a little work) post an "outline" of the code.
Since it is getting late I'll just post some portions of code which hopefully will prove important.
// Import Packages
import java.awt.Graphics;
import java.awt.Color;
import java.awt.*;
import java.applet.*;
import java.lang.System;
import java.lang.reflect.Array;
import java.lang.Math;
import java.lang.Double;
import java.math.*;
import java.util.Random;
import java.io.*;
variable/object types created and/or declared between "public class.." and "public void init()...":
int
byte[]
String
RandomAccessFile
int[][]
double
int[]
double[][][]
Random
Image
int[][][]
arrays are filled in the init() method.
public String getIniStrValue(String iniFile, String iniGroup, String iniItem) // Used for retrieving information from the game's external file system.
another method getIniIntValue(int, String, String, String) is used for int values stored in external files.
Within public void paint(), gameplay modes are detected and dealt with accordingly. With Cut-Scenes, proper charecter images and text is displayed, all cut-scene information is stored externally. Other modes do virtually the same, display graphics and text based on internal game data or un-changing external data files.
Within public void mouseClick(), in certain modes of the game the mouse click will trigger a change no matter where the user clicked (such as cut-scenes, to advance to the next line of dialog), or different variables are set depending on where the user clicked. (What I like to call.. custom buttons) At the end of the method repaint(); is used, and the paint() method will alter the screen according to any changes that may have happened.
public void charAttack() is a method called to handle battle equations when a playable and controllable charecter is making a move. It will detect the current charecter, detect the move being made by the charecter (attack, special move, magic, etc) and will change any variables accordingly and will then use repaint(); so that the player may know what has happened. (Whether or not attack was successful, how many HP the enemy lost, etc)
public void loadBattle() is called when the charecter encounters an enemy. It will load possible enemies of the current part of the world being explored, select one, then load that enemy's "stats" from external game data files, and will then specify the new mode (Battle Menu, where the player chooses the moves to be made for the turn) by setting the int value "Mode." repaint(); is then called and it will paint the battle menu.
public boolean keyDown() is of course used to detect keyboard events. In world exploration, the charecter will be moved accordingly. In modes such as cut-scenes, a variable will be changed to advance to the next line of speech. In menus, the keyboard events are used to switch between options. repaint(); is used to update the screen accordingly.
Well, even though I very briefly summarized the code, it appears to have taken half an hour to do. I'll be getting some sleep in a few minutes, and when I wake up tomorrow morning I hope to both see and make some progress on solving this problem.
Thank You,
-Tony Slater. -
I cannot get any of the zoom functions to work, period. When Firefox starts up it begins to display the page then it stops and redisplays it. So its like it flashes on for a second then completely regoes to the site, any site. The text zooms dont work even when i try to change the font on the content tab, nothing. I have reinstalled firefox still no luck help,!!!!!
== This happened ==
Every time Firefox opened
== this month ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.2)Do you have that problem when running in the Firefox SafeMode?
[http://support.mozilla.com/en-US/kb/Safe+Mode]
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this:
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
I sent a friend some photos, since then the email keeps appearing in recovered from my mac. Everytime I delete it it comes back. also I cannot get any incoming mail, the circle keeps on spinning, I can get mail on my ipad, Has anyone got a solution please.
thanksYes,ranchers, I did try that a bunch of times- thanks for trying.
I'm gonna list all the things I did (that I can can think of):
Tried to force close the app.
Turned on/off wiFi
Tried letting it just run on the screen it's stuck at for like 15 minutes
Ugh...my brain is turning off-I think it's frozen like my Sims! Cornball I know.
But I've tried everything I could think of which is a bunch more things than what I was able to list. And I'll do my best to answer any questions cause I know from looking all over on different forums that I'm not the only one this is happening to. It happened to a bunch of people who I think are still waiting for theirs to get fixed.
Can the cloud save me if I upload today? -
I cannot get any TAGLIBS to work
I cannot get any taglib to work on my install of TOMCAT 4.0.1. I have even downloaded WAR files that from the jakarta taglibs project for their examples and they fail as well. Can anyone help me? I am receiving the following error:
org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/dbtags) cannot be resolved in either web.xml or the jar files deployed with this application
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:194)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1159)
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1133)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Unknown Source)to wainstead ( I saw your post at the JTL forum, who knows when the authors will be around)
I tried using the <taglib-uri> and it works for me(I am using Tomcat 4.0).
In fact I can use just http://www.man as long as it matchs what I put in the uri attribute of the taglib directive of my JSP.
But the situation is confusing because according to the Servlet2.3 specification
"taglib-uri element describes a URI relative to the location of the web.xml document,
identifing a Tag Library used in the Web Application." Perhaps someone with more experience
can explain. -
Cannot get any sound from william hill radio
i have logged onto the william hill radio site but cannot get any sound
sorry to hear about your problems. Try running Audio MIDI, see what's it's set it for both the line out/digital out. Holding down the Alt Key (next to the space bar) gets you a list of all the input and output devices on your macbook pro. Also, see if accessibility is turned on under system preferences. Other than that, I can't say. if you have wifi problems, see if there's an update for it (airport?) or see if you can change Wi-ifi channels on your printer
well, I tried anyways
JB -
I am trying to connect my Apple TV to an older Panasonic projection TV using an HDMI to a DVI cable to the Digital IN. I cannot get any sound. Can you help?
DVI interface does't allow audio. Is there optical IN from your Panasonic TV? By then you can connect your ATV to Panasonic using optical together. It will work.
-
i recently upgraded my 4s to a 5s. the verizon store took my old phone for a trade in. i cannot get any of my pictures to download from icloud. my photo stream folder only has a small percentage of the photos in it. any help would be greatly appreciated.
That's possible if he didn't connect to a WiFi hotspot after taking them. I don't think the "Personal" Photo Stream uploads over Cellular, unless they changed it since the last time I used it.
If that's the case, then the photos likely didn't upload to Photo Stream and are stuck on the phone.
And you're not going to be able to get them back, either.
Maybe you are looking for
-
Hi, I bought a Lenovo X200 with "Windows XP Professional preinstalled through downgrade rights in Genuine Windows 7 Professional", laptop has a windows 7 pro COA. How do I get Windows 7 OS install software to install Windows 7 on my laptop ? Lenovo
-
Who can help solve this XML/Servlet mystery?
Hi, I'm developing a servlet that accepts an HTTP request, contacts a database, processes the request and return an XML document back to the browser. The XML document returned is dependent on which selection a user makes. The problem is that on first
-
My old laptop is a dell and so is my new one. I want to transfer my itunes library from the old laptop to the new one. How?
-
What is the easiest way to delete duplicates of photos
I have ended up with many duplicates and triplicates after uploading new photos trying to figure out the easiest way to manage these and delete the extras I have over 20,000 pictures.
-
Earphones with Remote and Mic (for Voice Recorder??)
Hello, today I find this Earphones with Remote and Mic on Apple store: http://store.apple.com/us/product/MB770 It will work on iPod touch (2nd generation), so does it mean the voice recorder app (bought from App Store) is going to work on the iPod to