Windows 7 Java Problem

BigEZ18045

New member
Local time
2:39 AM
Messages
1
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

OS
Windows 7 Home Premium 64bit
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

Computer Manufacturer/Model Number
HP Pavillion dv5t (generation 1)
OS
Vista 64 bit and 32 bit (SP2)
CPU
Intel(R) Core(TM)2 Duo Processor T9400 (2.53 GHz
Memory
4GB DDR2 System Memory (2 Dimm)
Graphics Card(s)
512 MB NVIDIA GeForce 9600M GT
Monitor(s) Displays
15.4" diagonal WSXGA+ High-Definition HP BrightView Widescre
Screen Resolution
1680 x 1050
Hard Drives
320GB 5400RPM SATA Hard Drive with HP ProtectSmart Hard Drive Protection
Keyboard
Built-in HP
Mouse
Built in - Synaptics TouchPad V6.5 on PS/2 Port
Internet Speed
Max
Other Info
~ Intel Next-Gen Wireless-N Mini-card w/Bluetooth ~ Blu-Ray ROM DVD+/-R/RW ~ Integ. HDTV Hybrid Tuner ~ 12 Cell Battery ~ MS Office (Home Premium) 2007 ~
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

OS
Windows 7
Back
Top