GeoscienceAustralia / ga-worldwind-suite

A collection of tools created by the Geoscience Australia (GA) Movies and 3D Visualisation (M3DV) team. The tools are built around the NASA World Wind Java SDK, an open-source virtual globe toolkit.
40 stars 24 forks source link

GA World Wind running Window's problem #103

Open davidyu85 opened 10 years ago

davidyu85 commented 10 years ago

I met an issue of running the latest build of GA World Wind in Windows 7 system. The thing is that the application runs and there is no Java errors, but it just hangs up after showing the title screen

I have another different issue for Window XP, it throws me a "JRiftLibrary.dll: The specified procedure could not be found" when running the GA viewer webstart, as well as the latest build of GA viewer.

Does anyone have similar problem with Windows systems? Both Linux and Mac works absolutely fine, just not Windows.

Also, the public version of GA viewer works absolutely fine for all Windows, Mac and Linux. It is only the newest version of the GA viewer is having problems.

Thank you

Dave

mdehoog commented 10 years ago

Hi Dave,

Thanks for the bug report. I have fixed the Windows XP bug; this was due to the JRiftLibrary.dll having a dependency on MSVC 100 dlls, which may not be installed on XP.

I cannot reproduce the Windows 7 hanging issue, it's working fine here in both 32-bit and 64-bit JREs. Is anything showing up in the Java console? (To enable it for webstart, go to Control Panel -> Java -> Advanced -> Java Control -> Show Console, and restart the viewer).

Thanks.

davidyu85 commented 10 years ago

Hi Michael,

Thank you for fixing the bug for Window XP. However, it throws Java exception saying that it can't find the dependent libraries for sixense_utils.dll and JRiftLibrary.dll.

Regarding to Window 7, it does not throw any error in Java console, it simply just hangs up when the application title appears.

Dave

mdehoog commented 10 years ago

Hi Dave,

This is the same issue as I mentioned above, only with the sixense_utils.dll library instead; I forgot to apply the same fix to the Hydra.java class. I have done so now; you will still see an exception if the libraries fail to load, but they are optional and the viewer will still run.

As to the Windows 7 issue, not sure. What Java version are you using?

davidyu85 commented 10 years ago

Hi Michael,

GA is working in XP now. Thank you very much.

As for Windows 7, I'm using the latest Java jdk, which is 1.7.0

Dave

mdehoog commented 10 years ago

I can reproduce the issue on Windows 7, using JDK 7. There are no errors logged, the JVM just freezes. Java 6 doesn't have the same problem. For now, the only thing I can recommend is to use Java 6. I will update this issue if we can get it resolved.