JNLP shortcut issues

I have a problem with JNLP.

If two versions of Java are installed on the computer, 64 and 32 bits. The computer defaults to version 32 bit.

And shortcut

C:\Windows\SysWOW64\javaws.exe -localfile 
    "C:\Users\Micro\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\43\b9706ab-6de97627"

How to make a shortcut run C:/Windows/System32/javaws.exeindependent of the Java version?

+5
source share
1 answer

The computer defaults to version 32 bit.

Not really. It rather depends on the calling application.

Let's look at two examples:

  • Run cmd.exe (use WINDOWS + R and type cmd)

  • run "java -version" and you will get

    java version "1.7.0_03"
    Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
    
  • Run cmd.exe through a 32-bit program (for example, a full commander)

  • run "java -version" and you will get

    java version "1.7.0_03"
    Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
    Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
    

How can I try to use stubs in windows \ system32 and windows \ syswow64 directly. The only change:

  • you can downgrade from 64 to 32 bits using

    c:\Windows\Syswow64\java -version
    

, 32 64 , - 64- ,

    "c:\Program Files\Java\jre6\bin\java.exe" -version

java windows\system, javaws.

= > "c:\Program Files\Java\jre6\bin\javaws.exe"

+2

All Articles