Windows 7 Java Problem


  1. Posts : 1
    Windows 7 Home Premium 64bit
       #1

    Windows 7 Java Problem


    This is a bit of a weird problem with windows 7/Java

    I am running 64bit windows 7 home premium, and as such have 64bit Java installed on my computer and i've come to realize that if i'm running java .jar files from the command line, the 64bit version of java is invoked, but if i just double click the jar file, then 32bit java is invoked.

    im not sure if this is the correct place for this question, but like i said its a weird problem.


    does anyone have a clue why this happens?
      My Computer


  2. Posts : 2,578
    Vista 64 bit and 32 bit (SP2)
       #2

    I don't know if this is the exact answer you were looking for, but you need to install both versions of Java (32-bit & 64-bit) if you are using a 64-bit system. And your system will utilize the appropriate Java version for whatever app is running, or whatever function it is doing - whether it is 32-bit or 64-bit.
      My Computer


  3. Posts : 1
    Windows 7
       #3

    Java location


    Did you define the JDK in the Path or are you using de default java.exe located in system32.

    Read the following article to have a clear understanding on how Windows find the right java implementation : Java Home on Windows
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:14.
Find Us