Nixes
2019-03-21 13:33:06
I had this problem too.
I used "Dan the man" guide posted here.
- Completely removed all java versions from your computer. There was a program floating around whose name I cannot remember, but it completely wipes it from your registry as well.
- Install 32 bit Java: JRE 7-U80
- Go to properties > Advanced system settings > Environment Variables
- There will be 2 sections here: User variables and system variables. Find a variable by the name of Path under system variables, highlight it and click edit.
- Under Variable value, paste: C:\Program Files (x86)\Java\jre7\bin
- If you already have text under variable value, click on the text box, hold your right arrow key until you get to the very end of the text line, then put a semicolon ( and then paste the above line (NO SPACES).
- Click ok. Click ok. Click ok.
- Reboot Simba if you still have it open and attempt to run a script with SMART
It didn't work for me at first after using "Dan the man" guide, but after I restarted my PC and waited like 25 minutes it promted me to update java on bottom right and it started working for me after the update.
-To verify the release version, open CMD and run java -version.
-To verify the bit version, open a command prompt and run java -d64. If the 64-bit version of Java is installed, the command usage information displays. If the 32-bit version of Java is installed, the following message is displayed:
Error: This Java instance does not support a 64-bit JVM. Please install the desired version.
I downloaded my java install file from here: http://downloads.gvsig.org/download/gvsig-desktop/runtimes/java/
The one I downloaded from the site was called:
For Windows 32 bits (jre-7u80) (Only gvSIG 2.2.0 32 bits is available for Windows)
Also the uninstall tool "Dan the man" mention is called Java Uninstall tool.
It can be downloaded from here: https://www.java.com/en/download/uninstalltool.jsp
After uninstalling and reinstalling everything I found out my problem was installing java 64 bit version instead of 32 bit version. I got confused, because java official website offers only 64 bit version if you have 64 bit computer also 32 bit version has 86 in the end of install file, which also confused me. I searched for 32 bit newest version on google and found one. After installing it everything worked fine.
I used "Dan the man" guide posted here.
- Completely removed all java versions from your computer. There was a program floating around whose name I cannot remember, but it completely wipes it from your registry as well.
- Install 32 bit Java: JRE 7-U80
- Go to properties > Advanced system settings > Environment Variables
- There will be 2 sections here: User variables and system variables. Find a variable by the name of Path under system variables, highlight it and click edit.
- Under Variable value, paste: C:\Program Files (x86)\Java\jre7\bin
- If you already have text under variable value, click on the text box, hold your right arrow key until you get to the very end of the text line, then put a semicolon ( and then paste the above line (NO SPACES).
- Click ok. Click ok. Click ok.
- Reboot Simba if you still have it open and attempt to run a script with SMART
It didn't work for me at first after using "Dan the man" guide, but after I restarted my PC and waited like 25 minutes it promted me to update java on bottom right and it started working for me after the update.
-To verify the release version, open CMD and run java -version.
-To verify the bit version, open a command prompt and run java -d64. If the 64-bit version of Java is installed, the command usage information displays. If the 32-bit version of Java is installed, the following message is displayed:
Error: This Java instance does not support a 64-bit JVM. Please install the desired version.
I downloaded my java install file from here: http://downloads.gvsig.org/download/gvsig-desktop/runtimes/java/
The one I downloaded from the site was called:
For Windows 32 bits (jre-7u80) (Only gvSIG 2.2.0 32 bits is available for Windows)
Also the uninstall tool "Dan the man" mention is called Java Uninstall tool.
It can be downloaded from here: https://www.java.com/en/download/uninstalltool.jsp
After uninstalling and reinstalling everything I found out my problem was installing java 64 bit version instead of 32 bit version. I got confused, because java official website offers only 64 bit version if you have 64 bit computer also 32 bit version has 86 in the end of install file, which also confused me. I searched for 32 bit newest version on google and found one. After installing it everything worked fine.