Link to home
Start Free TrialLog in
Avatar of Josh Rogalski
Josh RogalskiFlag for United States of America

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.  

Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of Josh Rogalski

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
Avatar of William Fulks
William Fulks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How are you starting it?
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?

User generated image
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.