💻 Software
Java installed, but "java -version" showed nothing, why?
Fresh5 days ago
Mar 15, 20265314 viewsConfidence Score0%
0%
Problem
I just bought a Win 7 PC, installed jdk1.6 and Netbeans, NB works fine, but when I did "java -version" in a command prompt, it can't find java, why ? How to fix it ? Edit : I thought the installation process should set the path correctly, how come it didn't ?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Java installed, but "java -version" showed nothing, why?
Low Risk
The JDK installer for windows does not update the path environment variable. The installation docs describe how to do this. See item #4 on that page.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix