Java Environment Setup - Windows

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€65.85
List Price:  €94.08
You save:  €28.22
£54.88
List Price:  £78.41
You save:  £23.52
CA$97.62
List Price:  CA$139.46
You save:  CA$41.84
A$107.14
List Price:  A$153.07
You save:  A$45.92
S$93.58
List Price:  S$133.69
You save:  S$40.11
HK$544.41
List Price:  HK$777.76
You save:  HK$233.35
CHF 61.77
List Price:  CHF 88.25
You save:  CHF 26.47
NOK kr774.53
List Price:  NOK kr1,106.52
You save:  NOK kr331.99
DKK kr491.29
List Price:  DKK kr701.88
You save:  DKK kr210.58
NZ$117.97
List Price:  NZ$168.54
You save:  NZ$50.56
د.إ257.07
List Price:  د.إ367.25
You save:  د.إ110.18
৳8,356.44
List Price:  ৳11,938.29
You save:  ৳3,581.84
₹5,906.12
List Price:  ₹8,437.68
You save:  ₹2,531.55
RM311.31
List Price:  RM444.75
You save:  RM133.44
₦117,341.73
List Price:  ₦167,638.23
You save:  ₦50,296.50
₨19,435.08
List Price:  ₨27,765.59
You save:  ₨8,330.51
฿2,425.53
List Price:  ฿3,465.20
You save:  ฿1,039.66
₺2,405.72
List Price:  ₺3,436.89
You save:  ₺1,031.17
B$402.27
List Price:  B$574.70
You save:  B$172.42
R1,258.03
List Price:  R1,797.26
You save:  R539.23
Лв128.99
List Price:  Лв184.28
You save:  Лв55.29
₩97,811.61
List Price:  ₩139,736.86
You save:  ₩41,925.25
₪263.26
List Price:  ₪376.11
You save:  ₪112.84
₱4,099.48
List Price:  ₱5,856.66
You save:  ₱1,757.17
¥10,841.47
List Price:  ¥15,488.48
You save:  ¥4,647.01
MX$1,431.90
List Price:  MX$2,045.66
You save:  MX$613.75
QR254.94
List Price:  QR364.22
You save:  QR109.27
P951.38
List Price:  P1,359.18
You save:  P407.79
KSh9,042.70
List Price:  KSh12,918.70
You save:  KSh3,876
E£3,449.01
List Price:  E£4,927.37
You save:  E£1,478.36
ብር8,642.24
List Price:  ብር12,346.59
You save:  ብር3,704.35
Kz63,935.86
List Price:  Kz91,340.86
You save:  Kz27,405
CLP$68,957.33
List Price:  CLP$98,514.70
You save:  CLP$29,557.36
CN¥504.52
List Price:  CN¥720.77
You save:  CN¥216.25
RD$4,213.97
List Price:  RD$6,020.22
You save:  RD$1,806.24
DA9,349.80
List Price:  DA13,357.43
You save:  DA4,007.63
FJ$158.35
List Price:  FJ$226.22
You save:  FJ$67.87
Q540.36
List Price:  Q771.98
You save:  Q231.61
GY$14,629.10
List Price:  GY$20,899.61
You save:  GY$6,270.51
ISK kr9,727.21
List Price:  ISK kr13,896.61
You save:  ISK kr4,169.40
DH693.72
List Price:  DH991.08
You save:  DH297.35
L1,261.20
List Price:  L1,801.79
You save:  L540.59
ден4,052.03
List Price:  ден5,788.86
You save:  ден1,736.83
MOP$560.29
List Price:  MOP$800.45
You save:  MOP$240.16
N$1,263.45
List Price:  N$1,805.01
You save:  N$541.55
C$2,573.57
List Price:  C$3,676.69
You save:  C$1,103.11
रु9,448.55
List Price:  रु13,498.52
You save:  रु4,049.96
S/264.27
List Price:  S/377.55
You save:  S/113.27
K280.92
List Price:  K401.34
You save:  K120.41
SAR262.94
List Price:  SAR375.65
You save:  SAR112.70
ZK1,903.83
List Price:  ZK2,719.87
You save:  ZK816.04
L327.74
List Price:  L468.23
You save:  L140.48
Kč1,667.45
List Price:  Kč2,382.17
You save:  Kč714.72
Ft26,926.18
List Price:  Ft38,467.63
You save:  Ft11,541.44
SEK kr762.04
List Price:  SEK kr1,088.67
You save:  SEK kr326.63
ARS$69,832.85
List Price:  ARS$99,765.49
You save:  ARS$29,932.64
Bs484.91
List Price:  Bs692.76
You save:  Bs207.85
COP$304,883.34
List Price:  COP$435,566.30
You save:  COP$130,682.96
₡35,784.92
List Price:  ₡51,123.51
You save:  ₡15,338.58
L1,764.81
List Price:  L2,521.27
You save:  L756.45
₲546,392.79
List Price:  ₲780,594.59
You save:  ₲234,201.79
$U2,951.08
List Price:  $U4,216.01
You save:  $U1,264.93
zł285.94
List Price:  zł408.51
You save:  zł122.56
Already have an account? Log In

Transcript

Let's discuss about the setting up jobs on a Windows machine. I'm going to open the windows virtual machine. And this is just an explorer. So what I can do is on this PC, I can right click and click on Properties. So this is the system settings right, you can go from control panel as well. I'm going to click on advanced system settings.

And then I'm going to click on environment variables. Then I'm going to click on this location and I'm going to hit p on my keyboard. So this will bring the path so the variable name is path, and this is the value. Then I'm going to click on Edit and in this place, after everything, so a lot of things are there in the variables, a lot of things are there. At the end, you need to add the path of service So this is the path of Java, you need to put a semicolon up there. And then add the path of Java, this is very important you need to add to bin.

And first you need to figure out where your Java is. So mostly it's in C program files, Java JDK version slash main. So this is what you need to do. I am going to upload a document as well with the lecture that you can follow to go through it. So I'm going to show you let's go to C program files, Java and JDK one dot A dot zero, and then when. So you need to get this whole location that you can see here and put it in the environment variable.

So let me close this. And I can maybe close this as well and then show you that document. So Java installation, something like that. Yes, this is the document that I have highlighted again, solution and configuration. So this is a document that I created this is to download the Java. So it will tell you which version to download.

Or you might have to download the latest one and everything. Then you go to computer properties, advanced system properties. So this screenshot is from Windows seven, I was showing it to you on Windows eight, you might have Windows 10. So doesn't matter, you only have to go to advanced system settings. And then you need to click on environment variables, this one and then you need to figure out where your Java is installed and put the path so this one shows you Java version one dot seven. I right now, demo ID one dot eight for you, you might have a different version of shower.

So I'm putting different things together. So guys know that there's no specific version that we need, which should be good. If we are above one dot six, or one dot seven, if you have Java eight, you're perfect. You might be watching this lecture in this hour night, so don't worry about it, just get the latest one and put it there, then you need to put it on the variable value after semicolon in the PATH variable, and you're good to go. So this is all you need to do in order to set up your Java. And once your Java is set up, actually, you can run the command line Java version, and it will display you the Java version that you have.

And this command Java dash version is exactly same for Mac and Windows. So there's no difference. You can open terminal on Mac and you can open terminal on Windows and execute this command and you should be able to see the version of Java on your system. So that's about it. Please go ahead. installs our set it up and let me know if you have any questions.

Thanks for ending this one.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.