1, JDK is J2SE, JDK1.1.8 version is changed to the J2SE download address: http://java.sun.com/j2se/downloads.html 2, JRE is the Java runtime environment (JDK1.3 later contains JRE) You don't have to download 3 separately, set the environment variable After installing JDK, you want to configure the environment variable My Computer -> Properties -> Advanced -> Environment Variable Add the following environment variable (assuming your Java installation in c: /jdk1.3) java_home = C: /jdk1.3 classpath = .; c: /jdk1.3/lib/dt.jar; c: /jdk1.3/lib/tools.jar; (.; noble, because it represents the current path) PATH = C: /JDK1.3/bin newly open a DOS window, type Java and Javac test 4, simple test program code: ---------------------- ---------- Public Class Test {public static void main (string args []) {system.out.println ("Hello World!");}} ---------- --------------------------- Javac Test.java Java Test 5, Java, J2EE, XML Development Common Tools Introduction J2SDK Setup and Java API DOC J2SDK-1_4_0 for WIN J2SDK-1_4_0 for Linux J2SDK-1_4_0-DOC J2SDKEE-1.3-DOC can go to http://java.sun.com/J2ee/download.html to download 6, build tool Ant: Ant is a Java-based Cross-platform Build tools. The reason that Ant can cross the platform because Ant no longer needs you to write shell commands, Ant's profile is XML-based task tree, which allows you to run a variety of tasks, the task run is the implementation of a specific task interface Objects are completed. Http://jakarta.apache.org/ant
7. Development tools (IDE, integrated development environment) 1. Development tools preferred two 2, jbuilder - don't have to say 3, NetBeans (download address www.netbeans.org, free), Forte is Sun Ee and NetBeans Similar (estimated to be rewritten using NetBeans), but NetBeans (3.4 version) I think it is better to integrate with Tomcat and CVS, but the only shortcomings cannot develop EJB. Forte is ok, but can't give Out of our own writings (i.e., the methods after the way is the system, and our own way, FAINT) Other development tools Eclipse: Names the future of any language developed IDE integrator. Eclipse is the next-generation IDE development environment that replaces IBM Visual Age for Java (hereinafter referred to as Ivj), but its future goal is not only a IDE environment specializing in developing Java programs, but it can expand according to the eclipse architecture, it can expand To any language, it can even be a tool drawn. Currently, Eclipse has begun to provide a function plugin for C language development. It's more difficult to expensive, Eclipse is an open source project, anyone can download the source code of Eclipse, and develop its own function plugin on this basis. That is to say, as long as someone needs it, there will be a development plugin that is built in languages such as COBOL, Perl, Python, Eclipse. At the same time, you can extend the functionality of the existing plug-in by developing new plugins, such as adding Tomcat server plugins in an existing Java development environment. You can expand unlimited, and there is a unified look, operation, and system resource management, which is also the potential of Eclipse. Http://www.eclipse.org 8, professional XML editing tool XMLSPY: Support SOAP; support Oracle XML Schema extension; support MSXML4, etc., provide three XML document views: structure display and editing, original code view, support CSS, Preview of XSL. Supports the latest Schema standard, you can convert Different Schema versions of the SCHEMA document into a document that meets the latest Schema specification according to the SCHEMA Version XML documentation. Automatically generate XML Schema can directly access the database, providing a transition between database and XML to provide a user interface similar to Office XP Compatible provides a more convenient user interface customization method. The editor supports the text editing of the you get the text, based on FORM Data Enter, graphic element, etc., including a graphical XSLT generator, can generate a style document for Schema or DTD, and is finally applied to the corresponding XML document. You can go to http://www.xmlspy.com/download.html to download 9, framework cocoon: XML Framework Cocoon is a content publishing framework written in 100% pure Java. CoCoon allows you to provide web content with the latest technology (DOM, XML, XSL) of W3C. The new Cocoon mode fully separated document content, style, processing logic, allowing these three layers to be independently designed, created and managed, thereby reducing management overhead, strengthening the reuse of work, reducing development time.
Source: http://xml.apache.org/cocoon 9, Struts: JSP Framework Struts is a Framework for the open source of the web application using Java Servlet / JavaServer Pages technology. The Struts can develop an application architecture based on MODEL-View-Controller design mode. Struts has the following main features: • Contains a Controller Servlet to send the user's request to the corresponding Action object. • JSP free Tag library, and provides association support in the Controller Servlet to help developers create interactive form applications. • Provide a series of practical objects: XML processing, automatically handle JavaBeans property, international tips, and messages through Java Reflection APIs. Source: http://jakarta.apache.org/struts 10, Turbine: Servlet Framework Turbine is a servlet-based Framework, making experienced Java developers to build web applications. With Turbine, you can integrate existing template techniques (such as Velocity, Webmacro, Java Server Pages (JSP), FreeMarker, Cocoon by creating Screen of Templates using specific services. Source: http://jakarta.apache.org/turbine 11, Demo Java Pet Store: J2EE Application Sample Java PET Store is a J2EE enterprise application sample for Java Software Blueprint Planning. It demonstrates how to apply the power of J2EE platform to build a flexible, stretchable cross-platform business application. You can get the latest information and learning materials from java.sun.com/blueprints/enterprise/, the latest version is based on J2EE 1.3 1.3_01. Source: http://java.sun.com/blueprints/enterprise/12, Database PointBase: A new army into the enterprise database market. PointBase is the first 100% pure Java database that can be used for any platform for any Java 2 Standard Edition Virtual Machine (JVM). Source: http://www.pointbase.com/13, J2EE Server 1, J2SDKee1.3.1 Referrence Implement (J2EE Reference Implementation), a good learning J2EE tool, remember, this is a learning tool, Not an enterprise development tool, because of its efficiency, security, etc., so you can't use it to do projects or products.