Java -Plugin detected JRE collission

Hey ia ma using the follow script

<script language="javascript">

var _app = navigator.appName;

if(_app == 'Microsoft Internet Explorer'){

document.write( '<OBJECT ID="VoiceRecorder" class="recStyle"',

'classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"',

'WIDTH = 250',

'HEIGHT = 150',

'codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2">',

'<PARAM NAME = CODE VALUE = RecAndPlay.RecAndPlay >',

'<PARAM NAME = CODEBASE VALUE = "/webmail/webmail/" >',

'<PARAM NAME = ARCHIVE VALUE = sRecAndPlay.jar >' ,

'<PARAM NAME = "type" VALUE="application/x-java-applet;jpi-version=1.4.2">',

'<PARAM NAME = voiceData VALUE="">' ,

'<PARAM NAME=PLAY_ONLY VALUE=false>',

'<PARAM NAME=VOICE_URL VALUE="inMem">',

'<PARAM NAME=MAX_REC_LIMIT VALUE="300">',

'</OBJECT>');

}

else if(_app == 'Netscape'){

document.write(' <EMBED ',

'type = "application/x-java-applet;version=1.4" ',

'java_CODE = "RecAndPlay.RecAndPlay"',

'java_CODEBASE = "/webmail/webmail/"',

'java_ARCHIVE = "sRecAndPlay.jar"',

'WIDTH = "250"',

'HEIGHT = "150"',

'PLAY_ONLY = "false"',

'VOICE_URL = "inMem"',

'MAX_REC_LIMIT = "300"',

'pluginspage="https://java.sun.com/products/plugin/index.html#download">',

'</EMBED>');

}

else {

document.write('

Sorry, unsupported browser.

');

}

</script>

Previous it was working wheb i had jre. But once i installed jre 1.4 (and also tried with jre 1.5) it is giving this error in MOZILLA browser. But working fine in IE browser.

[1844 byte] By [Subrata.Sahaa] at [2007-10-2 6:41:37]
# 1
first uninstall all the previous JRE version.Open Jav plug-in from control panel and select the java tab, Select only one JRE version into this tab.restart ur browser, perhaps u does not get this problem in future.
153mk246a at 2007-7-16 13:49:47 > top of Java-index,Desktop,Deploying...