Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML

[an error occurred while processing this directive]

Java Notes

Java Development Kit (JDK)

[an error occurred while processing this directive]

The most popular Java compiler is Sun's Software Development Kit (JDK) (aka the Software Development Kit (SDK)). It's free, and does a good job. The only problem is that the compiler is only a compiler - there is no editor and no graphical user interface. It is typically used in one of the following ways.

  • From the DOS command window with the javac command.
  • With a program editor (eg, TextPad) which has an interface to the compiler.
  • With an IDE (Integrated Development Environment). See IDEs.

Free Download

Download only the J2SE JDK from java.sun.com. There are three editions - get the "standard edition". Sun has major problems getting the names right, so this is still called Java 2 some places altho it is Java 5 in others.

  • J2SE - Java 2 Standard Edition - You want this.
  • Not J2ME - Java 2 Micro Edition - This is for phones, PDAs, etc.
  • Not J2EE - Java 2 Enterprise Edition - You don't want this unless you're doing Java client server programming, and even then, you probably don't need it.
  • [an error occurred while processing this directive] Not JRE - Java Runtime Environment - This will automatically be installed when you install the JDK.

If you're a Macintosh user, it might already be installed on your system. Look at Java for Mac OS X.

Installation

Installing the JDK is easy (at least in Windows). Just follow the prompts.

CLASSPATH

If you're using commands from the DOS command window, you will probably have to set CLASSPATH. See CLASSPATH.

JVM runtime -enableassertions (-ea) option

CommandEffect
java MyProgAssert statements are removed by class loader.
java -enableassertions MyProgAssert statements are executed.
java -ea MyProgShort form for allowing assertions.

It's also possible to enable/disable assertion checking at runtime for individual classes or for library routines, but that level of control is not useful for most purposes.

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (
post your own) View All Comments Latest 10 Comments:
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.