Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a web product (java), that is developed by other team. When ever I access that product using 64 bit browser, It is saying this browser is 32 bit browser. I use a javascript code for checking the browser is 64 or 32 bit.
Here is that js code :
JavaScript
if (navigator.userAgent.indexOf("WOW64") != -1 )
{
   alert("This is a 32 bit browser");
}
else if ( navigator.userAgent.indexOf("Win64") != -1 ) {
     alert("This is a 64 bit browser");
}
else {
   alert("This is a 32 bit OS");
}
Please help me how to change into 64 bit
Posted
Updated 3-Feb-15 17:26pm
v2
Comments
Richard MacCutchan 3-Feb-15 5:59am    
You have to run the 64-bit browser to start with.
ZurdoDev 4-Feb-15 8:08am    
If you are using a 64 bit browser and the Java app claims it's a 32 bit browser it sounds like there is an error in the java code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900