my frustration level is going through the roof! this web-app worked fine before. i change this one line: names = new FileIO("../webapps/examples/ScreenNames.txt"); to names = new FileIO("../webapps/Root/ScreenNames.txt");
and now it wont compile
serves me right for upgrading JDK i guess..both my browsers quit working right as well from bug in JDK 1.5
netbeans is being very uncooperative as well it wants to know where are html page etc..all i want to do is compile the damned file and move class file to different folder
i guess i try download new BlueJ and uninstall reinstall [ June 18, 2005: Message edited by: Randall Twede ]
i used to be a java advocate...but if they gonna force me to edit and recompile because they remove core packages i have nothing but contempt for them just like M$
you watch...maybe i make new version of pascal...pascal+++ maybe i win and put them both under...yeah i know that is ridiculous but... i am just so pissed off [ June 18, 2005: Message edited by: Randall Twede ]
if they gonna force me to edit and recompile because they remove core packages
javax.servelet is not a core package - it is a J2EE package. It never comes with J2SE. It is usually bundled with your Web Application Server, and is sometimes bundled with IDEs (such as JBuilder, which has all J2EE libraries, and JUnit libraries, and ...)
Is it possible that at some time in the past, you copied the J2EE core libraries to your JDK 1.4 library path? This could explain both problems (the fact that you cannot compile and the fact that you cannot run old compiled classes - in both cases you no longer have the J2EE libraries in your classpath).
I'm not exactly what I'm supposed to see on this link. The first example link gives me a "ClassNotFoundException". Apparently Sun moved the applet class the page is trying to load.
The second example link gives me "The page you are looking for has moved or no longer exists."
Neither of those issues has anything to do with a particular browser problem that I can see.
Exactly what type of error message are you getting in your web app?
from what i read the browser problems started with 1.4.2
I don't know what you've been reading or what browser problems you're talking about. We've been using 1.4.2 for over a year now with no particular browser problems. [ June 18, 2005: Message edited by: Marilyn de Queiroz ]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marilyn de Queiroz
Joined: Jul 22, 2000
Originally posted by Randall Twede: ..how do i get the libraries again?
here it is in case they trying to hide it: the workaround worked for IE but i dont know how to set up profiles for firefox so i cant use it for now
5013503 Votes 2 Synopsis The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll> Category java_plugin cx Reported Against tiger-beta Release Fixed State Closed, not reproducible Related Bugs Submit Date 15-MAR-2004 Description
FULL PRODUCT VERSION : java version "1.5.0-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c) Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600]
EXTRA RELEVANT SYSTEM CONFIGURATION : IE 6.0.2800.1106.xpsp2.030422-1633 Cipher strength: 128bit Update versions:; SP1; Q822925; Q330994; Q828750; Q824145;
A DESCRIPTION OF THE PROBLEM : About 20% of the websites I go to with JDK1.5.0b1 installed crashes IE, including, but not limited to:
Those websites, among others, have this happen EVERY time.
Also, going into IE and choosing "Sun Java Console" causes the same problem.
REGRESSION. Last worked in version tiger-beta
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Try going to any of those pages with IE, or launch the Sun Java Console from within IE. I have noticed other people in the forums saying they had the same problems with 1.4.2, but no one ever seems to have solved it for them either.
EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Page to load. Sun Java Console to load. ACTUAL - In every case it said it could not load the \bin\server\jvm.dll -- I tried different environment variables, tried copying the JDK jre\bin\server directory into the jre's (Program Files) directory, etc. I tried checking regedit, but everything looked OK there as well.
ERROR MESSAGES/STACK TRACES THAT OCCUR : --------------------------- Java(TM) Plug-in Fatal Error --------------------------- The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll> --------------------------- OK ---------------------------
REPRODUCIBILITY : This bug can be reproduced always. (Incident Review ID: 243437) ======================================================================
Work Around The workaround is to delete the deployment.properties file in your user ApplicationData folder. You do not need to reinstall the jre. xxxxx@xxxxx 2004-11-23 16:52:44 GMT
Evaluation Could not reproduce with b32c on the same version of IE, although XP patch level was different. I then update the patch level to the latest, still could not reproduce.
From the error message: --------------------------- The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll> --------------------------- It looks like plugin is not able to determine where the JavaHome is. There are two possibilities: 1. "HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in\JavaHome" has invalid value or missing. 2. Java Plug-in Control Panel was used to specify a different JRE through the Advanced tab, but the path is invalid.
Submitter should check out all the "JavaHome" subkey in "HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in" and "HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment" to ensure they are valid.
Comments Include a link with my name & email
Submitted On 17-MAR-2004 malachid Ok, I think I have some information that might help.
I went into the C:\Program Files\Java\j2re1.5.0\bin directory, ran javacpl.exe, into advanced, and unchecked IE integration.
Then I went into the C:\Program Files\Java\j2re1.4.2_03 \bin directory, ran the jpicpl32.exe, under the browser tab -- unchecked IE, apply, checked IE, apply...
no more crashes. Java console comes up and webpages don't crash.
For the record, I *have* tried unchecking,applying,rechecking the one in the 1.5.0 directory to no avail.
There is something wrong with the 1.5.0 plugin. It could be due to me having multiple versions installed, but that is necessary for what I do.
Obviously, others are able to replicate the problem. I am having this problem on two separate machines. It is a serious problem, as it is happening 10-12 times a day for different websites.
Feel free to email me directly if there is anything I can do to help you resolve this. IMHO, this failing will cause people to quit including Java on their websites, so it really must be resolved.
Submitted On 28-MAY-2004 DuoICE The same applies to Tiger beta 2 plugin on Windows (at least Win98SE).
WORKAROUND: The 1.4.0_04 plugin works fine with the JDK 1.5.0 runtime registered. NEVER install the public JRE 1.5.0 - it overwrites Your 1.4.2_04 plugin. Instead use 1.4.2_04 plugin and webStart to register 1.5.0 JDK runtime. ========================================= The 1.4.2_04 plugin should be shipped with the JDK 1.5.0 Windows Installers.
Submitted On 03-JUN-2004 liscjd this happens all the time for me with 1.5.0 beta2
Submitted On 04-JUN-2004 liscjd Ok I got it working by uninstalling all JRE's then deleting the C:\Documents and Settings\[USERNAME]\Application Data\Sun directory and installing 1.5
REALLY NOT HAPPY ABOUT THE HUGE JAVA LOGO INSTEAD OF MY CHOICE OF DESCRETE LOADING SCREEN WITH PROGRESS BAR
Submitted On 02-JUL-2004 NikolayMetchev2 Why is this bug closed as not reproducable if it can be reproduced always?
REPRODUCIBILITY : This bug can be reproduced always. (Incident Review ID: 243437)
Submitted On 30-JUL-2004 alljohnny I have the same problem with every applet in both ms iexplorer and mozilla 1.7.
Submitted On 10-AUG-2004 robertengels actually, if you delete the deployment.properties file in the 'Sun' directory mentioned above, then run the plug-in control panel, click ok, then everything works fine
Submitted On 10-AUG-2004 robertengels I also have the exact same problem, so this is clearly not a "not reproducable" error. The workaround (going back to the 1.4.2_04 plugin, with the 1.5 jre) did work for me however.
Submitted On 12-AUG-2004 ssgoldberg We have seen this issue also with the 1.3.1_09 plug-in, trying to launch from IE. The error message doesn't give any reason, so it's hard to understand what causes it.
Submitted On 05-OCT-2004 mgbolusm It is reproducable. It should be fixed.
Submitted On 08-OCT-2004 joedante I installed 1.5.0 release on my w2k and get allways this error message when I try to load an Applet in IE and Mozilla.
It happend installing 1.5.0 beside 1.4.2_05 (j2sdk and jre) and if I have removed all Java versions and done a reboot and installing only a single 1.5.0.
Submitted On 23-OCT-2004 jradvan Clearly is a reproducible error - I get it on both IE and Firefox on XP SP1. Deleting C:\Documents and Settings\[username]\Application Data fixes it for me.
User Resolution: I had the same problems, then removed my personal configuration files, as recommended in the forum. After deleting C:\Documents and Settings\[USERNAME]\Application Data\Sun everything started to work again.
I suspect that old configuration files are not properly updated when a new version of the JRE is installed. This is a bug.
Submitted On 07-NOV-2004 mark-jones I had this problem and fixed it for Internet Explorer 6 by uninstalling all old JREs and deleting the C:\Documents and Settings\[USERNAME]\Application Data\Sun before installing the JRE1.5 again. It still does not work with Firefox 1.0PR browser.
Also upgrading java versions is messy and there are always configuration files / registry entires left behind. In may cases I need to manually edit the Windows registry which is unacceptable for average computer users. Please sort this out before users turn away from Java! Please reopen this bug thread please as many users are offering to help reproduce the bug. Try installing an older JRE and then the new one..
Submitted On 10-NOV-2004 george_korosy would like to second mark-jones' november 07 submission: the issue is not resolved, should therefore be re-opened. users can not be expected to work around the bug as recommended by other posters in this thread.
george korosy sun certified web component developer
Submitted On 19-NOV-2004 malachid It is apparent that this issue has NOT been resolved. Please also see:
As a side note, I had this problem on two machines. Completely removing all JDKs and then reinstalling the latest fixed ONE machine, but not the other.
Submitted On 02-JAN-2005 mltsoftware I just had this problem happen to me, and was able to fix it by deleting:
C:\Documents and Settings\Michael Trigoboff\Application Data\Sun
I had installed:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
After having used Java 1.4.2 for awhile. Once I installed Java 1.5.0, I started seeing this problem.
If your testers cannot reproduce this bug, they need to WORK HARDER. I
Submitted On 16-JAN-2005 Delroy@Weber I experienced this problem with java version "1.5.0_01" but was able to solve it by removing the directory as described in many of the above comments. It seems that the problem could be reproduced by installing the C:\Documents and Settings\Delroy A Brinkerhoff\Application Data\Sun directory from a failing system (I have retained mine and would gladly make it available).
Submitted On 08-FEB-2005 jre95001_1 It is absolutely reproducible. I was formerly using the 1.4.2 Plug-In with Netscape 7.1. The workaround presented above did correct the problem. I can do that, as I am a computer guy. However, I cannot ask my users to do this, as they are not computer people.
This is a MAJOR problem, and needs to be fixed, not ignored.
Submitted On 05-MAR-2005 vladnc Hmm, why can't I vote for a closed bug? The bug should be reopened, and I think the only way would be to vote for it. But since this is not possilble, I think one of those days I will open a duplicate bug and vote for it.
Anyway, if any good soul at Sun decides to reverse the resolution and take a second look at this issue, My system is an Intel P4 2.6 Hyperthreading, Windows XP Pro SP2, Internet Explorer 6.0.
I previously used j2re1.4.2_06, with no problems. Then a month ago I installed the jre1.5.0_01 (without uninstalling j2re1.4.2), and all hell broke loose.
No more applets. Internet Explorer displayed an [X] (missing picture icon), and refused to load the applets.
I said, it must be a problem with my system. Then, today, I tried to visit www.forumula1.com because the season is starting.
The applets started displaying "The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll>".
Now that I had an error message, I was able to locate forums with many users having the same problem, and finally this bug, and I wonder, like they do, who was the idiot that marked this bug as "not reproduceable".
Submitted On 26-MAR-2005 Nhorne I have this
Submitted On 26-MAR-2005 Nhorne OK. Thanks for the workaround. It works! But how do normal non-programmer users who download the JRE know to delete the deployment.properties file? And would they trust themselves if they got this advice? Should I write this on my Java websites?
Submitted On 08-APR-2005 guest23 I can reproduce this on 1.5.0_02, but not on 1.5.0_01 when I goto java.com and try some applets.
Windows XP, servicepack 2, cygwin installed. [ June 18, 2005: Message edited by: Randall Twede ]
[ UD: Please do not post questions into unrelated threads. That's called "hijacking" and is not a nice thing to do. Start a new thread instead. Also, please KeepItDown and DontWakeTheZombies. ] [ January 31, 2008: Message edited by: Ulf Dittmer ]