Results 1 to 14 of 14
- 04-06-2008, 03:19 PM #1
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
Brand New to Java needs directions
Hi
I am new to java I have been playing around with Java Script and I have installed both NetBeans and Eclipse. Where can I find step by step documentation on using java? For javascript I bought a "In Easy Steps" book.
Any links and advice would be greatly appreciated!
Thanks
:confused:
-
1. You can read "java tutorial". Search on google, sun provides its online version for free.
2. You can search "rapidshare java" on google. In this way, you can find several java books ;) to download
Let me know if you need more help.
- 04-06-2008, 04:51 PM #3
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
Install
I dont even seem to get the installation right at the moment!
I downloaded the jdk-6u5-windows-i586-p file and installed it to C:\Program Files\Java
In there I have C:\Program Files\Java\jdk1.6.0_05 with all the correct files.
I then changed the path (my os is Windows NT) to %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem ;C:\Program Files\Java\jdk1.6.0_05\bin
According to the tutorial I then created a txt file called HelloWorldApp and saved it to the Java dir. I then ran cmd but when I type java-version it tells me - no such command ......
Should I see Java in my programs on start up or something?
-
"C:\Program Files\Java\jdk1.6.0_05\bin"
This is probably because of the space between "Program" and "Files" above. Try writing this insted:
"C:\Progra~1\Java\jdk1.6.0_05\bin"
- 04-06-2008, 06:01 PM #5
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
Should it be in " "?
-
No, remove quotation marks.
- 04-06-2008, 06:24 PM #7
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
Okay did it went to cmd run typed in cd C:\java still tells me it can not find the directory
-
I guess you meant: "it can not find the command".
Hmm, normally it should work in this way. Probably there si a minor mistake we dont see.
Can you run following command in command line and paste the output here:
Java Code:echo %PATH%
- 04-06-2008, 08:15 PM #9
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
It gives me this:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem ;C:\Progra~1\Java\jdk1.6.0_05\bin
-
If the path is correct, i can have only one more suggestion left:
Can you move the Java path to the beginning of the path variable and try again? I am suspicious about the space between "System32" and "\Wbem". It may invalidate the path afterwards.
- 04-06-2008, 08:56 PM #11
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
No still nothing
The only thing that I am thinking is that in the Java folder I have two other folder with the JRE in I have both jre 5 and jre6 in the folder. Could that influence anything?
I have netbeans and eclipse installed and they seem to work. If I do java scripting in dreamweaver I can run them as well.
- The only thing that I am thinking is that in the Java folder I have two other folder with the JRE in I have both jre 5 and jre6 in the folder.
- 04-07-2008, 01:43 PM #13
Member
- Join Date
- Apr 2008
- Posts
- 7
- Rep Power
- 0
Okay still not working I am going to take my computer to a shop for help
OTHER QUESTION
How do I type the || logical OR operator? I copied and paste it usually but how do I do it on my keyboard?:eek:
- 04-07-2008, 04:34 PM #14
Bookmarks