I've been reading the threads but I have a few question I would like to ask: 1) I've just checked http://jakarta.apache.org to download Tomcat, but I came across of two links: Binary and Source What's the difference?! 2) Why do I have to create CLASSPATH and all these objects? 3) I'm using Windows XP, is Tomcat suitable? 4) What's the difference between EXE and ZIP Tomcat? Isn't Zip is just a file to reduce the size of Tomcat?! 5) As you can tell, I know nothing about Tomcat. I'm going to use XML as my database and Java as the main programming language for online hotel booking. I'm downloading soon Tomcat and Struts, as adviced by my teacher. I want to keep my project as simple as possible. Please can someone guide me to tackle this project, it's my first time I'm faced with such a task. I'm not that good in programming, but I'm really interested and keen to learn on how these sort of things happen behind the scene. Thank you & look forward to hearing from you. Rami
1) Binary is a compiled program, and Source is the source-code of that program, but not compiled. So for you, you want the binary.
2) You don't. What objects? Are you talking "why does java have only objects, and what's all this classpath business"? If that's your question, then take it to "Java in General - Beginner's " - it's kind of a broad topic to discuss.
3) Yes, Tomcat runs on XP
4)EXE is a nice installer program that sets up Tomcat environment variables, system services, etc. With the ZIP file, you have to unzip the program directory and set up these things yourself. So go with the EXE
Any reason for XML? Is it required by your teacher? If not, I'd recommend (highly!!) using a database.
Joined: Jan 25, 2004
I'm using XML because I know and studied it. Also I need a bit of change from Access. I've downloaded Tomcat , but then it asks me to select a path of the JVM (Java Virtual Machine) on my system. I understood that I need to download something else, so I visited this site http://java.sun.com/j2ee/1.4/download-dr.html Which one I'm supposed to choose keeping in mind I downloaded "jakarta-tomcat-5.0.18"? By the way, I visited the site "http://jakarta.apache.org/tomcat/tomcat-5.0-doc/" but I found it really hard to understand it Thank you. Rami
Joined: Jan 25, 2004
I've browsed the Internet and decided to download this "J2EE(TM) SDK 1.4 Developer Release, English (j2eesdk-1_4-dr-windows-eval.exe, 116.92 MB" It's going to take 6 hours to download!!! I hope I'm doing the right thing.
You do NOT need the J2EE package to work with Tomcat. Just the SDK - J2EE is loaded with stuff you won't need and will just cause confusion since it also has a copy of Tomcat that is typically several versions behind the latest. Bill
I've tried downloading both SDK (also tried JDK), but whenever I open the file after downloading it, I get an error message saying the file isn't a valid Wind32 application. The file is j2sdk-1_4_2_02-windows-i586-p-iftw.exe and got it from this site http://java.sun.com/products/archive/.
Another beginner question: I downloaded and unzipped jakarta-tomcat-5.0.19.zip to c:\jakarta-tomcat-5.0.19. I already had j2se installed and working. I doubleclick c:\jakarta-tomcat-5.0.19\jakarta-tomcat-5.0.19.exe and get "Java Virtual Machine not found" error. Additional information: * I tried running jakarta-tomcat-5.0.19.exe on the assumption it completed the install. I also tried running startup.bat incase that helped - it didn't (the cmd window just flashed and closed immediately). * %path% set to include C:\j2sdk1.4.2_03\bin * %java_home% set to C:\j2sdk1.4.2_03 * looking to install Tomcat standalone (w/o Apache) * installed j2se without j2re (usually C:\Program Files\Java\j2re1.4.2_03) * so far just been able to unzip .../bin/jakarta-tomcat-5.0.19.zip to C:\jakarta-tomcat-5.0.19 Any help? [ March 15, 2004: Message edited by: emm raha ]