openmolecules.org

 
Home » DataWarrior » Installation Issues » problem with Java detection
problem with Java detection [message #50] Thu, 19 February 2015 23:40 Go to next message
DanielleKennedy is currently offline  DanielleKennedy
Messages: 1
Registered: February 2015
Junior Member
I am wondering if you can help me. I just installed the windows 64 bit version, I updated my Java to the latest version. Rebooted my computer and on attempted to open datawarrior the following two messages keep appearing. Wondering if you could suggest any possible fixes to this problem.

error: cant find java.dll
Error: cant find java 2 runtime environment
Thanks
Danielle
Re: problem with Java detection [message #53 is a reply to message #50] Sat, 21 February 2015 21:46 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
I assume, you installed the 32-bit Java JRE, because this is the default even for an 64 bit Windows installation.
Oracle says on its web site that 64-bit Internet Explorer still has problems to render all web sites. Therefore,
Microsoft installs the 32-bit version of IE as default, which forces Oracle to supply 32-bit Java as default.
The 64 bit installation is a little difficult to find on the Java download web site. But you can install both, 32-bit and 64-bit JREs independently. You may install the 64-bit JRE for Windows after the DataWarrior installation to fix the issue. The following seems to be a link to the most recent 64-bit WIndows JRE:

http://download.oracle.com/otn-pub/java/jdk/8u31-b13/jre-8u3 1-windows-x64.exe

Good luck,

Thomas
icon14.gif  Re: problem with Java detection [message #64 is a reply to message #53] Sat, 09 May 2015 13:16 Go to previous messageGo to next message
evehom is currently offline  evehom
Messages: 10
Registered: May 2015
Location: Stockholm, Sweden
Junior Member
I ran into the same problem. I uninstalled 32-bits JRE, downloaded and installed 64-bits JRE, and DW started without a problem.

Fantastic program btw, I just discovered it. Who needs SpotFire?
Re: problem with Java detection [message #305 is a reply to message #53] Fri, 02 February 2018 20:24 Go to previous messageGo to next message
jsimpson is currently offline  jsimpson
Messages: 2
Registered: February 2018
Junior Member
Hi Thomas,

I have been running DW on windows 10 for some time without incident, however recently (without any known change to software) began getting the same java.dll and runtime errors described above. After reinstalling 64 bit java and 64 bit dw, the program opens and runs fine, however upon restarting the machine, I get the same errors again.

any suggestions?

thanks,

Jamie.
Re: problem with Java detection [message #309 is a reply to message #305] Sun, 04 February 2018 20:18 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
I assume that some other software has installed a 32-bit Java environment and made it the preferred one.
If you type 'java -version' in a cmd window, you should see, whether you use a 32- or 64-bit version of the JRE.
If you see something like 'Java HotSpot(TM) 64-Bit Server VM', then you have a 64 bit JRE. If you don't
find '64 Bit' in the output, then you have a 32-bit Java installation.

Thomas
Re: problem with Java detection [message #310 is a reply to message #309] Mon, 05 February 2018 16:22 Go to previous messageGo to next message
jsimpson is currently offline  jsimpson
Messages: 2
Registered: February 2018
Junior Member
Hi Thomas, thanks for the reply. Java version responds with java se runtime environment and java hotspot 64-bit server VM. There is no other version of java installed. After a fresh java install, the app works fine, but after restarting, the same java errors come up again. I'd appreciate any other suggestions. Regards, Jamie
Re: problem with Java detection [message #311 is a reply to message #310] Mon, 05 February 2018 21:02 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
Hi Jamie, it is hard for me to give a reasonable advise. It seems that your Java environment is damaged after a restart. You may confirm that by running another other Java application after restart from the command line. You may try the molviewer.jar attached to this message. Try running it by typing the following in a cmd window: java -jar molviewer.jar
If this works after a fresh java install, but doesn't after reboot, then you need to check, what destroys your java installation during reboot. If it works after reboot, quite honestly I have no clue at the moment. Thomas
Re: problem with Java detection [message #314 is a reply to message #305] Fri, 23 February 2018 08:01 Go to previous message
adrian_vg is currently offline  adrian_vg
Messages: 1
Registered: February 2018
Junior Member
jsimpson wrote on Fri, 02 February 2018 20:24
Hi Thomas,

I have been running DW on windows 10 for some time without incident, however recently (without any known change to software) began getting the same java.dll and runtime errors described above. After reinstalling 64 bit java and 64 bit dw, the program opens and runs fine, however upon restarting the machine, I get the same errors again.

any suggestions?


Same situation here - DW working fine with Win10 x64 until a few weeks ago.
I have temporarily solved the problem by installing the latest 64b Java runtimes.
Just a few days ago however, Java seems to "disappear" for no apparent reason after a few hours of installation.

@Jsimpson; Is your Windows-environment managed with eg SCCM?
I'm thinking if it isn't, then it's not a SCCM issue, but rather a Windows 10-problem.
Previous Topic: Browser Problem
Next Topic: installation_linux
Goto Forum:
  


Current Time: Sat Nov 23 17:07:53 CET 2024

Total time taken to generate the page: 0.03769 seconds