This is a discussion on Learning Java ~ What are the best choices of tools ? within the Windows forums, part of the Operating Systems category; i meant if they are included with OS, for eg : like MS debugger, dos etc @ LS gotit....
| |||||||
| | #21 |
| Guest
Posts: n/a
| i meant if they are included with OS, for eg : like MS debugger, dos etc @ LS gotit. |
| |
| | #22 |
| Gold Member Join Date: Jun 2009 Location: Pune
Posts: 487
Rep Power: 3 | there're two things... java compiler : responsible for compiling your java files. jre : java runtime environment. It's responsile for running the java appliaction. These days almost all the operating system jre with OS itself. In windows you can check it's presence in control panel. Last edited by nandini; 07-29-09 at 10:57 PM. Reason: spelling mistake |
| | |
| | #23 |
| Jedi knight Join Date: Jul 2009 Location: IBF Age: 21
Posts: 1,818
Rep Power: 5 | Somw linux distros DVD have compiler also. Fedora 9 DVD had. |
| | |
| | #24 |
| Guest
Posts: n/a
| JRE is well known , I try my best not to use Java appz. Well the compiler doesn't require the runtime to run right ? It oly provides libraries in destination computer na. its time they added it to all Linux i guess. Last edited by newprouser; 07-29-09 at 10:59 PM. Reason: Automerged Doublepost |
| |
| | #25 |
| Jedi knight Join Date: Jul 2009 Location: IBF Age: 21
Posts: 1,818
Rep Power: 5 | But you will need JRE for running applications & there many runtime exceptions( which are divided into checked & unchecked) also. So JRE is a must also. |
| | |
| | #26 |
| Guest
Posts: n/a
| Oh i just thought its similar to VB runtime. |
| |
| | #27 | |
| Gold Member Join Date: Jun 2009 Location: Pune
Posts: 487
Rep Power: 3 | Quote:
compiler's job is to convert .java files into .class files(byte codes). So JRE doesn't come into picture here. JRE is required when you run a java application. Suppose I write a java application and after compiling I mail that to you, so that you could run it on your system. So for running my application you need JRE and nothing else. | |
| | |
| | #28 |
| Guest
Posts: n/a
| what i understand from this is, you do coding and save it as *.java after compiling , you get a *.class file well then how are exe files produced under java. there are many software which depend on java but are actually in EXE format , eg limewire and so on. |
| |
| | #29 | |
| Gold Member Join Date: Jun 2009 Location: Pune
Posts: 487
Rep Power: 3 | Quote:
Now we come to .exe files. Converting a java application into executable is like robbing it's souls. exe files are platform dependent while java application are platform independent. So when you do convert a java application into executable, it becomes platform dependent. (exe runs on windows only. right?? correct me if i m wrong.) | |
| | |
| | #30 |
| Guest
Posts: n/a
| yes you are ... unless you are on wine |
| |
| | #31 |
| Jedi knight Join Date: Jul 2009 Location: IBF Age: 21
Posts: 1,818
Rep Power: 5 | |
| | |
| | #32 |
| Gold Member Join Date: Jun 2009 Location: Pune
Posts: 487
Rep Power: 3 | |
| | |
| | #33 |
| Guest
Posts: n/a
| @npu If you are just beginning with java ... Throughly go through "JAVA - Complete Reference by Herbert Schildt" ... I will post in details later ... |
| |
| | #34 |
| Junior Member | Guys , whats your opinion on the book : Java : The Complete Reference by Herbert Schildt... Am currently using it and am finding it quite good. Any other book i should be looking at ? |
| | |
| | #35 |
| Gold Member Join Date: Jun 2009 Location: Pune
Posts: 487
Rep Power: 3 | Although I haven't gone through this book but I've heard that Herbert Schildt is a a good writer. If you find that book good then it must be good indeed. I like Java by Khaled Moughal. Nice book!!! |
| | |
| | #36 |
| Guest
Posts: n/a
| It is a very good book for JAVA beginners. |
| |
| | #37 | |
| Guest
Posts: n/a
| Quote:
----- btw setting this PATH thingy is confusing like hell, and javac is not running too if I do that. i still have to go bin directory and compile it myself. and how to run the bytecode aka class file ? i tried : java asdf.class and it didn't work. | |
| |
| | #38 | |
| Platinum Member Join Date: Sep 2008
Posts: 3,140
Rep Power: 10 | Quote:
Did you set the CLASSPATH? -F | |
| | |
| | #39 |
| Guest
Posts: n/a
| I set the path to the bin folder using "path" command in DOS, if thats what you mean by classpath |
| |
| | #40 |
| Platinum Member Join Date: Sep 2008
Posts: 3,140
Rep Power: 10 | No, CLASSPATH is another environment variable which points to the directory where all your java class files and jar files are there. -F something like this: C:\>env | grep CLASS CLASSPATH=C:\XMLP562_WIN[1]\XMLP562_WIN\manual\lib\;C:\sample; |
| | |
| Tags |
| choices, java, learning, tools |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installling java | saurabh2446 | Nokia | 1 | 06-23-09 12:44 PM |
| Tata Sky Fun Learning Promotion | devrajofjaipur | Tata sky | 0 | 05-13-09 03:46 PM |
| Request For Java Script To Power On The Modem Ut300r2u | ravi07 | BSNL broadband | 8 | 04-09-08 02:19 AM |
| Job cuts in Microsoft Learning division | Admin | News and Views from the Business World | 0 | 06-25-06 05:57 PM |