In a DOS window (assuming windows environment) change directory to the location where your servlet is. Now assuming you have a Java Development Kit on your system (if not, download from www.java.sun.com ) set the classpath so that it can read wherever you are by typing 'set classpath="." '. Now you are ready to compile. This is done by typing the following:
javac nameOfServlet.java
If you 'dir' your current directory, you should now see a 'nameOfServlet.class' file in the directory. This is your compiled code. All java language code is compiled in this way, be it applets, servlets, applications, regular class files of your own...any completely java code.
This is a very simplistic description of the compilation process. There is a lot more detail to be learnt. Check either the www.java.sun.com website or I can recomment 'Java in a Nutshell' by O'Reilly press. Lot's of useful morsels in there. :-)
-----Original Message-----
From: Yassel Omar Izquierdo Souchay [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 12:35
To: [EMAIL PROTECTED]
Subject: Tool For compile
Hello I need a compiler for my Servlets.
Does anybody know some visual Tool to donwload?
thaks in advanced
Yassel
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
________________________________________________________________________
This email has been scanned for viruses by the MessageLabs SkyScan service.
GSI users - for further details, please contact the GSI Nerve Centre.
In case of problems, please call your organisations IT helpdesk.
