• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java install  RSS feed

 
sor gry
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello forum members
I am working on installing Java to do programs on my computer and wanted to get some help. I noticed there is jre1.5.0_07 already in C:\Program Files\Java. I think I need the JDK as well, thus downloaded but still need to install. At this point does jre needs to be uninstalled first?
Sorry if its too basic question.

Thanks
 
qin weiping
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first you should install the JDK JDK include the jre and then you should configuration file but i am a chinese people i use the windows XP chinese edition
so serveral traslate not exactly right so first you shold right click the "my computer " select the "genitive " select the "advance" ( in the top of the window)

and then enter the" environment variables " look for the path and you must find the file path of JDK and then click clik click until
you find the bin just like :C:\Program Files\Java\jdk1.6.0_21\bin; i want to remind you that you not forget the ":" and then copy paste to
the path in the front of the system path frame enter make sure then you can test the JDK whether or not install your system
please find "running " input the "cmd" enter the dos then input "java -version" then if you install success you can see some version infomation
JDK.jpg
[Thumbnail for JDK.jpg]
 
Randall Twede
Ranch Hand
Posts: 4696
8
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good question sor. i recently installed java7 and had the java6JRE. i still think i should uninstall it. as far as writing compiling and running programs it wont matter though. i had a problem with an applet though
 
Palash Nandi
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At this point does jre needs to be uninstalled first?


Hi Sor gry,
The answer is NO. After you install JDK. It will place a new folder like jdk<someVersionNo> in C:\Program Files\Java. If you see that then its installed.

For the rest , I think qin weiping has given a very nice reply with screenshots also.
 
sor gry
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to do java - version with a valid result, prior to installing the JDK, when the jre folder was already existing. I took a chance and installed the Jdk without uninstalling the existing jre. I then set the path. Although I didn't use the : on the left of the C:
Seems to be working. If there's a problem Ill check back. Thanks!
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please avoid screenshots if possible; copy-and-paste is much easier to read.
There is no need to uninstall the JRE at all, as long as you have enough memory available on your hard drive.
Using java -version tells you little. You want to try javac -version. If you find a javac tool, that is much more useful and confirms you have found a JDK installation.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!