 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ahmed khalak Guest
|
Posted: Wed Nov 22, 2006 8:11 am Post subject: Please help..nu bee correct probable path.. (?) |
|
|
Hi
Thank in advance.... I am getting error when I run from prompt (cmd)..
I installed Jdk1.5.0_09 path is C:\Program files\Java\Jdk1.......
I have oracle 9i and oracle 10g installed...
Path and classpath I have put correctly in windowxp.. as follow
path=C:\oracle..etc ;C:\Program File\java\Jdk1.5.0_09\bin
classpath= .;C:\Program File\java\Jdk1.5.0_09\lib\root.jar
Now when I check version for java and javac.. in other then Jdk1 directory
I am getting version 1.3.1 where as jdk gives me it version I checked oracle
directories
In Oracle directory.. jre show 1.3.1 directory...
how can I correct this problem.. my simple program compiles but running from
promp gives error..
would highly appreciate help
just starting learning Java..
A Khalak |
|
| Back to top |
|
 |
Bart Cremers Guest
|
Posted: Wed Nov 22, 2006 8:11 am Post subject: Re: Please help..nu bee correct probable path.. (?) |
|
|
ahmed khalak wrote:
| Quote: | Hi
Thank in advance.... I am getting error when I run from prompt (cmd)..
I installed Jdk1.5.0_09 path is C:\Program files\Java\Jdk1.......
I have oracle 9i and oracle 10g installed...
Path and classpath I have put correctly in windowxp.. as follow
path=C:\oracle..etc ;C:\Program File\java\Jdk1.5.0_09\bin
classpath= .;C:\Program File\java\Jdk1.5.0_09\lib\root.jar
Now when I check version for java and javac.. in other then Jdk1 directory
I am getting version 1.3.1 where as jdk gives me it version I checked oracle
directories
In Oracle directory.. jre show 1.3.1 directory...
how can I correct this problem.. my simple program compiles but running from
promp gives error..
would highly appreciate help
just starting learning Java..
A Khalak
|
Change the path setting so it reads:
PATH=C:\Program File\java\Jdk1.5.0_09\bin;C:\oracle;...
The OS looks for commands on the PATH from left to right, so starting
with java, then oracle, and so on.
Besides this. The classpath setting isn't really needed. This is a
general note which might bring in problems later. If you don't have a
real need for it, simply remove the classpath setting. You can still
pass it to the java command using the "-classpath" switch.
Regards,
Bart |
|
| Back to top |
|
 |
ahmed khalak Guest
|
Posted: Thu Nov 23, 2006 12:56 am Post subject: Re: Please help..nu bee correct probable path.. (?) |
|
|
Thank you very much Bart
I appreciate very much.. help will do .. thanks and Happy
Thanks Giving.
Thanks again a lot.
a.
khalak
"Bart Cremers" <bcremers (AT) gmail (DOT) com> wrote in message
news:1164182173.198347.191690 (AT) f16g2000cwb (DOT) googlegroups.com...
| Quote: |
ahmed khalak wrote:
Hi
Thank in advance.... I am getting error when I run from prompt
(cmd)..
I installed Jdk1.5.0_09 path is C:\Program files\Java\Jdk1.......
I have oracle 9i and oracle 10g installed...
Path and classpath I have put correctly in windowxp.. as follow
path=C:\oracle..etc ;C:\Program File\java\Jdk1.5.0_09\bin
classpath= .;C:\Program File\java\Jdk1.5.0_09\lib\root.jar
Now when I check version for java and javac.. in other then Jdk1
directory
I am getting version 1.3.1 where as jdk gives me it version I checked
oracle
directories
In Oracle directory.. jre show 1.3.1 directory...
how can I correct this problem.. my simple program compiles but running
from
promp gives error..
would highly appreciate help
just starting learning Java..
A Khalak
Change the path setting so it reads:
PATH=C:\Program File\java\Jdk1.5.0_09\bin;C:\oracle;...
The OS looks for commands on the PATH from left to right, so starting
with java, then oracle, and so on.
Besides this. The classpath setting isn't really needed. This is a
general note which might bring in problems later. If you don't have a
real need for it, simply remove the classpath setting. You can still
pass it to the java command using the "-classpath" switch.
Regards,
Bart
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|