Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java installer
I have uninstalled all the instances of java and now i am using an java applet in my application..
 
When i tried to access the webpage containing that applet from IE9 it ask me to install Java..
 
When i tried to install java from IE9 i found the following warning and then java couldnt install..
 
Warning: Error
 
Please help me out..
 
Thanks
Posted 1-Nov-12 21:27pm
Comments
Ravi Tuvar at 2-Nov-12 2:35am
   
if i access the page on firefox it installs successfully but not on IE9
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Java is an independent Software that provides a runtime environment for Java applications. To install Java, visit [Java Downloads Page] and download the most appropriate JRE for your Operating System. Select the windows offline version and follow instructions on how to install. If after installing you experience the same problems with IE, then know that it's IE that has the problem and not your computer
 
Regards,
Pat
  Permalink  
Comments
Ravi Tuvar at 2-Nov-12 4:37am
   
Hi Pat,
Thanks for your solution.
But when i install it using Firefox and then reload the page in IE9 then it works fine..but i want to give facility to download and install using IE9 to clients...
so in this scenario what should i do?
Patrick Wanjau at 2-Nov-12 4:49am
   
If you download and install the offline version, it is independent of the chosen browser. When you click download and save the file to a download location, once your download completes, you open the download location and run the application. The application will have no issues. However, if it still has issues, you can right click the application and change its compatibility to Win XP. I have never experienced this problem myself, but if the problem persists, you can always update your computer and run the most recent version. That way it will ensure all your files are upto date, and not broken
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You need to add a small code to your HTML-Page containing the applet.
Because the applet will not run when Java is not installed - so you need to do it in a more "native" way.
 
So add the following to your HTML code (inside the body):
 
<script type="text/javascript">
if(navigator.javaEnabled()){
document.write('Java is enabled'); <!-- add the applet in here -->
}
else {
document.write('Java is not enabled'); <!-- tell the user that it will not work -->
}
</script>

 
You can also test and develop it first without the applet.
That value in document.write(value) can be extended and carry pretty much from a simple String, an image reference up to a applet with params...
 
Have fun!
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 3 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100