India Broadband Forum


Learning Java ~ What are the best choices of tools ?

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

Go Back   India Broadband Forum > Computers > Operating Systems > Windows

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 07-29-09, 10:46 PM   #21
newprouser
Guest
 
Posts: n/a
Default

i meant if they are included with OS, for eg : like MS debugger, dos etc

@ LS
gotit.
  Reply With Quote
Old 07-29-09, 10:54 PM   #22
Gold Member
 
nandini's Avatar
 
Join Date: Jun 2009
Location: Pune
Posts: 487
Rep Power: 3
nandini is a jewel in the roughnandini is a jewel in the roughnandini is a jewel in the rough
Default

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
nandini is offline   Reply With Quote
Old 07-29-09, 10:56 PM   #23
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,818
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

Somw linux distros DVD have compiler also. Fedora 9 DVD had.
Luke Skywalker is offline   Reply With Quote
Old 07-29-09, 10:58 PM   #24
newprouser
Guest
 
Posts: n/a
Default

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.

Quote:
Originally Posted by Luke Skywalker View Post
Somw linux distros DVD have compiler also. Fedora 9 DVD had.
its time they added it to all Linux i guess.

Last edited by newprouser; 07-29-09 at 10:59 PM. Reason: Automerged Doublepost
  Reply With Quote
Old 07-29-09, 11:00 PM   #25
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,818
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

Quote:
Originally Posted by newprouser View Post
JRE is well, 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.
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.
Luke Skywalker is offline   Reply With Quote
Old 07-29-09, 11:04 PM   #26
newprouser
Guest
 
Posts: n/a
Default

Oh i just thought its similar to VB runtime.
  Reply With Quote
Old 07-29-09, 11:05 PM   #27
Gold Member
 
nandini's Avatar
 
Join Date: Jun 2009
Location: Pune
Posts: 487
Rep Power: 3
nandini is a jewel in the roughnandini is a jewel in the roughnandini is a jewel in the rough
Default

Quote:
Originally Posted by newprouser View Post
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.
you've mixed things.

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.
nandini is offline   Reply With Quote
Old 07-29-09, 11:10 PM   #28
newprouser
Guest
 
Posts: n/a
Default

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.
  Reply With Quote
Old 07-29-09, 11:15 PM   #29
Gold Member
 
nandini's Avatar
 
Join Date: Jun 2009
Location: Pune
Posts: 487
Rep Power: 3
nandini is a jewel in the roughnandini is a jewel in the roughnandini is a jewel in the rough
Default

Quote:
Originally Posted by newprouser View Post
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.
yes yes yes yes yes... you are right.

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.)
nandini is offline   Reply With Quote
Old 07-29-09, 11:17 PM   #30
newprouser
Guest
 
Posts: n/a
Default

yes you are ...

unless you are on wine (some pun for ya)
  Reply With Quote
Old 07-29-09, 11:20 PM   #31
Jedi knight
 
Luke Skywalker's Avatar
 
Join Date: Jul 2009
Location: IBF
Age: 21
Posts: 1,818
Rep Power: 5
Luke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the roughLuke Skywalker is a jewel in the rough
Default

Quote:
Originally Posted by newprouser View Post
Oh i just thought its similar to VB runtime.
It is different to it. JRE is a must. For we runs a bytecode not executables. You are right nandini, it is like robbing soul of java applications.
Luke Skywalker is offline   Reply With Quote
Old 07-29-09, 11:21 PM   #32
Gold Member
 
nandini's Avatar
 
Join Date: Jun 2009
Location: Pune
Posts: 487
Rep Power: 3
nandini is a jewel in the roughnandini is a jewel in the roughnandini is a jewel in the rough
Default

Quote:
Originally Posted by newprouser View Post
yes you are ...

unless you are on wine (some pun for ya)
yeah.
nandini is offline   Reply With Quote
Old 07-31-09, 12:20 AM   #33
saurav_k
Guest
 
Posts: n/a
Default

@npu

If you are just beginning with java ... Throughly go through "JAVA - Complete Reference by Herbert Schildt" ...

I will post in details later ...
  Reply With Quote
Old 07-31-09, 12:55 AM   #34
Junior Member
 
Join Date: Feb 2008
Location: New-Delhi
Posts: 46
Rep Power: 2
dhruvrock2000 is on a distinguished road
Send a message via MSN to dhruvrock2000
Default

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 ?
dhruvrock2000 is offline   Reply With Quote
Old 07-31-09, 01:03 AM   #35
Gold Member
 
nandini's Avatar
 
Join Date: Jun 2009
Location: Pune
Posts: 487
Rep Power: 3
nandini is a jewel in the roughnandini is a jewel in the roughnandini is a jewel in the rough
Default

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!!!
nandini is offline   Reply With Quote
Old 07-31-09, 01:17 AM   #36
saurav_k
Guest
 
Posts: n/a
Default

It is a very good book for JAVA beginners.
  Reply With Quote
Old 07-31-09, 06:37 AM   #37
newprouser
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by saurav_k View Post
@npu

If you are just beginning with java ... Throughly go through "JAVA - Complete Reference by Herbert Schildt" ...

I will post in details later ...
thanks , will look into that too

-----


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.
  Reply With Quote
Old 07-31-09, 07:07 AM   #38
Platinum Member
 
Join Date: Sep 2008
Posts: 3,140
Rep Power: 10
Punch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to all
Default

Quote:
Originally Posted by newprouser View Post
thanks , will look into that too

-----


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.

Did you set the CLASSPATH?

-F
Punch Farce is offline   Reply With Quote
Old 07-31-09, 07:18 AM   #39
newprouser
Guest
 
Posts: n/a
Default

I set the path to the bin folder using "path" command in DOS, if thats what you mean by classpath
  Reply With Quote
Old 07-31-09, 07:26 AM   #40
Platinum Member
 
Join Date: Sep 2008
Posts: 3,140
Rep Power: 10
Punch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to allPunch Farce is a name known to all
Default

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;
Punch Farce is offline   Reply With Quote
Reply

Tags
choices, java, learning, tools

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT +5.5. The time now is 07:28 AM.


India Broadband Forum