• Post Reply Bookmark Topic Watch Topic
  • New Topic

need assistance installing Java 7  RSS feed

 
maximus desimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I thought I had installed Java but I think I have done this wrong. I know this because of the following.

I copied and pasted a small java program from coderanch.com to confirm to myself that the set up has been correct. When I try to run the program using command prompt, I get a message coming up stating that 'Windows cannot open file'. It starts suggesting I either use the web to find the correct program or I select the program from a list of installed programs.

1. How do I install Java JDK 7 correctly? Do I need to install a download manager first? Please explain
2. What does it look like???!? Is it something that runs in the background or is it a software package that I can actually open up?

Your assistance will be appreciated. Thanks in advance.

Maximus
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maximus desimus wrote:Hi, I thought I had installed Java but I think I have done this wrong. I know this because of the following.

I copied and pasted a small java program from coderanch.com to confirm to myself that the set up has been correct. When I try to run the program using command prompt, I get a message coming up stating that 'Windows cannot open file'. It starts suggesting I either use the web to find the correct program or I select the program from a list of installed programs.

1. How do I install Java JDK 7 correctly? Do I need to install a download manager first? Please explain
2. What does it look like???!? Is it something that runs in the background or is it a software package that I can actually open up?

Your assistance will be appreciated. Thanks in advance.


Did you compile the program first?

 
maximus desimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I dont know what you mean by 'compiling the program'. Sorry if I sound a little dumb but I have only just started playing around with java today!!
 
maximus desimus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been reading the following.

http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#Check

I think I need to download the installer. I have not done this, and Im not sure where to find it either. Can you please assist.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maximus desimus wrote:I have been reading the following.

http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#Check

I think I need to download the installer. I have not done this, and Im not sure where to find it either. Can you please assist.


Use the Software Downloads link on that page as a starting point.

Then goto the Java Tutorials starting here so you can learn the basics, like setting up your environment, compiling, and running some simple code.
 
Mansukhdeep Thind
Ranch Hand
Posts: 1163
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maximus desimus wrote:Hi,

I don't know what you mean by 'compiling the program'.


Welcome to the ranch Maximus Desimus. That sounds like the name of a Greek GOD or some superhero. There are no dumb questions as far as I am concerned, only foolish answers.

maximus desimus wrote:Sorry if I sound a little dumb but I have only just started playing around with java today!!


No need to be sorry. You say sorry when you hurt someone. We are all here to learn. But when we play this game, we have some rules. Follow what Steve said and come back with lots of "dumb questions".
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!