AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Please help..nu bee correct probable path.. (?)

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
ahmed khalak
Guest





PostPosted: Wed Nov 22, 2006 8:11 am    Post subject: Please help..nu bee correct probable path.. (?) Reply with 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
Smile just starting learning Java..

A Khalak
Back to top
Bart Cremers
Guest





PostPosted: Wed Nov 22, 2006 8:11 am    Post subject: Re: Please help..nu bee correct probable path.. (?) Reply with quote



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
Smile 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





PostPosted: Thu Nov 23, 2006 12:56 am    Post subject: Re: Please help..nu bee correct probable path.. (?) Reply with quote



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
Smile 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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.