Java console

[FONT=Arial]Hi,[/FONT]
[FONT=Arial]I work for a local council that for some reason has purchased an application it very flaky when using Java. Certain web screens will not launch and the only way I have found to resolve the problem is to simply open up the Java Console ant immediately close it. Unfortunately, I have been told that this is not a satisfactory fix when hundreds of people are going to be using the system(don’t you just hate bosses that don’t ask for IT input when purchasing software but expect them so resolve any problems).[/FONT]
[FONT=Arial]Anyway….I have written a batch file that will open & close the console prior to opening the IE URL(see below).[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Start /wait "" "C:\Program Files\Java\jre6\bin\javacpl.exe" [/FONT]
[FONT=Arial]ECHO Opening JAVA Console[/FONT]
[FONT=Arial]timeout 4[/FONT]
[FONT=Arial]TASKKILL /F /IM javacpl.exe[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Then problem with this is that it kills any session of Java that is running on the PC not just the console. Is there a way of just closing the console but leave all other instances of java running?[/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial]Thanks[/FONT]
 
Back