• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Setting Up  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am looking to set up Java so that I can start coding in the Windows 7 command prompt.

I tried installing the latest SDK from Oracle, but when I click the 64-bit installation it doesn't respond...

I have Java SE Development Kit 8 Updates 161 and 152 installed on my computer, do I need both of them? Can I uninstall the lower-numbered version?

It's been quite a while that I've picked up learning Java again, can anyone get me started on setting up?

Thanks!
 
Master Rancher
Posts: 3276
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

when I click the 64-bit installation it doesn't respond...


Is that an .exe file you are clicking on?  What is its filename?  Where did you get it?

I have Java SE Development Kit 8 Updates 161 and 152


You only need one JDK installed.  The smaller numbered one could be uninstalled.

What was the  "64-bit installation" you mentioned earlier?
 
Marshal
Posts: 60157
188
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

You don't install Java® to your desktop and click the icon. You install it and use the command line to evoke it. Look at our FAQ or the Java™ Tutorials. I presume you are not using an IDE at the moment. You do need to set your PATH before Java® will run; you are probably best off setting a system PATH rather than a local PATH.
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Norm Radder wrote:

when I click the 64-bit installation it doesn't respond...


Is that an .exe file you are clicking on?  What is its filename?  Where did you get it?


I have Java SE Development Kit 8 Updates 161 and 152


You only need one JDK installed.  The smaller numbered one could be uninstalled.

What was the  "64-bit installation" you mentioned earlier?



This .exe here, where my cursor is

 
Graham Wolk
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Graham Wolk wrote:

Norm Radder wrote:

when I click the 64-bit installation it doesn't respond...


Is that an .exe file you are clicking on?  What is its filename?  Where did you get it?


I have Java SE Development Kit 8 Updates 161 and 152


You only need one JDK installed.  The smaller numbered one could be uninstalled.

What was the  "64-bit installation" you mentioned earlier?



This .exe here, where my cursor is



Looks like the image didn't work correctly, here is the link to my screenshot: https://imgur.com/C7jz1WE

 
Graham Wolk
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Welcome to the Ranch

You don't install Java® to your desktop and click the icon. You install it and use the command line to evoke it. Look at our FAQ or the Java™ Tutorials. I presume you are not using an IDE at the moment. You do need to set your PATH before Java® will run; you are probably best off setting a system PATH rather than a local PATH.



I'll take a look in the Java Tutorials, thank you!
 
Norm Radder
Master Rancher
Posts: 3276
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the .exe  filename?  Where did you get it?

 
Chad Dunlosky
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Norm Radder wrote:What is the .exe  filename?  Where did you get it?



"jdk-10.0.2_windows-x64_bin.exe"

From Oracle.com> https://www.oracle.com/technetwork/java/javase/downloads/index.html
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!