Need help.i have installed jdk1.6_13.after installing jdk whenever i am trying to run java program i m facing runtime error.how to overcome the problem??
Search
Latest topics
Top posters
HIt counter
2 posters
how to install jdk effectively?
arijit- Posts : 5
Join date : 2009-04-13
- Post n°2
Re: how to install jdk effectively?
Please post a brief description of the error. and also mention when you get this error messages and in which program...
If possible put a screenshot of the error meassge.
Try to run the simplest "hello" program.
If possible put a screenshot of the error meassge.
Try to run the simplest "hello" program.
help- Posts : 25
Join date : 2009-04-01
Location : Durgapur
- Post n°3
Re:how to install jdk effectively?
@ Arijit
firstly thanks for your reply...
actually i m unable to describe the problem here fully.the main problem is i m unable to set the "path" properly.would u plz describe the procedure to set the path.....
firstly thanks for your reply...
actually i m unable to describe the problem here fully.the main problem is i m unable to set the "path" properly.would u plz describe the procedure to set the path.....
arijit- Posts : 5
Join date : 2009-04-13
- Post n°4
@JDK Path
To run a java program simply follow one of the following steps:
(1): Goto Start>>Run then type cmd and press enter.
type "cd\"
then type "cd C:\Program Files\Java\jdk1.6.0\Bin" or wherever u installed jdk..
then run the program from there..
(2): Another process is to set the path to java's bin directory.
First right click on My Computer>>goto Properties>>click Advanced tab>>goto Environment variable..
there u will see two box. one is user variable for administrator and another is "system variables"
Now click on first "New" button
On variable name type "JAVA_HOME" (without quote) and in variable value type "C:\Program Files\Java\jdk1.6.0"
then press ok.
now on the second box find "path" under variable. click on path end press edit.
In the variable value go to the end of the line and put "C:\Program Files\Java\jdk1.6.0\Bin" then press ok.
Remember C:\Program Files\Java\jdk1.6.0 :- this is the path where u installed jdk1.6 this will change if u installed jdk in different location or if u installed different versions.
(1): Goto Start>>Run then type cmd and press enter.
type "cd\"
then type "cd C:\Program Files\Java\jdk1.6.0\Bin" or wherever u installed jdk..
then run the program from there..
(2): Another process is to set the path to java's bin directory.
First right click on My Computer>>goto Properties>>click Advanced tab>>goto Environment variable..
there u will see two box. one is user variable for administrator and another is "system variables"
Now click on first "New" button
On variable name type "JAVA_HOME" (without quote) and in variable value type "C:\Program Files\Java\jdk1.6.0"
then press ok.
now on the second box find "path" under variable. click on path end press edit.
In the variable value go to the end of the line and put "C:\Program Files\Java\jdk1.6.0\Bin" then press ok.
Remember C:\Program Files\Java\jdk1.6.0 :- this is the path where u installed jdk1.6 this will change if u installed jdk in different location or if u installed different versions.
help- Posts : 25
Join date : 2009-04-01
Location : Durgapur
- Post n°5
Re:how to install jdk effectively?
@Arijit
thank u very much.......
thank u very much.......
help- Posts : 25
Join date : 2009-04-01
Location : Durgapur
- Post n°6
Re how to install jdk effectively?
can anybody help to set the path from command prompt while installing jdk ????
Mon Sep 07, 2009 5:15 am by help
» how to install jdk effectively?
Mon Sep 07, 2009 5:13 am by help
» Money is not everything
Sun Aug 16, 2009 4:42 am by Admin
» general knowledge test 4
Wed Jul 01, 2009 2:28 am by Admin
» loop problem...
Mon Apr 27, 2009 12:40 am by help
» companies address with hr email ids
Mon Apr 27, 2009 12:36 am by help
» Here is a new trick how to hack windows xp's admin password...
Wed Apr 22, 2009 1:42 pm by Soumen
» Gate Preparation
Fri Apr 17, 2009 5:40 pm by shubajit
» Now answer this.....
Wed Apr 15, 2009 7:40 pm by shubajit