Hexagon Geospatial
MENU

GeoMedia Smart Client

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 28
Registered: ‎11-04-2015
Accepted Solution

Java 32 x 64 bit

Hi,

 

I have done some experinemts because we need to run both 32bit and 64 bit version of Java on the same client machine. I have done tests with 8u101. When both versions are installed, GMSC starts with 32bit, always 

Example from console:

java.endorsed.dirs = C:\Program Files (x86)\Java\jre1.8.0_101\lib\endorsed

jnlpx.relaunch = true

deployment.security.sandbox.jnlp.enhanced = true

deployment.system.security.blacklist = C:\Program Files (x86)\Java\jre1.8.0_101\lib\security\blacklist

 

 

But java -version always says:

C:\ProgramData\Oracle\Java\javapath>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

 

I have configured JAVA_HOME and JAVA_JRE in the system variables, and tried to edit JNLP 

 <java version="1.8.0_25+"   href="http://java.sun.com/products/autodl/j2se" java-vm-args="-d64" max-heap-size="1024m" />

originally it was 

    <java version="1.8.0_25+"   href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Dsun.java2d.d3d=false" max-heap-size="1024m" />

No change.

Any idea how to run GMSC with 64bit when both versions are installed?

 

THX a lot

 

Similar to this topic 

http://community.hexagongeospatial.com/t5/Support-GeoMedia-Smart-Client/GMSC-performance-difference-...

Highlighted
Moderator
Posts: 245
Registered: ‎02-08-2016

Re: Java 32 x 64 bit

Hello

 

Which version of Java is determined by which javaws.exe is used.to load the .jnlp.

Start your .jnlp from the command line or a batch file specifying which javaws.exe you wish to use.

For example.

 

64 bit:

C:\Users\Administrator>"C:\Program Files\Java\jre1.8.0_91\bin\javaws.exe" C:\Users\mmandr.INGRNET\Downloads\GMSC(11).jnlp

 

32 bit:
C:\Users\Administrator>"C:\Program Files (x86)\Java\jre1.8.0_112\bin\javaws.exe" C:\Users\mmandr.INGRNET\Downloads\GMSC(11).jnlp

 

 

Contributor
Posts: 28
Registered: ‎11-04-2015

Re: Java 32 x 64 bit

This solution works. Thank you. Just in case, java 64bit must be installed after java 32 bit. Otherwise is says "is not a valid win32 application" 

 

Just in case. Is there a way how to modify directly JNLP to be launched by java 64bit?

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.