Josh Rogalski
asked on
Java applet won't run for specific user profile
We have an enterprise scheduling product that runs as a Java applet. For most of our users the applet runs fine, but on one user the applet briefly flashes a cmd.exe window and then goes away, and the applet never runs.
If I log in as a different user on that machine it runs fine, so I know it is related to that users profile. I could delete the profile, but that would cause problems of it's own. Any suggestions on what I could do to fix this? I have already tried deleting Java and reinstalling to no avail.
Find out how it's started and then change the 'open with' from javaw.exe to java.exe. That way, you should see the error in the console, which should then remain
Have you tried clearing the java cache on that user's profile? It's under the Settings button under Temporary Internet Files you should see an option to Delete Files. That cache is specific to the user's profile.
ASKER
Tried clearing the java cache. Being cautious I then tried uninstalling Java, clearing ALL The appdata files relating to java and then reinstalling but it still didn't work in either case. It flashes a command window for like 2 seconds but doesn't stay with either java.exe or javaw.exe which is strange. Also, which program should it be pointing to by default? With javaw.exe it didn't flash the console window at all, just didn't start the applet.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How are you starting it?
ASKER
I have an icon shortcut pointing to an applet stored on a shared drive. That is in the "Target" box of the shortcut. originally when I installed Java it didn't associate to any of the java exe's so for the "opens with" i picked the /bin/java.exe executable. Was this not correct?
Can you give me please the full command from that shortcut?
Glad you got it fixed. I know rebuilding profiles isn't fun but sometimes the amount of time you put into trying to fix it some other way just ends up being a waste.