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.....
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
Need help with JDK 5.0 Update 8 and Dev-C++
-
- cyber messiah
- Posts: 1201
- Joined: 30 Apr 2006, 16:00
- 17
- Location: 127.0.0.1
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.
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
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
you should get something like this then
if not it's definitly the variable...
for a quick check type
Code: Select all
java -version
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)