Java Compiler

Reply

Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Java Compiler

 
0
  #1
Oct 9th, 2005
Hi guys....I am planning to learn JAVA.....i don't know anything about it...just into C/C++.....don't know what compiler i should use....

suggest me some sites where i can download the compiler(Good One Please) for JAVA
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: Java Compiler

 
0
  #2
Oct 9th, 2005
Hi everyone,

The best compiler you can use is the java sdk 5.0 update 5 from sun.
Here is the download link to it

https://jsecom16k.sun.com/ECom/EComA...02B612E6EE1EAF

Here is an ide that you can use if you are on windows platform. Its a simple script ide that has no gui builder but you will learn more

http://www.it.bton.ac.uk/staff/je/javide19.zip

Yours Sincerely

Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 6
Reputation: Andrew Minus is an unknown quantity at this point 
Solved Threads: 0
Andrew Minus Andrew Minus is offline Offline
Newbie Poster

Re: Java Compiler

 
0
  #3
Oct 9th, 2005
Hi,
i think u should try to get from java.sun.com Have fun >>!!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java Compiler

 
0
  #4
Oct 9th, 2005
Indeed. Get the JDK (latest version is 5.0_04 (compiler version 1.5.0_04) from http://java.sun.com and use your favourite programmer's editor to create the code.
Don't touch those fancy IDEs until you understand what they're doing and can do the same by hand (albeit MAYBE slower).

VI, jEdit, Emacs, even Notepad.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: Java Compiler

 
0
  #5
Nov 17th, 2005
These are the two links i found most suitable...which one should i download...and i couldn't find anything in the first link provided by you (freesoft)...thanx for the second link
http://java.sun.com/j2se/1.5.0/download.jsp
http://java.sun.com/j2se/1.4.2/download.html
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java Compiler

 
0
  #6
Nov 18th, 2005
1.5 (5.0) is the latest version and likely the one you should get (unless you have a clear business need to use only an older version).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: Java Compiler

 
0
  #7
Nov 18th, 2005
Downloaded the latest version...tried this simple program in the IDE mentioned by freesoft...i am total newbie in java..doesn't even know the complete meaning of this code...just trying to understand in terms of c++...
  1. import java.util.*;
  2. public class hellodate
  3. {
  4. public static void main(string[] args)
  5. {
  6. system.out.println("hello it's");
  7. system.out.println(new date());
  8. }
  9. }
But it gave errors..something like this
cannot find symbol
symbol:class string
cannot find symbol
symbol:class date
i guess some classes are missing...maybe i am missing some setting in the compiler options...i made these settings....

compiler: C:\Program Files\Java\jdk1.5.0_05\bin\javac.exe
Runtime Library: C:\Program Files\Java\jre1.5.0_04\lib\rt.jar
Applet Viewer: C:\Program Files\Java\jdk1.5.0_05\bin\appletviewer.exe
Didn't know what to add in these two
Class path:
Options:
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java Compiler

 
1
  #8
Nov 18th, 2005
Java is case sensitive, keep that in mind.

Standard convention is to use CamelCase for everything except constants.
ClassNames start with a capital letter, and have every First Character of Every Word capitalised.
method and attribute names start with a lowercase letter.
CONSTANTS are in all uppercase.

This isn't enforced by the compiler but is generally accepted. The number of people who don't do it is very small and they're disliked by everyone else.

Classpath should contain the current directory (".") as the very least. You can add downloaded libraries you use a lot, though adding those dynamically when compiling and running is often preferred.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 598
Reputation: SpS is on a distinguished road 
Solved Threads: 32
SpS's Avatar
SpS SpS is offline Offline
Posting Pro

Re: Java Compiler

 
0
  #9
Nov 18th, 2005
Thanx...problem was in case...1 more question...
I came across this ebook....thinking in Java 2nd Edition by bruce eckel...is it fine for beginners or is it advanced...if it is advanced...plz give me some links of good java tutorial...or some other ebook
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Java Compiler

 
0
  #10
Nov 18th, 2005
It's definitely a beginner's book. Many people like it, I don't
Sun has excellent tutorials on their own site (if sometimes a bit dated) which are in fact the complete text and illustrations of some of their printed books which are classics.

I recommend you get either "Head First Java" (Kathy Sierra and Bert Bates, O'Reilly, 2005) or "Agile Java" (Jeff Langr, Prentice Hall, 2005).
Both excellent books to learn from.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC