Java Applet Keyboard Control
Hello,
I would like know if there is a way to control the keyboard keys
using an applet, such as disable ctrl alt del, print screen, ctrl c, ctrl v and so on? if yes could someone tell me where i can find
some informations about these.
Thank you,
Some of these keys can not be disabled easily even with C++ programs. The Ctrl+Alt+Del keystroke combination is designed not to be disabled or circumvented, for instance.
If you are using Windows NT you could try setting a system policy (and if using Windows 2000/XP, a group policy) to avoid such problems for certain classes of users (like the exam-taker one).
So you could control the environment to be very strict.
If you are setting system policies, call poledit.exe and check the "Local User Properties". There are several options, please check the Windows NT Resource Kit to learn about them. (Don't forget to have an Administrator account available if you make some mistake)
Please check the Windows 2000 Resource Kit to learn about group policies.
Similar Messages
-
Hi
can some provide some information on how to use directx input with java applet for controlling devices.
MaxIt won't work in an Applet. At least not without you shelling out hundreds of dollars to get a trusted certificate from Verisign or Thwate. And even if you do get your certificate, you're most likely to have quite a few issues and quite a few pissed off users. Now if you went for an application, you could go to http://games.dev.java.net/ and download JInput (http://jinput.dev.java.net/).
-
Java Control Panel wont open at all and any Java Applets crash web browsers
Hello,
I recently installed a fresh fully updated copy of Windows 7 Home Premium 64 bit, and I have not for the life of me been able to get Java working at all. Java version is the latest JRE 6U31. I only have Internet Explorer 9 installed but I doubt it is a browser issue since I cannot even open the Java control panel. I have tried using the 32 bit version of Java, and the 64 bit. Anytime I try to open the Java control panel with either 32 bit or 64 bit, I get an error message (click link below to view error message):
http://i65.photobucket.com/albums/h204/gobigjeff/Java%20Error/javaerror.png
I can only bring up the Java Control Panel using the command “javaws –viewer” . Anytime I try to load a web page with a Java applet in either 64 bit or 32 bit, it freezes and crashes. I am running Internet Explorer 9 and have tried both the 32 bit and 64 bit browser versions. I saw Java’s recommendation to only use the 32 bit version so I have mainly been trying to get the 32 bit version working 1st, with no success. I have tried ALL of the following steps, and have done some exhaustive research on this problem. It seems others have had this issue as well, with no solution to be found:
• Uninstalled and reinstalled only Java 32 bit JRE 6u31 multiple times (Used Javara and reg cleaner to remove all old Java traces)
• Uninstalled and reinstalled only Java 64 bit JRE 6u31 (Used Javara and reg cleaner to remove all old Java traces)
• Uninstalled and reinstalled bit JRE 7 (Used Javara and reg cleaner to remove all old Java traces)
• Used SFC /scannow in safe mode to verify Windows files
• Ran spyware and virus scan with no issues detected
• Added all java processes to windows firewall
I am out of solutions here. If anyone has had this problem with Java or knows what I need to do to fix the problem your advice would be greatly appreciated. I don’t think reinstalling windows is the solution because this is a fresh install.
Edited by: 918650 on Mar 4, 2012 1:16 PMI figured it out. I changed the installation folder to C:/Java and it finally worked!
-
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 -
On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?
Thanks for posting this!
I would only mention that your definition is incomplete for this -
Contextual selector A type of Style Sheet Selector that
and that it's most often referred to now as a Descendent selector, not a contextual selector. It's basically the same as the Compound selector that you have already defined.... -
Keyboard input failure in 2nd java applet
The (London) Times offers crosswords developed as Java applets. With Mandriva 2007 newly installed on my laptop (Firefox 1.5.0.8, JRE1.5.0_08), I completed one crossword and loaded a second: no keyboard input to cells, no focus shown on cells. Killed the applet, reloaded: same problem. Quit Firefox, restarted crossword: same problem. Quit session, restarted, reloaded Firefox and crossword: same problem.
Upgraded to Firefox 2.0 and JRE1.5.0_09. Started a crossword with a couple of entries, quit and started a second: same problem - no focus on cell, no input.
I think this is connected in some way with Mandriva 2007, because the combination Mandriva 2006 with Firefox 1.5.0.7 and JRE 1.4.2-09 works correctly.
I believe the problem lies initially with Java, because keyboard input to non-Java pages in Firefox worked without problems.I have exactly the same problem with opera 9.02 browser, jre1.6, linux debian sarge and the crossword puzzle of "Le Monde" http://www.lemonde.fr/web/article/0,1-0@2-3280,36-139043,0.html
It worked with jre 1.4 linux FC2, same opera. -
Java applet simple keyboard input
I am new to writing java applets and I am trying to write one that calls for a number from the user, this number becomes the amount of random numbers that are generated and displayed. So what is the best way to get a number from the user with an applet?
Thanx for the help, but in searching around more and more I decided to use the JOptionPane.
-
Problem Launching Java Applet with Plug-in: Version 1.4.2_01
Hello out there:
I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
Thanks,
Mike Coucke
Hi Jeff:
Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
1) I'm using MS Windows Me version 4.90.3000
2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
Thanks for the help.
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Friday, September 05, 2003 1:02 PM
Subject: RE: Registration with Lowell Education Online
Mike,
Rats! What version of Windows are you using? It's a little strange to
see the user directory set to C:\Windows; if you're using XP, I'd expect
it to be something like C:\Documents and Settings\Mike Coucke. In any
event, the output that is of concern is these two lines:
java.lang.ClassNotFoundException: LPRemote.class
Caused by: java.net.UnknownHostException: proxy
It looks like your browser is not finding our server's IP when it comes
time to download the necessary Java code.
LPRemote.class is the fundamental code that runs LOPARC, and your
browser should be downloading it automatically when you click connect.
LPRemote.class is stored along with a bunch of other classes in a file
called "LP.jar" that you download from our server. So, if you go to C:
in Windows Explorer and do a file search for LP.jar, you should find it.
On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
user home directory. Let me know if you have this file, or the
jpi-cache directory.
One other thing you might try is going to a different site that you know
uses Java applets -- I think some of the online game rooms at Yahoo use
Java. See if other sites that use Java load correctly. Then we'll know
if it's our server specifically, or a more general problem on your end.
Jeff Hall
Lowell Observatory
Hello Jeff:
I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
Following is a copy of the log from my Java Console during all of this:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class LPRemote.class not found.
java.lang.ClassNotFoundException: LPRemote.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.net.UnknownHostException: proxy
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
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
I followed this up by executing the following three console commands:
"dump system properties"
"dump classholder list"
"dump thread list"
and obtained the following listings:
Dump system properties ...
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
deployment.javaws.jre.0.enabled = true
deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.osarch = x86
deployment.javaws.jre.0.osname = Windows
deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
deployment.javaws.jre.0.platform = 1.4
deployment.javaws.jre.0.product = 1.4.2_01
deployment.javaws.jre.0.registered = true
deployment.javaws.version = javaws-1.4.2_01
deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.profile = C:\WINDOWS
deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
deployment.user.profile = C:\WINDOWS\Application Data
deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows Me 4.90)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
java.io.tmpdir = C:\WINDOWS\TEMP\
java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_01-b06
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_01
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_01-b06
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 142_01
javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
javaplugin.proxy.config.type = manual
javaplugin.version = 1.4.2_01
javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows Me
os.name.applet = true
os.version = 4.90
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level =
trustProxy = true
user.country = US
user.dir = C:\WINDOWS\Desktop
user.home = C:\WINDOWS
user.language = en
user.name = Michael G. Coucke
user.timezone =
user.variant =
Done.
Dump classloader list ...
codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
Done.
Dump thread list ...
Group main,ac=11,agc=2,pri=10
main,5,alive
AWT-Windows,6,alive,dameon
AWT-Shutdown,5,alive
Java2D Disposer,10,alive,dameon
AWT-EventQueue-0,6,alive
Group Plugin Thread Group,ac=3,agc=0,pri=10
Main Console Writer,6,alive
AWT-EventQueue-1,6,alive
TimerQueue,5,alive,dameon
Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
thread applet-LPRemote.class,4,alive
AWT-EventQueue-2,4,alive
Done.
I'm not a Java expert, so this may be more information than you ever wanted to see.
Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
Thanks fo your help,
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Thursday, September 04, 2003 11:48 AM
Subject: RE: Registration with Lowell Education Online
Hi Mike,
Try it now. I think this problem has arisen because Sun just
released a new version of the Plug-in (1.4.2), and when we released the
public beta of LOPARC, only one relevant version (1.4.0) was available
and the LOPARC code was written to look for that by default. I have
just recoded the relevant routines so they should now cause your browser
to simply pick up the latest 1.4 version of the Plug-in you have
installed, whatever it is. I "broke" Java on my machine to replicate
your problem, and the code I inserted today did fix it. Hopefully it
will have the same effect for you. I am running IE 6 and plugin
1.4.2_01 (as accessed via Tools->Sun Java Console).
One broader problem: some (non-LOPARC-specific) users on the Sun
forums have reported the "JRE collision" you are seeing when multiple
versions of the Plug-in are installed on the same machine. So if the
fix I made to our code doesn't work, one option would be to uninstall
all Java components from your computer and do a fresh install of the
latest runtime environment.
Let me know how/if this works. Thanks for the feedback and for your
patience.
Best regards,
Jeff Hall
Lowell Observatory
-----Original Message-----
From: Mike Coucke [mailto:[email protected]]
Sent: Wednesday, September 03, 2003 6:30 PM
To: [email protected]
Subject: Re: Registration with Lowell Education Online
Hello Jeff:
So far, I have been unable to launch a LOPARC session. I repeatedly
get the following error message:
"Exception: java.lang.ClassNotFoundException: LPRemote.class"
My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
using Java Plug-In version 1.4.1 and received the error message. I went
to the Sun website and downloaded/installed Java Plug-In version 1.4.2
and still get the message.
Before I try to launch LOPARC, I can select Tools->Sun Java Console from
IE's pull down menu to check my Java Plug-In version. When I try to
launch LOPARC, I get the following message:
"Applet(s) in this HTML page requires a version of Java different from
the one the browser is currently using. In order to run the applet(s)
in this HTML page, a new browser session is required, press 'Yes' to
start a new browser session." If I select 'No', I get the following
message: "Java Plug-in detected JRE collission"
If I select 'Yes', a new browser window opens and then I get the first
message above.
Can you help?
Mike Coucke
[email protected]
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Monday, September 01, 2003 5:30 PM
Subject: Registration with Lowell Education Online
September 1, 2003
Dear Michael Coucke:
Thank you for registering with Lowell Observatory's online education
site. We hope you enjoy using it and visit regularly as we continue to
expand its features and capabilities. This is a one-time welcoming
email.
For your records, your user ID is xxxxx, and your password is #########.
You'll need to supply these each time you log in.
This site gives you access to research-grade equipment including a 16"
telescope, CCD detector, and image processing software. Our online
archive of data is now available 24/7. The telescope will be opening to
our onsite users in May, and on select nights to the Internet at large
in June.
We have designed this site so you don't need a huge monitor or a
supercomputer to use it. All pages are viewable on screens running at
800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
browser with the Java 1.4 plug-in installed. If you don't have the
plug-in, you'll be prompted to download it the first time you attempt to
connect. This is an admittedly large (9 MB) but one-time-only download.
This site works correctly under Internet Explorer version 5 or higher.
If you use Netscape, you must be running version 6 or higher, and
display or applet behavior anomalies may occur.
If at any time you can't connect to our server, simply try again later.
We do experience several power outages each year, particularly during
Flagstaff's summer thunderstorm season. Our server is fully protected
and backed up, and can be quickly brought back on line, but any active
user sessions will be lost. Thanks for your patience during these
inevitable downtimes.
Your questions, comments, suggestions, and bug reports about this site
are always welcome. On behalf of the LOPARC development team, thanks
for signing up!
Jeffrey Hall
Assistant Research Scientist
Associate Director, Education and Special Programs
Lowell Observatory
Flagstaff, ArizonaHi Mike,
I see this in your logs:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
I just helped my Dad set up his computer with a new
cable modem, and had the situation where we couldn't
access any secure Web sites. The cable folks had us
disable the proxy. It looks like the error message is
saying it can't find your proxy server, and the logs
you posted say that you've decided to configure your
proxy manually, rather than using the settings from
IE (which is how mine is set up in the plugin
control panel.)
Could that be the problem?
--Steve -
Referencing a "locally installed" Java applet from a server-based HTML page
How does one reference a "locally installed" Java applet from a server-based HTML page (i.e. via the applet, object, or embed tags)? I have seen references in documentation that this is possible, but I have not seen any examples. I have tried a few things, but nothing seems to be working.
Some background...
I'm working on a web site that aggregates Internet video. For many users, I would like the site to work "without" requiring Java to be installed (or any prompts, etc.). This version of the site allows users to stream videos directly over the Internet and does not require any sort of access to the local system.
However, in addition, I have a download manager that can be installed on the local system. Currently, it's a Windows-based "service" that is always running in the background, downloading files, etc. (with plans to later support other OSes).
My dilemma is trying to communicate between my web site running in the local browser (executing JavaScript code) and the download manager. I call this component the "gateway". I need the gateway to be able to do the following:
1) Pass user credentials from the web browser UI to the download manager (so it can communicate with my servers).
2) Check the status of downloaded videos
3) Launch a local media player (such as Windows Media, QuickTime, etc.) (or perhaps tell the download manager to launch the media player).
Under Windows XP, I have an ActiveX control that can do these things. It communicates with the download manager via reading/writing to a shared XML configuration file.
Unfortunately, under Vista and IE7 Protected Mode, ActiveX controls have become very restricted and my gateway no longer works. As such, I am looking at using Java for the gateway (also giving me the additional benefits of supporting additional browsers and OSes).
From my understanding, I believe I can created a "face-less" Java applet, whose methods can be called from JavaScript. Ideally, I'm thinking I could install the applet onto the local system at the same time the download manager is installed. This would give the applet the security permissions it needs to communicate with the download manager.
Thanks for any help and suggestions!Hi,
Put the .jar file and the .class file in the path mentioned in one of the aliases in the plsql.conf file like /images or create
a seperate directory and create an alias like /applets "path" in the plsql.conf file.
<html>
<body>
<applet code=com.chartapplet.chart.BarChartApplet
codebase=/applets/
archive=/applets/chart.jar width=300 height=200>
<param name=background value="white">
</body>
</html>
Hope this helps.
Thanks,
Sharmila -
Java Applets do not run when UAC is enabled on Windows 7
HI,
I'm deploying Java 6.0_26-b03+ on Windows 7 and experiencing following problem:
Java applets do not run as standard domain users in Internet Explorer 9 on Windows 7 when UAC is enabled (i.E. http://www.java.com/de/download/installed.jsp). When logged on as Administrator or start IE9 as Administrator java applets do run.
If I diable UAC an log on as normal user then applets do run. Applets then still run if UAC is re-enabled again. It seems that UAC needs to be disabled for the Java Plug-In to register something in user context (assumption). If this registration happended Java applets do run also for standard Windows 7 users if UAC is enabled.
Since we're planning a corporate Windows 7 rollout (>800PCs) we cannot do this manually on every computer. Ther must be any solution for this problem.
Does anybody have the same problem and has already found a solution?
This is the content of the error log file generated when a standard domain user tries to run http://www.java.com/de/download/installed.jsp
+#+
+# A fatal error has been detected by the Java Runtime Environment:+
+#+
+# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x776677b2, pid=1320, tid=2380+
+#+
+# JRE version: 6.0_26-b03+
+# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )+
+# Problematic frame:+
+# C [ntdll.dll+0x477b2]+
+#+
+# If you would like to submit a bug report, please visit:+
+# http://java.sun.com/webapps/bugreport/crash.jsp+
+# The crash happened outside the Java Virtual Machine in native code.+
+# See problematic frame for where to report the bug.+
+#+
--------------- T H R E A D ---------------
+Current thread (0x01da8c00): JavaThread "main" [_thread_in_native, id=2380, stack(0x02420000,0x02620000)]+
siginfo: ExceptionCode=0xc0000005, writing address 0x00000024
Registers:
EAX=0x00000024, EBX=0x33827b58, ECX=0x7c38b4e8, EDX=0x7efeff3d
ESP=0x02616090, EBP=0x026160a4, ESI=0x00000024, EDI=0x00000020
EIP=0x776677b2, EFLAGS=0x00250212
Top of Stack: (sp=0x02616090)
+0x02616090: 02616236 00000000 7c34214f 01da6bc8+
+0x026160a0: 026160e4 026160ec 7c34f639 00000020+
+0x026160b0: 7c36b73f 00000000 6d1db83c 02616236+
+0x026160c0: 00000000 33827b58 7c38b548 026160b8+
+0x026160d0: 0000000d 026160bc 02615b4c 026165e0+
+0x026160e0: 7c34240d 7c382198 ffffffff 02616454+
+0x026160f0: 6d1d3b45 6d1db83c 00000000 02616210+
+0x02616100: 6d1db84c 01da8c00 33827b58 00000000+
Instructions: (pc=0x776677b2)
+0x77667792: 33 c0 5e 5d c2 04 00 90 90 90 90 90 90 90 8b ff+
+0x776677a2: 55 8b ec 83 ec 0c 56 57 8b 7d 08 8d 77 04 8b c6+
+0x776677b2: f0 0f ba 30 00 0f 83 eb e2 00 00 64 a1 18 00 00+
+0x776677c2: 00 8b 48 24 89 4f 0c c7 47 08 01 00 00 00 5f 33+
Register to memory mapping:
EAX=0x00000024 is an unknown value
EBX=0x33827b58 is an oop
+{method}+
+- klass: {other class}+
ECX=0x7c38b4e8 is an unknown value
EDX=0x7efeff3d is an unknown value
ESP=0x02616090 is pointing into the stack for thread: 0x01da8c00
EBP=0x026160a4 is pointing into the stack for thread: 0x01da8c00
ESI=0x00000024 is an unknown value
EDI=0x00000020 is an unknown value
Stack: [0x02420000,0x02620000], sp=0x02616090, free space=2008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
+C [ntdll.dll+0x477b2] RtlEnterCriticalSection+0x12+
+C [MSVCR71.dll+0xf639] _crtGetLocaleInfoW+0x2b1+
+C [deploy.dll+0x3b45] Java_com_sun_deploy_config_WinConfig_installShortcut+0x235+
j com.sun.deploy.config.Config.versionUpdateCheck()V392+
j com.sun.deploy.config.Config.initialize()Z256+
j com.sun.deploy.config.Config.<clinit>()V1933+
v ~StubRoutines::call_stub
+V [jvm.dll+0xfae4b]+
+V [jvm.dll+0x18c531]+
+V [jvm.dll+0xfaecd]+
+V [jvm.dll+0x7deb7]+
+V [jvm.dll+0x7ed1e]+
+V [jvm.dll+0x7f009]+
+V [jvm.dll+0x7f126]+
+V [jvm.dll+0x4d719]+
+V [jvm.dll+0x4de7f]+
+V [jvm.dll+0x4e050]+
+V [jvm.dll+0x4ac51]+
j sun.plugin2.main.server.JVMManager.processJREInfo()V32+
j sun.plugin2.main.server.JVMManager.<init>()V86+
j sun.plugin2.main.server.JVMManager.<clinit>()V72+
v ~StubRoutines::call_stub
+V [jvm.dll+0xfae4b]+
+V [jvm.dll+0x18c531]+
+V [jvm.dll+0xfaecd]+
+V [jvm.dll+0x7deb7]+
+V [jvm.dll+0x7ed1e]+
+V [jvm.dll+0x7f009]+
+V [jvm.dll+0x7f126]+
+V [jvm.dll+0x4d719]+
+V [jvm.dll+0x4de7f]+
+V [jvm.dll+0x4e050]+
+V [jvm.dll+0x4ac51]+
j sun.plugin2.main.server.IExplorerPlugin.<clinit>()V41+
v ~StubRoutines::call_stub
+V [jvm.dll+0xfae4b]+
+V [jvm.dll+0x18c531]+
+V [jvm.dll+0xfaecd]+
+V [jvm.dll+0x7deb7]+
+V [jvm.dll+0x7ed1e]+
+V [jvm.dll+0x7f009]+
+V [jvm.dll+0x7f126]+
+V [jvm.dll+0xb2ae9]+
+V [jvm.dll+0x94be8]+
+C [jp2iexp.dll+0x25b6] Java_sun_plugin2_main_server_WindowsHelper_uninstallHook+0xeaa+
+C [jp2iexp.dll+0x3b6b] Java_sun_plugin2_main_server_IExplorerPlugin_fillInExceptionInfo0+0x7ee+
+C [jp2iexp.dll+0xd2a4] DllGetClassObject+0x57c6+
+C [MSHTML.dll+0x156e41] RunHTMLApplication+0x1a9a+
+C [MSHTML.dll+0x156c95] RunHTMLApplication+0x18ee+
+C [MSHTML.dll+0x156cc3] RunHTMLApplication+0x191c+
+C [MSHTML.dll+0x156948] RunHTMLApplication+0x15a1+
+C [MSHTML.dll+0x15675f] RunHTMLApplication+0x13b8+
+C [MSHTML.dll+0x1563bf] RunHTMLApplication+0x1018+
+C [MSHTML.dll+0x15602e] RunHTMLApplication+0xc87+
+C [MSHTML.dll+0x99a35] MatchExactGetIDsOfNames+0x5eed7+
+C [MSHTML.dll+0x262624] CTravelLog_CreateInstance+0x1edcf+
+C [MSHTML.dll+0x29dc6f] DllGetClassObject+0x23eb1+
+C [MSHTML.dll+0x267e1c] CTravelLog_CreateInstance+0x245c7+
+C [MSHTML.dll+0x267d48] CTravelLog_CreateInstance+0x244f3+
+C [MSHTML.dll+0x267cad] CTravelLog_CreateInstance+0x24458+
+C [MSHTML.dll+0x267c0d] CTravelLog_CreateInstance+0x243b8+
+C [MSHTML.dll+0x24b83d] CTravelLog_CreateInstance+0x7fe8+
+C [MSHTML.dll+0x3ea169] DllGetClassObject+0x1703ab+
+C [MSHTML.dll+0x4095e0] DllGetClassObject+0x18f822+
+C [USER32.dll+0x1c4e7] gapfnScSendMessage+0x1cf+
+C [USER32.dll+0x1c5e7] gapfnScSendMessage+0x2cf+
+C [USER32.dll+0x1cc19] gapfnScSendMessage+0x901+
+C [USER32.dll+0x1cc70] DispatchMessageW+0xf+
+C [IEFRAME.dll+0xf1b83] Ordinal234+0x6520+
+C [IEFRAME.dll+0x111ac6] Ordinal224+0x17ff9+
+C [iertutil.dll+0x140150] Ordinal59+0x8b+
+C [IEFRAME.dll+0xffe03] Ordinal224+0x6336+
+C [kernel32.dll+0x53c45] BaseThreadInitThunk+0x12+
+C [ntdll.dll+0x637f5] RtlInitializeExceptionChain+0xef+
+C [ntdll.dll+0x637c8] RtlInitializeExceptionChain+0xc2+
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.deploy.config.WinConfig.getBrowserPath()Ljava/lang/String;0+
j com.sun.deploy.config.Config.versionUpdateCheck()V392+
j com.sun.deploy.config.Config.initialize()Z256+
j com.sun.deploy.config.Config.<clinit>()V1933+
v ~StubRoutines::call_stub
j sun.plugin2.main.server.JVMManager.processJREInfo()V32+
j sun.plugin2.main.server.JVMManager.<init>()V86+
j sun.plugin2.main.server.JVMManager.<clinit>()V72+
v ~StubRoutines::call_stub
j sun.plugin2.main.server.IExplorerPlugin.<clinit>()V41+
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
+0x03226400 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=1796, stack(0x0a8c0000,0x0a9c0000)]+
+0x031e2c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2144, stack(0x0a7b0000,0x0a8b0000)]+
+0x031d3800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2036, stack(0x050d0000,0x051d0000)]+
+0x031d2800 JavaThread "Attach Listener" daemon [_thread_blocked, id=1268, stack(0x0a5b0000,0x0a6b0000)]+
+0x031d0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1120, stack(0x0a4b0000,0x0a5b0000)]+
+0x031ca000 JavaThread "Finalizer" daemon [_thread_blocked, id=1140, stack(0x09fc0000,0x0a0c0000)]+
+0x031c8c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2500, stack(0x0a380000,0x0a480000)]+
+=>0x01da8c00 JavaThread "main" [_thread_in_native, id=2380, stack(0x02420000,0x02620000)]+
Other Threads:
+0x0318c800 VMThread [stack: 0x0a1c0000,0x0a2c0000] [id=2672]+
+0x031f2000 WatcherThread [stack: 0x0a9c0000,0x0aac0000] [id=2712]+
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 281K [0x317e0000, 0x31d30000, 0x32280000)
eden space 4416K, 6% used [0x317e0000, 0x31826480, 0x31c30000)
from space 512K, 0% used [0x31c30000, 0x31c30000, 0x31cb0000)
to space 512K, 0% used [0x31cb0000, 0x31cb0000, 0x31d30000)
tenured generation total 10944K, used 0K [0x32280000, 0x32d30000, 0x337e0000)
the space 10944K, 0% used [0x32280000, 0x32280000, 0x32280200, 0x32d30000)
compacting perm gen total 12288K, used 371K [0x337e0000, 0x343e0000, 0x377e0000)
the space 12288K, 3% used [0x337e0000, 0x3383cc08, 0x3383ce00, 0x343e0000)
ro space 10240K, 51% used [0x377e0000, 0x37d0dff8, 0x37d0e000, 0x381e0000)
rw space 12288K, 55% used [0x381e0000, 0x3887c208, 0x3887c400, 0x38de0000)
Code Cache [0x0c910000, 0x0c980000, 0x0e910000)
total_blobs=147 nmethods=5 adapters=79 free_code_cache=33098880 largest_free_block=0
Dynamic libraries:
+0x00a40000 - 0x00af8000 C:\Program Files\Internet Explorer\iexplore.exe+
+0x77620000 - 0x7775c000 C:\Windows\SYSTEM32\ntdll.dll+
+0x75f50000 - 0x76024000 C:\Windows\system32\kernel32.dll+
+0x75a70000 - 0x75aba000 C:\Windows\system32\KERNELBASE.dll+
+0x777a0000 - 0x77840000 C:\Windows\system32\ADVAPI32.dll+
+0x75d60000 - 0x75e0c000 C:\Windows\system32\msvcrt.dll+
+0x75ac0000 - 0x75ad9000 C:\Windows\SYSTEM32\sechost.dll+
+0x764a0000 - 0x76541000 C:\Windows\system32\RPCRT4.dll+
+0x77250000 - 0x77319000 C:\Windows\system32\USER32.dll+
+0x76450000 - 0x7649e000 C:\Windows\system32\GDI32.dll+
+0x77840000 - 0x7784a000 C:\Windows\system32\LPK.dll+
+0x76550000 - 0x765ed000 C:\Windows\system32\USP10.dll+
+0x75ee0000 - 0x75f37000 C:\Windows\system32\SHLWAPI.dll+
+0x765f0000 - 0x7723a000 C:\Windows\system32\SHELL32.dll+
+0x774c0000 - 0x7761c000 C:\Windows\system32\ole32.dll+
+0x75c20000 - 0x75d30000 C:\Windows\system32\urlmon.dll+
+0x76080000 - 0x7610f000 C:\Windows\system32\OLEAUT32.dll+
+0x76110000 - 0x762c6000 C:\Windows\system32\iertutil.dll+
+0x762d0000 - 0x763ea000 C:\Windows\system32\WININET.dll+
+0x75f40000 - 0x75f43000 C:\Windows\system32\Normaliz.dll+
+0x75d40000 - 0x75d5f000 C:\Windows\system32\IMM32.DLL+
+0x75e10000 - 0x75edc000 C:\Windows\system32\MSCTF.dll+
+0x66850000 - 0x67195000 C:\Windows\system32\IEFRAME.dll+
+0x77240000 - 0x77245000 C:\Windows\system32\PSAPI.DLL+
+0x73850000 - 0x7388c000 C:\Windows\system32\OLEACC.dll+
+0x743d0000 - 0x7456e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll+
+0x75b70000 - 0x75beb000 C:\Windows\system32\comdlg32.dll+
+0x73600000 - 0x73631000 C:\Program Files\Internet Explorer\IEShims.dll+
+0x75740000 - 0x7574c000 C:\Windows\system32\CRYPTBASE.dll+
+0x75590000 - 0x75598000 C:\Windows\system32\Secur32.dll+
+0x756d0000 - 0x756eb000 C:\Windows\system32\SSPICLI.DLL+
+0x757c0000 - 0x757cb000 C:\Windows\system32\profapi.dll+
+0x77760000 - 0x77795000 C:\Windows\system32\WS2_32.dll+
+0x75d30000 - 0x75d36000 C:\Windows\system32\NSI.dll+
+0x750a0000 - 0x750e4000 C:\Windows\system32\dnsapi.DLL+
+0x72fa0000 - 0x72fbc000 C:\Windows\system32\iphlpapi.DLL+
+0x72f90000 - 0x72f97000 C:\Windows\system32\WINNSI.DLL+
+0x757b0000 - 0x757be000 C:\Windows\system32\RpcRtRemote.dll+
+0x63ef0000 - 0x64aa8000 C:\Windows\system32\MSHTML.dll+
+0x74cb0000 - 0x74cb9000 C:\Windows\system32\VERSION.dll+
+0x6f5f0000 - 0x6f6aa000 C:\Windows\system32\d2d1.dll+
+0x6c8a0000 - 0x6c9aa000 C:\Windows\system32\DWrite.dll+
+0x6d3c0000 - 0x6d443000 C:\Windows\system32\dxgi.dll+
+0x739d0000 - 0x739e3000 C:\Windows\system32\dwmapi.dll+
+0x75300000 - 0x75316000 C:\Windows\system32\CRYPTSP.dll+
+0x758d0000 - 0x758fd000 C:\Windows\system32\WINTRUST.dll+
+0x75950000 - 0x75a6d000 C:\Windows\system32\CRYPT32.dll+
+0x75830000 - 0x7583c000 C:\Windows\system32\MSASN1.dll+
+0x74b70000 - 0x74b91000 C:\Windows\system32\ntmarta.dll+
+0x76030000 - 0x76075000 C:\Windows\system32\WLDAP32.dll+
+0x75000000 - 0x7503b000 C:\Windows\system32\rsaenh.dll+
+0x75ae0000 - 0x75b63000 C:\Windows\system32\CLBCatQ.DLL+
+0x69240000 - 0x69272000 C:\Program Files\Internet Explorer\ieproxy.dll+
+0x756f0000 - 0x7573c000 C:\Windows\system32\apphelp.dll+
+0x74130000 - 0x74263000 C:\Windows\System32\msxml3.dll+
+0x75750000 - 0x757af000 C:\Windows\system32\SXS.DLL+
+0x73d90000 - 0x73d9b000 C:\Windows\system32\msimtf.dll+
+0x6d390000 - 0x6d3bb000 C:\Windows\system32\msls31.dll+
+0x77320000 - 0x774bd000 C:\Windows\system32\setupapi.dll+
+0x75920000 - 0x75947000 C:\Windows\system32\CFGMGR32.dll+
+0x75900000 - 0x75912000 C:\Windows\system32\DEVOBJ.dll+
+0x73570000 - 0x7359c000 C:\Windows\system32\d3d10_1.dll+
+0x734b0000 - 0x734ea000 C:\Windows\system32\d3d10_1core.dll+
+0x6c770000 - 0x6c89c000 C:\Windows\system32\D3D10Warp.dll+
+0x69760000 - 0x6978e000 C:\Windows\system32\MLANG.dll+
+0x74970000 - 0x74a65000 C:\Windows\system32\PROPSYS.dll+
+0x6ab00000 - 0x6ac02000 C:\Windows\system32\d3d10.dll+
+0x73520000 - 0x73553000 C:\Windows\system32\d3d10core.dll+
+0x73d40000 - 0x73d80000 C:\Windows\system32\UxTheme.dll+
+0x73180000 - 0x731d2000 C:\Windows\system32\RASAPI32.dll+
+0x73160000 - 0x73175000 C:\Windows\system32\rasman.dll+
+0x73150000 - 0x7315d000 C:\Windows\system32\rtutils.dll+
+0x6f6b0000 - 0x6f6b6000 C:\Windows\system32\sensapi.dll+
+0x75190000 - 0x751cc000 C:\Windows\system32\mswsock.dll+
+0x74d40000 - 0x74d45000 C:\Windows\System32\wshtcpip.dll+
+0x747f0000 - 0x74815000 C:\Windows\system32\peerdist.dll+
+0x74e00000 - 0x74e17000 C:\Windows\system32\USERENV.dll+
+0x753f0000 - 0x7540b000 C:\Windows\system32\AUTHZ.dll+
+0x747e0000 - 0x747f0000 C:\Windows\system32\NLAapi.dll+
+0x72330000 - 0x72336000 C:\Windows\system32\rasadhlp.dll+
+0x75180000 - 0x75186000 C:\Windows\System32\wship6.dll+
+0x72b90000 - 0x72bc8000 C:\Windows\System32\fwpuclnt.dll+
+0x695a0000 - 0x6975b000 C:\Windows\System32\jscript9.dll+
+0x72de0000 - 0x72e1a000 C:\Windows\System32\Dxtrans.dll+
+0x74790000 - 0x747a4000 C:\Windows\System32\ATL.DLL+
+0x74330000 - 0x7433a000 C:\Windows\system32\ddrawex.dll+
+0x694b0000 - 0x69597000 C:\Windows\system32\DDRAW.dll+
+0x742d0000 - 0x742d6000 C:\Windows\system32\DCIMAN32.dll+
+0x6c710000 - 0x6c769000 C:\Windows\System32\Dxtmsft.dll+
+0x73a00000 - 0x73afb000 C:\Windows\system32\windowscodecs.dll+
+0x6cf70000 - 0x6cfa2000 C:\Windows\system32\WINMM.dll+
+0x739a0000 - 0x739cf000 C:\Windows\system32\XmlLite.dll+
+0x74310000 - 0x74317000 C:\Windows\system32\msiltcfg.dll+
+0x6c410000 - 0x6c650000 C:\Windows\system32\msi.dll+
+0x6ac70000 - 0x6acb7000 C:\Windows\system32\Adobe\Director\SwDir.dll+
+0x6c6d0000 - 0x6c703000 C:\Windows\system32\windowscodecsext.dll+
+0x69790000 - 0x69809000 C:\Windows\system32\mscms.dll+
+0x6ac30000 - 0x6ac68000 C:\Windows\system32\icm32.dll+
+0x69410000 - 0x694ad000 C:\Windows\system32\Adobe\Shockwave 11\Control.dll+
+0x6e810000 - 0x6e861000 C:\Windows\system32\winspool.drv+
+0x69390000 - 0x69402000 C:\Windows\system32\DSOUND.dll+
+0x74ac0000 - 0x74ae5000 C:\Windows\system32\POWRPROF.dll+
+0x74a70000 - 0x74aa9000 C:\Windows\System32\MMDevApi.dll+
+0x73960000 - 0x73996000 C:\Windows\system32\AUDIOSES.DLL+
+0x736e0000 - 0x736ec000 C:\Windows\system32\mssprxy.dll+
+0x69320000 - 0x6938a000 C:\Windows\system32\vbscript.dll+
+0x653b0000 - 0x659de000 C:\Windows\system32\Macromed\Flash\Flash10t.ocx+
+0x74f70000 - 0x74f78000 C:\Windows\system32\credssp.dll+
+0x74f20000 - 0x74f5a000 C:\Windows\system32\schannel.DLL+
+0x67430000 - 0x674f8000 C:\Windows\system32\OPENGL32.DLL+
+0x68ce0000 - 0x68d02000 C:\Windows\system32\GLU32.dll+
+0x10000000 - 0x10dc0000 C:\Windows\system32\ig4icd32.dll+
+0x68c70000 - 0x68cd4000 C:\Windows\system32\D3DIM.DLL+
+0x67360000 - 0x6742c000 C:\Windows\system32\D3DIM700.DLL+
+0x01d40000 - 0x01d5f000 C:\Program Files\Java\jre6\bin\jp2iexp.dll+
+0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\MSVCR71.dll+
+0x72d30000 - 0x72d37000 C:\Windows\system32\wsock32.dll+
+0x71b10000 - 0x71b20000 C:\Windows\system32\napinsp.dll+
+0x71af0000 - 0x71b02000 C:\Windows\system32\pnrpnsp.dll+
+0x720d0000 - 0x720d8000 C:\Windows\System32\winrnr.dll+
+0x71ae0000 - 0x71aed000 C:\Windows\system32\wshbth.dll+
+0x6f8f0000 - 0x6f974000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll+
+0x6d7f0000 - 0x6da9f000 C:\PROGRA~1\Java\jre6\bin\client\jvm.dll+
+0x6d7a0000 - 0x6d7ac000 C:\PROGRA~1\Java\jre6\bin\verify.dll+
+0x6d320000 - 0x6d33f000 C:\PROGRA~1\Java\jre6\bin\java.dll+
+0x6d7e0000 - 0x6d7ef000 C:\PROGRA~1\Java\jre6\bin\zip.dll+
+0x01dc0000 - 0x01dc6000 C:\Program Files\Java\jre6\bin\jp2native.dll+
+0x6d1d0000 - 0x6d1e3000 C:\Program Files\Java\jre6\bin\deploy.dll+
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\jre6\lib\deploy.jar;C:\PROGRA~1\Java\jre6\lib\javaws.jar;C:\PROGRA~1\Java\jre6\lib\plugin.jar -Xmx32m -Djava.awt.headless=true -Dkernel.background.download=false -Dkernel.download.dialog=false -XX:MaxDirectMemorySize=64m
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=C:\Program Files\Internet Explorer;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\Empirum
USERNAME=%username%
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 3063864k(2285416k free), swap 6125972k(5328168k free)
vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE (1.6.0_26-b03), built on May 4 2011 00:50:59 by "java_re" with MS VC+ 7.1 (VS2003)+
time: Thu Jun 30 17:20:35 2011
elapsed time: 0 secondsuser11262844 wrote:
Since we're planning a corporate Windows 7 rollout (>800PCs) we cannot do this manually on every computer. Ther must be any solution for this problem.If you're doing a corporate rollout of that size then surely you're just making an image of the desired configuration and just duplicating it onto the 800 PCs? In which case you would just configure IE appropriately as part of the image.
Or alternatively you are manually configuring each of the 800 PCs, in which case this would be just one more thing in the checklist. -
We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51. Most are on 6 update 45. We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
For the past two weeks, we have been having trouble with our installation pre-pilot. What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51. The Java Control panel works. We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
We have tried the following things, none of which worked:
Clear Internet Explorer browser cache and cookies.
Clear the local Java cache.
Reboot the computer.
Reset Internet Explorer settings, including personal settings.
The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer. It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account. First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass. This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
javaclean.ps1:
#Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
write-host "Searching for all installed Java versions" -ForegroundColor Yellow
[array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
if ($javas.count -gt 0)
write-host "Java is already Installed" -ForegroundColor Yellow
#Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
[array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
$processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
$processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
$processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
$processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
$processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
$processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
if ($processes.Count -gt 0)
foreach ($myprocess in $processes)
$myprocess.kill()
#Loop through the installed Java products.
foreach($java in $javas){
write-host "Uninstalling "$java.name -ForegroundColor Yellow
$java.Uninstall()
After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
install.vbs
'* Script: Install JRE 7 routine
'* Date: 3/14/14
'* Author: [REDACTED]
'* Rev: 1.0
'* Notes:
'/// Common
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWshShell = CreateObject("WScript.Shell")
' Get system architecture
Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
Dim objSys
For Each objSys In colSys
If objSys.AddressWidth = 64 Then bolIs64Bit = True
Next
' Get operating system
Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
Dim objOS
For Each objOS In colOS
If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
bolIsWin8 = True
WScript.Echo "win8"
End If
If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
bolIsWin81 = True
WScript.Echo "win81"
End If
Next
' Set 32 bit program files directory
If bolIs64Bit = True Then
strPFILES = "Program Files (x86)"
strSYSDIR = "SysWOW64"
Else strPFILES = "Program Files"
strSYSDIR = "System32"
End If
' Set windows directory
strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
' Set the current directory
strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
' Set computer name
strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
'/// Main script
'/// Install via .msi & capture exit code
'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
' "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
'wscript.quit(intExitCode)
'****RUN COMMANDS HERE****
' Create folder structure if it doesn't exist already
strFullPath = "c:\Windows\Sun\Java\Deployment" '
' How many levels are there in the path?
nLevel = 0
strParentPath = strFullPath
Do Until strParentPath = ""
strParentPath = objFSO.GetParentFolderName(strParentPath)
nLevel = nLevel + 1
Loop
For iLevel = 1 To nLevel
' Figure out path for directory at level iLevel
strParentPath = strFullPath
For j = 1 To nLevel - iLevel
strParentPath = objFSO.GetParentFolderName(strParentPath)
Next
' Does this directory exist? If not, create it.
If objFSO.FolderExists(strParentPath) = False Then
Set newFolder = objFSO.CreateFolder(strParentPath)
End If
Next
' Kill running processes
objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
objWshShell.Run "taskkill /F /IM java.exe", 8, True
objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
' Copy deployment files
objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
' Disable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
' End If
' Install application
intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
' Enable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
' End If
wscript.quit(intExitCode)
'/// Install via .exe on network
'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
' "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
' Need to turn off the open file security warning first
Set objEnv = objWshShell.Environment("PROCESS")
objEnv("SEE_MASK_NOZONECHECKS") = 1
' intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
' "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
' WScript.Quit(intExitCode)
'****RUN COMMANDS HERE****
' Then turn it back on
objEnv.Remove("SEE_MASK_NOZONECHECKS")
'/// Additional functions
Help on this issue would be much appreciated!It turns out that this is actually a problem with Kronos Workforce Central. We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6. After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
Case closed! -
java applets will not load,
i have run the java test page & i have the latest version installed.
have removed all old versions of java from my hard drive & restarted the computer.
i have checked that java is enabled in the plug-ins and it is with version se 6 u22, also something called java development toolkit 6.0.220.4 np runtime script plug-in library for java (tm) deploy.
if i click on java console in tolls nothing happensHi,
You might want to look in your control panel for 'Java' icon. It should give you an option to enable java plugin into your browser. Let me know if you still face the issue.
Thanks! -
Java Applet - slow response over WAN and fast on LAN
Hi All,
Using Tomcat we have a Java applet that runs very slow over the Internet but just the opposite on the LAN (fast). On our website we have a link that we click which initializes the application. it is very slow but if the same link is clicked on the LAN it is very fast in responding. We have a 10MB internet connection and even when testing with very little traffic after peak business hours we have same results.When closing the browser and reopening it is much faster the second time. This tells me it is being Cached. If I go to a system that has never accessed the applet we are very slow again. We are hosting this application for a 3rd party so we did not write the code. This company is finger pointing at Router and I am finger pointing at Java application itself maybe not being optimal.
I am attaching "debug" info from Java Console. Can anyone identify any issues from this debug output or familiarity with this type issue. Your insight is greatly appreciated.
Java Plug-in 1.5.0_01
Using JRE version 1.5.0_01 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Administrator
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Netscape Navigator ...
network: Reading user preference file from C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\APPLICATION DATA\Mozilla\Profiles\default\4i0ghip7.slt\prefs.js
network: Done.
network: Loading browser proxy configuration ...
network: Done.
network: Proxy Configuration: Browser Proxy Configuration
basic: Cache is enabled
basic: Location: C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 0
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@b1b4c3, refcount=1
network: Connecting http://www.mgaucb.com/gottlieb/images/codonix.png with proxy=DIRECT
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
Internal Version: 3.0.35 Build id: TB-200402041305-35
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Internal Version: 3.0.35 Build id: TB-200402041305-35
Codebase: http://www.mgaucb.com/gottlieb/
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Codebase: http://www.mgaucb.com/gottlieb/
Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: Documentbase: http://www.mgaucb.com/gottlieb/TBUC.html
WebAppPath: /gottlieb
Mar 7, 2009 1:12:03 AM com.codonix.trackerboard.gui.TrackerBoardApplet start(null:-1)
INFO: WebAppPath: /gottlieb
basic: Modality pushed
basic: Modality popped
network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECT
Initial Trackerboard/Table: TBUrgentCare/null
Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
INFO: Initial Trackerboard/Table: TBUrgentCare/null
SiteID: CodoniX
Mar 7, 2009 1:12:35 AM com.codonix.trackerboard.gui.TrackerBoardApplet doLogin(null:-1)
INFO: SiteID: CodoniX
liveconnect: the url of the applet is http://www.mgaucb.com and the permission is = false
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
Starting UI Generator....
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
Warning: No permission to control logging.
Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
WARNING: No permission to control logging.
Warning: No permission to control logging.
Mar 7, 2009 1:12:58 AM com.codonix.uigenerator.StartApplet init(null:-1)
WARNING: No permission to control logging.
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
liveconnect: JavaScript: default security policy = http://www.mgaucb.com
liveconnect: JavaScript: calling Java system code
network: Connecting socket://www.mgaucb.com:80 with proxy=DIRECTHi Geoff,
Thanks for posting here.
Have you checked your internet edge router ? and make sure there is no any speed limitation set on it , like QOS.
You may also try the methods below:
1. Disable RSS, Chimney, AutoTuning on 2008R2
How to know if TCP offload is working
http://blogs.technet.com/b/brad_rutkowski/archive/2007/08/10/how-to-know-if-tcp-offload-is-working.aspx
2. Install Hotfix 982860
A computer that is running Windows 7 or Windows Server 2008 R2 takes four minutes to open a Microsoft Office 2003 document from a network share
http://support.microsoft.com/kb/982860
Thanks.
Tiger Li
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
When I periodically accessed your Plugin Check and Updates web page in the past, I really appreciated you connecting me to the correct Plugin Updates vendor web page when I clicked on your red Update Now button. This time, however, your Java Applet Plug-in "Update Now" button linked me to the Oracle Java "7u65 Updates Release Notes" instead of the usual download page. It seems rather unexpected for me, or any other conscientious user for that matter, to search the appropriate "JDK 7U65" file download from the Oracle website.
Thank you,This is getting way too complicated for normal peop.
First: the "Update Plugin" does not work, it goes to a page with all sort of computer jargon but no "Update button" anywhere.
Second: this forum jscher2000 gives a good solution, but I downloaded the incorrect java update, because my computer is 64 bit. how am I supposed to know my browser is what it refers to and that FF is 32 bit.....???$%^&*()??
Third: some of those "critical update" software are not even on my computer....well at least I don't think it is, I search for "shockwave" and did not find it.
I love Moz FF but the updating is starting to get out of control. why give us (computer idiot) an auto recommendation update not tailored to our computer? Perhaps in big letters at the top there should be an explanation "this is general suggestion these plugin needs updating, not to tailored with your computer, do your own research"
and/or add info I need to know like the 32 bit thing, took me forever to download the 64bit update for JAVA and it was the wrong one.
Now I am just afraid to update anything for FF because it is too darn confusing. -
Java Applet not displaying in Internet Explorer Options
For some reason my Internet Explorer browser is refusing to use Java. I've installed IE 8 and reinstalled the Java application, yet when I go to check the IE Options, the Java Applet does not even display as a selectable option. It works just fine in Firefox, which is what baffles me. As a direct result of this, my Java Desktop applications aren't working properly either. I have one that creates custom playing cards and I can change the backgrounds and view all my cards, but it will not save the information, an error of which I believe to be related to how Java isn't working with IE 8.
Any ideas? I've made sure that my virus protection is up to date. I'm at my wits end.I'm having this exact or a very similar issue on Windows 7 Home Premium (64 bit) laptop with JRE 1.6.0_17
smccoy wrote:
Java doesn't work with my Internet Explorer, but it does work with Firefox. After deleting "temporary Internet Files" and restarting Internet Explorer 8.0.7600.16385 Java applets work on the browser.
>
Java does not appear in my Internet Options advanced tab.This is the main problem I have, Java is nowhere to be seen under Internet Options
>
And, in the Java control panel advanced default browser for Java, the IE is checked but greyed out. Same thing here
Only thing I can think of is that I've installed both the 32 bit and 64 bit JRE on this machine so I can have Java on both IE 32 bit an IE 64 bit.
Mght that come into play here?
Maybe you are looking for
-
The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehe
-
Hi all, I know its is an repeated question but could not find the correct information . What exactly do you mean by 1:N mapping . Regards
-
Linking af:selectInputDate component to other Components
Hello All, Can someone offer me any advice here? I have two components on my screen. One is a SelectInputDate component and the other component is a daily schedule component. Here's my problem (bear with me, its not as easy as it first appears). When
-
Fetch the records based on number
Hi experts, I have a req like if user give input as 5..it should fetch 5 records from database. for example database values are SERNR MATNR 101 A 102
-
Using MacBook Pro for point of sale.
My fiancee and I own a small photography business and recently got a studio setup. What I want to do is use my MacBook Pro as our register and hook it up to an electronic cash drawer, but someone I spoke to said that it will destroy my laptop. He sai