Solved

how to develope java servlets/jsp on linux fedora core 6

Posted on 2008-06-16
3
347 Views
Last Modified: 2013-12-02
hi all,
I'm newbie to java and I need to train myself on it on fedora core 6. tomcat is available on the machine but unfortunately I can't find the sample examples at webapps folder.

my question is can any one of the experts on this site help me and tell me how to install and configure it to work jsp with tomcat .
any help is appriciated and welcomed. I need you help fast also does there is a way to install it and the eclipse IDE using yum utility if the answer is no how can I do it manually because I downloaded this sdk 5 file and it doesn't work when installing

here is my try messages of errors . please help as soon as possible

[root@localhost ~]# cd /work/source/programs/books/opencms
[root@localhost opencms]# ./java_ee_sdk-5_05-linux-nojdk-ml.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
This application needs version 1.5 or higher of the Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime Environment is not installed,
you can download it from the following website:
    http://java.sun.com/j2se
Or if you already have the required Java(TM) 2 Runtime Environment
installed, try rerunning this application with the following usage:
    'java_ee_sdk-5_05-linux-nojdk-ml.bin' -javahome <Java(TM) installation directory>

best regards
mohr4000
0
Comment
Question by:mohr4000
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
MicheleMarcon earned 200 total points
Comment Utility
http://java.sun.com/products/jsp/html/jspbasics.fm.html

Tomcat already works with JSP.

Eclipse on Fedora:
http://sourceware.org/eclipse/

About the error you got: did you install Java SDK first?
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 300 total points
Comment Utility
What happens if you type

java -version

or

whereis java

If it does nto come up with anything you need to install Java as already suggested.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 300 total points
Comment Utility
BTW you can install java from here: http://java.sun.com/javase/downloads/index.jsp You need to choose "JDK 6 Update 6"
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now