Page 1 of 1

Need help with JDK 5.0 Update 8 and Dev-C++

Posted: 29 Sep 2006, 17:04
by Tep
well i down loaded JDK 5.0 like BB suggested to chaos because i plan on learning java but after 6hrs of waiting i get it installed and try to compile my first script and windows say that Javac isnt a known interal/external command..... :cry:

So i gave up and download a C++ complier (cause i couldnt find any other java compilers) and when i go to compile a basic hello world script it tells me the iostream.h is not an exsiting file or something of the sort and i looked thru the help files of the prog and couldn't finding anything on how to setup include Path or Enviorment variables

so i could use alittle help with both of these problems

Thanks

Posted: 29 Sep 2006, 20:40
by robbins
jesus... what operating system are you running on to get those thrown at you????

Posted: 29 Sep 2006, 22:44
by Tep
WIndowsXP

i fixed the C++ compiler problems 8)

but the Java one still stands.....any help :?:

Posted: 30 Sep 2006, 01:34
by pseudo_opcode
did you set the classpath and path for the java??? if you dont know how to do that.. check this out.. and tell us whether it worked or not.

Posted: 30 Sep 2006, 03:53
by bad_brain
yep, it's most likely the path variable like pseudo_opcode said, follow the advice on the link he posted and it should work.
for a quick check type

Code: Select all

java -version
you should get something like this then

Code: Select all

java version "1.5.0_06"                                              
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) 
if not it's definitly the variable... :wink: