tags:

views:

298

answers:

9

Hello,

I googled,I checked wikipedia.None of them helped me to find an official java compiler by Sun.

By "official" I mean for example "C# Express" by Microsoft.I want that type of compiler by Sun.

My question is: Where do I get it?

I'm very sorry for my stupid question,I just get lost when I open java dot com.

Thanks in advance for your answers.

+12  A: 

Official java compiler is bin/javac that comes with Sun's JDK.

http://java.sun.com/javase/downloads/index.jsp (see Java SE Development Kit). It contains the compiler in question.

alamar
Where do I get it?
John
I've added a link.
alamar
+3  A: 

The javac compiler comes as part of the JDK which you can download here.

You probably want the Java SE Development Kit (fourth one down at the time of writing).

Dave Webb
+6  A: 

I think, based on your mention of Visual C# Express, that what you're looking for is an IDE (integrated development environment), not a compiler as such. Go to http://java.sun.com/javase/downloads/ and get the NetBeans bundle.

Chris Jester-Young
+2  A: 

http://java.sun.com

Lucas B
+16  A: 

C# Express is an IDE (Integrated Development Environment), not just a compiler.

The JDK ships with javac which is the equivalent of csc - they're the compilers.

The nearest equivalent to C# Express is probably Netbeans, although there are other IDEs available for Java, such as Eclipse (free) and IntelliJ IDEA (not free).

Jon Skeet
The easiest is probably Eclipse as it works with the JRE which can be automatically installed by java.com. Most others need a separate JDK installation.But then, if you get lost at java.com then Eclipse is probably a bit overwhelming. I would suggest having a look at The Java Tutorial from Sun. http://java.sun.com/docs/books/tutorial/getStarted/index.html
Thorbjørn Ravn Andersen
Netbeans 6.5.1 bundled with JDK6u13 can be downloaded from: http://java.sun.com/javase/downloads/netbeans.html
Ally Sutherland
The compiler bundled with Eclipse is from IBM's JDK, so you may not realise you are not using Sun's "official" compiler
Peter Lawrey
+2  A: 

Get official compiler/SDK here: http://java.sun.com/javase/downloads/index.jsp

NinethSense
+3  A: 

The "official" compiler is that which ships with the Sun Microsystems version of the Java Development Kit.

Since the Java language and platform are fully specified, there are various other implementations of the Java environment; for example, both Oracle and IBM sell products which incorporate their own Java Runtime Environments, etc.

You mentioned "C# Express" in your question, by which I assume you meant the version of Visual Studio Express that supports C#; Visual Studio is an integrated development environment, which provides source code editing, refactoring, and debugging facilities, and interacts with the compiler and build processes on your behalf. If you're looking for an IDE for Java, then you might want to take a look at NetBeans (which is sponsored by Sun) or Eclipse.

Rob
+2  A: 

I guess the equivalent to "C# Express" would be JDK 6u13 with Netbean IDE bundle.

If you don not require an IDE then you can download the standalone JDK.

Ally Sutherland
A: 

There is no official compiler in Java as such. Java is a set of specification driven by community. You can call it just a piece of document. What sun does is that it provides a reference implementation to this document. You can download from the links as given above. You can install Java as mentioned in http://oyejava.com/tiki-index.php?page=Installing+Java

Also you might want to use one of IDE like eclipse or Netbeans for development. For basics of eclipse see at http://oyejava.com/tiki-index.php?page=Eclipse+Download