Why is java -version returning a different version to the one defined in JAVA_HOME? The Next...
Can a PhD from a non-TU9 German university become a professor in a TU9 university?
Is this a new Fibonacci Identity?
Find the majority element, which appears more than half the time
How to show a landlord what we have in savings?
Which acid/base does a strong base/acid react when added to a buffer solution?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
Prodigo = pro + ago?
Compensation for working overtime on Saturdays
Is it possible to create a QR code using text?
Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?
How to compactly explain secondary and tertiary characters without resorting to stereotypes?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
Another proof that dividing by 0 does not exist -- is it right?
Is it a bad idea to plug the other end of ESD strap to wall ground?
What steps are necessary to read a Modern SSD in Medieval Europe?
Incomplete cube
Can this transistor (2N2222) take 6 V on emitter-base? Am I reading the datasheet incorrectly?
Is there a rule of thumb for determining the amount one should accept for a settlement offer?
What is a typical Mizrachi Seder like?
Was the Stack Exchange "Happy April Fools" page fitting with the 90s code?
Oldie but Goldie
pgfplots: How to draw a tangent graph below two others?
Find a path from s to t using as few red nodes as possible
Why is java -version returning a different version to the one defined in JAVA_HOME?
The Next CEO of Stack OverflowWhy java -version returning a different version than the one defined in JAVA_HOME?how to set default java plug-in versionCan't upgrade to JRE 1.6 from 1.4.2Changing current version of Java within Windowsinstalling jdk1.7.0 on Ubuntu 11.04 machinejdk 7 not activeWindows Java-based apps not workingIncorrect java -version on command promptArduino IDE won't launch in Windows 8.1How to change Java version on Windows 10On Windows, why java -version return Error: opening registry key 'SoftwareJavaSoftJava Runtime Environment'?
My JAVA_HOME is set to C:beajdk150_10bin
(Java 1.5). However, when I run java -version
I get the following:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
How can I use the 1.5 version?
windows java
add a comment |
My JAVA_HOME is set to C:beajdk150_10bin
(Java 1.5). However, when I run java -version
I get the following:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
How can I use the 1.5 version?
windows java
add a comment |
My JAVA_HOME is set to C:beajdk150_10bin
(Java 1.5). However, when I run java -version
I get the following:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
How can I use the 1.5 version?
windows java
My JAVA_HOME is set to C:beajdk150_10bin
(Java 1.5). However, when I run java -version
I get the following:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
How can I use the 1.5 version?
windows java
windows java
edited Aug 23 '11 at 6:56
3498DB
15.8k114862
15.8k114862
asked Jan 25 '11 at 19:07
JeuneJeune
2051210
2051210
add a comment |
add a comment |
10 Answers
10
active
oldest
votes
As Mikel has mentioned, In your machine java is taken from C:WindowsSystem32java.exe
.
Change the Path in the System Environment variables as mentioned by John T.
And modify it have the C:beajdk150_10bin
before %SystemRoot%system32
in the path.
add a comment |
Run
where java
at your command prompt.
On my system, it printed something quite unexpected:
C:UsersMikel>where java
C:WindowsSystem32java.exe
Verifying there really is a Java there:
C:UsersMikel>c:windowssystem32java.exe -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
So one solution is to ensure your preferred Java is in the PATH before C:WindowsSystem32
.
I also tried looking in the Java control panel to see if it manages the version in C:WindowsSystem32
, but I could only view the settings, not edit them. Maybe it works for you?
add a comment |
Modify the PATH
variable, not JAVA_HOME
.
See the Java documentation on setting or changing your PATH variable.
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find
PATH
, and click on it.
In the Edit windows, modify
PATH
by adding the location of the class to the value forPATH
. If you do not have the itemPATH
, you may select to add a new variable and addPATH
as the name and the location of the class as the value.
Close the window.
Reopen Command prompt window, and run your Java code.
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
add a comment |
Not all applications use JAVA_HOME
to get the JDK version. As said before, some of them use the %SystemRoot%System32java.exe
. You can do %SystemRoot%java.exe -version
to see which is that version.
What I have to add to the other responses is that if you build with Maven, M2_HOMEbin
has also to be before %SystemRoot%
in the order for Maven to use the correct JAVA_HOME
version.
add a comment |
JAVA_HOME should not be pointing to the bin!
SET "JAVA_HOME=C:beajdk150_10"
SET "PATH=%JAVA_HOME%/bin;%PATH%"
Also make sure that the path to JAVA_HOME is correct! If there's a typo and C:WindowsSystem32 is in you path then that java.exe will get run instead of the one you specified.
add a comment |
For me on win 10, javac -version showed java7 and java -version showed java8.Doing "where java" on command prompt showed java at three locations. I had to remove Java from C:WindowsSystem32, Remove entry of "C:ProgramFileOracleJavajavapath"and "C:ProgramDataOracleJava" from path variable, keep only Jdk7 entry in path variable worked after two hour long struggle.
add a comment |
Go to advanced settings of environment variables and edit the path variable. whichever version of java you want just move up that versions path above all other environment variables of other java versions.
New contributor
add a comment |
Try this:
@echo off
DOSKEY WHICH=@for %%E in (%PATHEXT%) do @for %%I in ($*%%E) do @if NOT "%%~$PATH:I"=="" echo %%~$PATH:I
SET "JAVA_HOME=C:Javajdk1.6"
SET "PATH=%JAVA_HOME%bin;%PATH%"
where.exe java
WHICH java
pause
add a comment |
I was facing the same issue. Later I found that the culprit was Java 8.Earlier I installed java 8 but now there is no folder for java 8 and my JAVA_HOME set to jre7 but still I was facing above issue.
solution
I deleted javapath present in C:ProgramDataOracleJava. Now my system working properly. It also resolved my eclipse startup problem.
add a comment |
I had the same issue. Doing this I resolved the issue.
On Windows 8 or 10, you need to remove "C:ProgramFileOracleJavajavapath" from path in environment variable.
This may resolve the issue.
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f237737%2fwhy-is-java-version-returning-a-different-version-to-the-one-defined-in-java-ho%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
10 Answers
10
active
oldest
votes
10 Answers
10
active
oldest
votes
active
oldest
votes
active
oldest
votes
As Mikel has mentioned, In your machine java is taken from C:WindowsSystem32java.exe
.
Change the Path in the System Environment variables as mentioned by John T.
And modify it have the C:beajdk150_10bin
before %SystemRoot%system32
in the path.
add a comment |
As Mikel has mentioned, In your machine java is taken from C:WindowsSystem32java.exe
.
Change the Path in the System Environment variables as mentioned by John T.
And modify it have the C:beajdk150_10bin
before %SystemRoot%system32
in the path.
add a comment |
As Mikel has mentioned, In your machine java is taken from C:WindowsSystem32java.exe
.
Change the Path in the System Environment variables as mentioned by John T.
And modify it have the C:beajdk150_10bin
before %SystemRoot%system32
in the path.
As Mikel has mentioned, In your machine java is taken from C:WindowsSystem32java.exe
.
Change the Path in the System Environment variables as mentioned by John T.
And modify it have the C:beajdk150_10bin
before %SystemRoot%system32
in the path.
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Jan 25 '11 at 23:13
lmeyyalmeyya
1862
1862
add a comment |
add a comment |
Run
where java
at your command prompt.
On my system, it printed something quite unexpected:
C:UsersMikel>where java
C:WindowsSystem32java.exe
Verifying there really is a Java there:
C:UsersMikel>c:windowssystem32java.exe -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
So one solution is to ensure your preferred Java is in the PATH before C:WindowsSystem32
.
I also tried looking in the Java control panel to see if it manages the version in C:WindowsSystem32
, but I could only view the settings, not edit them. Maybe it works for you?
add a comment |
Run
where java
at your command prompt.
On my system, it printed something quite unexpected:
C:UsersMikel>where java
C:WindowsSystem32java.exe
Verifying there really is a Java there:
C:UsersMikel>c:windowssystem32java.exe -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
So one solution is to ensure your preferred Java is in the PATH before C:WindowsSystem32
.
I also tried looking in the Java control panel to see if it manages the version in C:WindowsSystem32
, but I could only view the settings, not edit them. Maybe it works for you?
add a comment |
Run
where java
at your command prompt.
On my system, it printed something quite unexpected:
C:UsersMikel>where java
C:WindowsSystem32java.exe
Verifying there really is a Java there:
C:UsersMikel>c:windowssystem32java.exe -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
So one solution is to ensure your preferred Java is in the PATH before C:WindowsSystem32
.
I also tried looking in the Java control panel to see if it manages the version in C:WindowsSystem32
, but I could only view the settings, not edit them. Maybe it works for you?
Run
where java
at your command prompt.
On my system, it printed something quite unexpected:
C:UsersMikel>where java
C:WindowsSystem32java.exe
Verifying there really is a Java there:
C:UsersMikel>c:windowssystem32java.exe -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
So one solution is to ensure your preferred Java is in the PATH before C:WindowsSystem32
.
I also tried looking in the Java control panel to see if it manages the version in C:WindowsSystem32
, but I could only view the settings, not edit them. Maybe it works for you?
edited Jan 25 '11 at 21:03
answered Jan 25 '11 at 20:52
MikelMikel
7,58913435
7,58913435
add a comment |
add a comment |
Modify the PATH
variable, not JAVA_HOME
.
See the Java documentation on setting or changing your PATH variable.
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find
PATH
, and click on it.
In the Edit windows, modify
PATH
by adding the location of the class to the value forPATH
. If you do not have the itemPATH
, you may select to add a new variable and addPATH
as the name and the location of the class as the value.
Close the window.
Reopen Command prompt window, and run your Java code.
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
add a comment |
Modify the PATH
variable, not JAVA_HOME
.
See the Java documentation on setting or changing your PATH variable.
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find
PATH
, and click on it.
In the Edit windows, modify
PATH
by adding the location of the class to the value forPATH
. If you do not have the itemPATH
, you may select to add a new variable and addPATH
as the name and the location of the class as the value.
Close the window.
Reopen Command prompt window, and run your Java code.
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
add a comment |
Modify the PATH
variable, not JAVA_HOME
.
See the Java documentation on setting or changing your PATH variable.
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find
PATH
, and click on it.
In the Edit windows, modify
PATH
by adding the location of the class to the value forPATH
. If you do not have the itemPATH
, you may select to add a new variable and addPATH
as the name and the location of the class as the value.
Close the window.
Reopen Command prompt window, and run your Java code.
Modify the PATH
variable, not JAVA_HOME
.
See the Java documentation on setting or changing your PATH variable.
Start -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find
PATH
, and click on it.
In the Edit windows, modify
PATH
by adding the location of the class to the value forPATH
. If you do not have the itemPATH
, you may select to add a new variable and addPATH
as the name and the location of the class as the value.
Close the window.
Reopen Command prompt window, and run your Java code.
edited Aug 23 '11 at 22:50
Tom Wijsman
50.4k24164247
50.4k24164247
answered Jan 25 '11 at 19:09
John TJohn T
144k20295331
144k20295331
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
add a comment |
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
I don't see any references to jdk 6 on the PATH variable either. Only Java 5 X)
– Jeune
Jan 25 '11 at 19:29
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
It's an example, the procedure is still the same..
– John T
Jan 25 '11 at 19:31
add a comment |
Not all applications use JAVA_HOME
to get the JDK version. As said before, some of them use the %SystemRoot%System32java.exe
. You can do %SystemRoot%java.exe -version
to see which is that version.
What I have to add to the other responses is that if you build with Maven, M2_HOMEbin
has also to be before %SystemRoot%
in the order for Maven to use the correct JAVA_HOME
version.
add a comment |
Not all applications use JAVA_HOME
to get the JDK version. As said before, some of them use the %SystemRoot%System32java.exe
. You can do %SystemRoot%java.exe -version
to see which is that version.
What I have to add to the other responses is that if you build with Maven, M2_HOMEbin
has also to be before %SystemRoot%
in the order for Maven to use the correct JAVA_HOME
version.
add a comment |
Not all applications use JAVA_HOME
to get the JDK version. As said before, some of them use the %SystemRoot%System32java.exe
. You can do %SystemRoot%java.exe -version
to see which is that version.
What I have to add to the other responses is that if you build with Maven, M2_HOMEbin
has also to be before %SystemRoot%
in the order for Maven to use the correct JAVA_HOME
version.
Not all applications use JAVA_HOME
to get the JDK version. As said before, some of them use the %SystemRoot%System32java.exe
. You can do %SystemRoot%java.exe -version
to see which is that version.
What I have to add to the other responses is that if you build with Maven, M2_HOMEbin
has also to be before %SystemRoot%
in the order for Maven to use the correct JAVA_HOME
version.
edited Aug 23 '11 at 22:48
Tom Wijsman
50.4k24164247
50.4k24164247
answered Aug 23 '11 at 6:50
Mihai RusMihai Rus
411
411
add a comment |
add a comment |
JAVA_HOME should not be pointing to the bin!
SET "JAVA_HOME=C:beajdk150_10"
SET "PATH=%JAVA_HOME%/bin;%PATH%"
Also make sure that the path to JAVA_HOME is correct! If there's a typo and C:WindowsSystem32 is in you path then that java.exe will get run instead of the one you specified.
add a comment |
JAVA_HOME should not be pointing to the bin!
SET "JAVA_HOME=C:beajdk150_10"
SET "PATH=%JAVA_HOME%/bin;%PATH%"
Also make sure that the path to JAVA_HOME is correct! If there's a typo and C:WindowsSystem32 is in you path then that java.exe will get run instead of the one you specified.
add a comment |
JAVA_HOME should not be pointing to the bin!
SET "JAVA_HOME=C:beajdk150_10"
SET "PATH=%JAVA_HOME%/bin;%PATH%"
Also make sure that the path to JAVA_HOME is correct! If there's a typo and C:WindowsSystem32 is in you path then that java.exe will get run instead of the one you specified.
JAVA_HOME should not be pointing to the bin!
SET "JAVA_HOME=C:beajdk150_10"
SET "PATH=%JAVA_HOME%/bin;%PATH%"
Also make sure that the path to JAVA_HOME is correct! If there's a typo and C:WindowsSystem32 is in you path then that java.exe will get run instead of the one you specified.
answered Mar 2 '13 at 0:42
Bad KarmaBad Karma
111
111
add a comment |
add a comment |
For me on win 10, javac -version showed java7 and java -version showed java8.Doing "where java" on command prompt showed java at three locations. I had to remove Java from C:WindowsSystem32, Remove entry of "C:ProgramFileOracleJavajavapath"and "C:ProgramDataOracleJava" from path variable, keep only Jdk7 entry in path variable worked after two hour long struggle.
add a comment |
For me on win 10, javac -version showed java7 and java -version showed java8.Doing "where java" on command prompt showed java at three locations. I had to remove Java from C:WindowsSystem32, Remove entry of "C:ProgramFileOracleJavajavapath"and "C:ProgramDataOracleJava" from path variable, keep only Jdk7 entry in path variable worked after two hour long struggle.
add a comment |
For me on win 10, javac -version showed java7 and java -version showed java8.Doing "where java" on command prompt showed java at three locations. I had to remove Java from C:WindowsSystem32, Remove entry of "C:ProgramFileOracleJavajavapath"and "C:ProgramDataOracleJava" from path variable, keep only Jdk7 entry in path variable worked after two hour long struggle.
For me on win 10, javac -version showed java7 and java -version showed java8.Doing "where java" on command prompt showed java at three locations. I had to remove Java from C:WindowsSystem32, Remove entry of "C:ProgramFileOracleJavajavapath"and "C:ProgramDataOracleJava" from path variable, keep only Jdk7 entry in path variable worked after two hour long struggle.
answered Jun 4 '18 at 10:36
Sneha RathodSneha Rathod
11
11
add a comment |
add a comment |
Go to advanced settings of environment variables and edit the path variable. whichever version of java you want just move up that versions path above all other environment variables of other java versions.
New contributor
add a comment |
Go to advanced settings of environment variables and edit the path variable. whichever version of java you want just move up that versions path above all other environment variables of other java versions.
New contributor
add a comment |
Go to advanced settings of environment variables and edit the path variable. whichever version of java you want just move up that versions path above all other environment variables of other java versions.
New contributor
Go to advanced settings of environment variables and edit the path variable. whichever version of java you want just move up that versions path above all other environment variables of other java versions.
New contributor
edited 1 hour ago
Glorfindel
1,49441220
1,49441220
New contributor
answered 1 hour ago
nikita dharurkarnikita dharurkar
1
1
New contributor
New contributor
add a comment |
add a comment |
Try this:
@echo off
DOSKEY WHICH=@for %%E in (%PATHEXT%) do @for %%I in ($*%%E) do @if NOT "%%~$PATH:I"=="" echo %%~$PATH:I
SET "JAVA_HOME=C:Javajdk1.6"
SET "PATH=%JAVA_HOME%bin;%PATH%"
where.exe java
WHICH java
pause
add a comment |
Try this:
@echo off
DOSKEY WHICH=@for %%E in (%PATHEXT%) do @for %%I in ($*%%E) do @if NOT "%%~$PATH:I"=="" echo %%~$PATH:I
SET "JAVA_HOME=C:Javajdk1.6"
SET "PATH=%JAVA_HOME%bin;%PATH%"
where.exe java
WHICH java
pause
add a comment |
Try this:
@echo off
DOSKEY WHICH=@for %%E in (%PATHEXT%) do @for %%I in ($*%%E) do @if NOT "%%~$PATH:I"=="" echo %%~$PATH:I
SET "JAVA_HOME=C:Javajdk1.6"
SET "PATH=%JAVA_HOME%bin;%PATH%"
where.exe java
WHICH java
pause
Try this:
@echo off
DOSKEY WHICH=@for %%E in (%PATHEXT%) do @for %%I in ($*%%E) do @if NOT "%%~$PATH:I"=="" echo %%~$PATH:I
SET "JAVA_HOME=C:Javajdk1.6"
SET "PATH=%JAVA_HOME%bin;%PATH%"
where.exe java
WHICH java
pause
answered Jan 30 '13 at 16:16
djangofandjangofan
1,61162432
1,61162432
add a comment |
add a comment |
I was facing the same issue. Later I found that the culprit was Java 8.Earlier I installed java 8 but now there is no folder for java 8 and my JAVA_HOME set to jre7 but still I was facing above issue.
solution
I deleted javapath present in C:ProgramDataOracleJava. Now my system working properly. It also resolved my eclipse startup problem.
add a comment |
I was facing the same issue. Later I found that the culprit was Java 8.Earlier I installed java 8 but now there is no folder for java 8 and my JAVA_HOME set to jre7 but still I was facing above issue.
solution
I deleted javapath present in C:ProgramDataOracleJava. Now my system working properly. It also resolved my eclipse startup problem.
add a comment |
I was facing the same issue. Later I found that the culprit was Java 8.Earlier I installed java 8 but now there is no folder for java 8 and my JAVA_HOME set to jre7 but still I was facing above issue.
solution
I deleted javapath present in C:ProgramDataOracleJava. Now my system working properly. It also resolved my eclipse startup problem.
I was facing the same issue. Later I found that the culprit was Java 8.Earlier I installed java 8 but now there is no folder for java 8 and my JAVA_HOME set to jre7 but still I was facing above issue.
solution
I deleted javapath present in C:ProgramDataOracleJava. Now my system working properly. It also resolved my eclipse startup problem.
answered Dec 31 '15 at 5:07
Sudip7Sudip7
972
972
add a comment |
add a comment |
I had the same issue. Doing this I resolved the issue.
On Windows 8 or 10, you need to remove "C:ProgramFileOracleJavajavapath" from path in environment variable.
This may resolve the issue.
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
add a comment |
I had the same issue. Doing this I resolved the issue.
On Windows 8 or 10, you need to remove "C:ProgramFileOracleJavajavapath" from path in environment variable.
This may resolve the issue.
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
add a comment |
I had the same issue. Doing this I resolved the issue.
On Windows 8 or 10, you need to remove "C:ProgramFileOracleJavajavapath" from path in environment variable.
This may resolve the issue.
I had the same issue. Doing this I resolved the issue.
On Windows 8 or 10, you need to remove "C:ProgramFileOracleJavajavapath" from path in environment variable.
This may resolve the issue.
answered Jan 28 '18 at 3:24
Isuru SandamalIsuru Sandamal
1
1
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
add a comment |
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
2
2
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
This has been suggested already, 2 years ago
– Ramhound
Jan 28 '18 at 3:43
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f237737%2fwhy-is-java-version-returning-a-different-version-to-the-one-defined-in-java-ho%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown